Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Arguments in the -ml-


From   "Mentzakis, Emmanouil" <[email protected]>
To   <[email protected]>
Subject   st: Arguments in the -ml-
Date   Thu, 31 Jan 2008 21:01:46 -0000

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/



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