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

Re: st: Estimating parameters using maximum likelihood


From   "Erik �. S�rensen" <[email protected]>
To   [email protected]
Subject   Re: st: Estimating parameters using maximum likelihood
Date   Sat, 4 Jan 2003 15:40:45 -0500

On l�rdag, jan 4, 2003, at 12:32 America/Montreal, [email protected] wrote:


Does anyone know how to get Stata to estimate, using max likelihood,
the parameters of a distribution using a sample from that
distribution?  I.e. NOT to regress a dependent variable on a set of
indep. variables, but simply to estimate parameters.

The problem is that the ml model in Stata seems to require a regression
equation to be input as part of the maximising program and the model
instruction.
Even though the Stata documentation calls the 'theta's' "equations", does not necessarily imply that you need to have data in them. You can have a set of "equations" that only consists of constant terms: These are simply the parameters of your distribution. The "equations" of Stata's ml procedure does not have to correspond to equations in the mathematical sense: Add one equation (in the Stata sense) per parameter, use the /sigma1 notation (see "notes on syntax" in the online help) to define a parameter `sigma1' you can use in the likelihood expression.

best regards,
Erik


--
Erik �. S�rensen, <http://www.geocities.com/erik_oiolf/>.
phd student (economics), Norwegian School of Economics.
currently visiting Queen's University, Kingston, Ontario.

*
* 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