Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: objective function for amoeba


From   "Oleksandr Shepotylo" <[email protected]>
To   <[email protected]>
Subject   st: objective function for amoeba
Date   Tue, 20 Jul 2004 10:51:49 -0400

Hi,

I just started to learn programming in Stata and struggle with this:

I would like to maximize

y=(Ax+B)'(Ax+B) where x=(rho**2, rho, sigma) is a vector 3x1.  A (3x3) and
B(3x1) are known.

I installed amoeba.ado that allows to do this but there is no help on how
objective function looks.
I guess that I need to write a program that will take x from amoeba and
return y. Can anyone suggest a code that will do this.

Thank you,

Oleksandr Shepotylo.

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index