Statalist


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

st: xtlogit and starting values


From   "E. Michael Foster" <[email protected]>
To   [email protected]
Subject   st: xtlogit and starting values
Date   Tue, 27 May 2008 16:22:02 -0400

stata seems to be ignoring the starting values I'm trying to pass it--I'm sure I'm doing something dumb--can anyone spot my error?

sysuse auto
sort mpg
gen mpgg=group(10) // make up a fake nesting

xi: logit foreign weight length i.mpgg
matrix b=e(b)
matrix b=b[1,1..2]' // doesn't seem to matter

xtlogit foreign weight length , i(mpgg) fe trace
est store nostart

matrix list b
xtlogit foreign weight length , i(mpgg) fe from(b, copy ) trace
est store mikestart

est table nostart mikestart , se bfmt(%8.6f)



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