Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Syntax problems with maximum likelihood (method lf)


From   "Katia Bobulova" <katia.bobulova@googlemail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Syntax problems with maximum likelihood (method lf)
Date   Wed, 29 Oct 2008 13:29:51 +0000

Dear all,

I am using the likelihood function lf. I have a problem in the end. I
have written the program and I don't have any problem.

I typed:
program define myprogram
version10.1
args lnf a b c d
.
.
.
end

After this I tiped:

ml model lf myprogram (a:) (b:) (c:) (d:)

but Stata tells me that is an invalid syntax. Any suggestion?

Thanks

Katia
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



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