Statalist The Stata Listserver


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

Re: st: Initial values for ml model


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: Initial values for ml model
Date   Fri, 8 Dec 2006 21:11:35 +0000 (GMT)

Rachel
You can find how many variables to expect and how they are called by
estimating the model without specifying the initial values and than
look at e(b) (-matrix list e(b)-). You'll see that the parameter vector
of -heckprob- consists of multiple equations. In response to a number
of your previous questions I've posted three times an example that
shows how to create the correct matrix and column and equation names
for initial values. Can you get that example to work?  
Hope this helps,
Maarten

--- Rachel <[email protected]> wrote:

> Whenever I try to generate an initial (row) vector for the ml
> command,Stata gives me an error that says that there's an extra
> element in the vector.  On the other hand, it accepts the same
> initial values as a list.
> 
> I'm wondering if the issue is the column names.  I'm generating the
> initial vector by putting together the results (from e(b)) of various
> regression commands.
> 
> Does Stata pay attention to the column names of initial value vectors
> in ml?  If so, is there a way to get rid of the column names
> altogether?  (The manual only shows how to specify them one by one.)
> 
> Also, is there a way to find out the length of the necessary initial
> value vector for a given ml model command?
> 
> Thanks,
> Rachel
> *
> *   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/
> 


-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------

Send instant messages to your online friends http://uk.messenger.yahoo.com 
*
*   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