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

st: -ml- program: v. 4 to v. 8.1 conversion


From   "Stephen P. Jenkins" <[email protected]>
To   [email protected]
Subject   st: -ml- program: v. 4 to v. 8.1 conversion
Date   Mon, 6 Oct 2003 15:33:56 +0100 (GMT Daylight Time)

I'm thinking about updating my -smfit- and -dagumfit- programs written 
in Stata version 4 (sic!) to version 8.1, but am unclear about to 
convert one key aspect of the -ml- program. These programs, fitting 
parametric functional forms to distributions of data, are a little 
unusual because they don't have a dependent variable with explanatory 
variables in the way a regression model usually does, and fitting in 
version 4 involved a particular "depv(000)" statement, thus:
~~~~~ado code extract ~~~~~~~~~~~~~~~~~~~
ml begin
ml func sm_ll
ml method deriv0
eq p1 :          
eq p2 :          
eq p3 :          
ml model c = p1 p2 p3, depv(000) from(c0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
What is the version 8.1 equivalent of the "trick" used here, please?
The "depv" option no longer exists.
[Note: the original programs simply fitted 3 parameter functional 
forms. In the update, I would also like to make each parameter 
optionally a function of covariates. The original programs are 
available using -ssc-.]

TIA
Stephen
----------------------
Professor Stephen P. Jenkins <[email protected]>
Institute for Social and Economic Research (ISER)
University of Essex, Colchester, CO4 3SQ, UK
Tel: +44 (0)1206 873374. Fax: +44 (0)1206 873151.
http://www.iser.essex.ac.uk

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