I think it is probably because "arg1" and "arg2" in the "from()"
option are not numbers. If "arg1" and "arg2" are pre-calculated, you
may just give the actual values instead of "arg1" and "arg2" in the
option. And another small thing that may not matter is that Stata
needs forward slashes.
Le
On 12/2/06, Rachel <[email protected]> wrote:
I'm trying to change the starting values in heckprob. I've tried the
from( ) option, but I can't tell exactly what argument Stata is
looking for.
It looks like it's looking for the input arguments for the ml model
function. According to the m file, those are the vectors xb1, xb2 and
the number xb3 (rho). I tried to use the option
from(xb1=arg1\xb2=arg2\xb3=0.5)
where arg1 and arg2 are the x1*b1 and x*b2 that I've already
calculated based on the starting values I want, and 0.5 is my starting
value of rho.
But stata says it expects a number. Is it looking for the likelihood
function for the first argument?
If anyone can tell me what starting values stata is looking for, I'd
much appreciate it.
Thanks very much,
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/
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Le Wang, Ph.D.
Minnesota Population Center
University of Minnesota
(o) 612-624-5818
*
* 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/