[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]
st: Arguments in the -ml-
Dear all,
When estimating a LogL function with -ml-, e.g.
program test
version 9.1
args lnf xb theta1
qui replace `lnf' = ln(...) if $ML_y1 == 1
qui replace `lnf' = ln(...) if $ML_y1 == 2
.
.
.
end
ml model lf test (y= ) / theta1
ml maximize
How does Stata know that -xb- corresponds to the first equation and
-theta1- to the second?
Should the order that the arguments appear in -args- be the same as the
order they appear in the LogL?
Thank you
Manos
*
* 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/