Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: estat summarize after nlsur in Stata 11


From   PEREZ PEREZ JORGE EDUARDO <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: estat summarize after nlsur in Stata 11
Date   Wed, 12 Aug 2009 02:28:53 +0000

Hi all

I just upgraded to Stata 11 and I'm having a problem. I ran the following command under version 10 using version control

global com ""
forvalues i=1(1)$NM {
                global com "$com (share`i' = precio`i'*{gamma`i'}/gastototal  + {beta`i'} * (1 - ($subs)/gastototal) )"
}
nlsur $com [pw=factor], ifgnls
estat sum

But stat summarize does not work: It issues the following error
. estat sum
variable _NONE not found
r(111);

This did not happen in Stata 10. I traced the command and the issue seems to be related with factor variables:

fvexpand share1 share2 share3 share4 share5 share6 _NONE if e(sample)
variable _NONE not found

I noticed that now there's a separate ado to do this operation (nlsur_estat.ado).

Does anyone know how to fix this?

Thank you !



_________________________
Jorge Eduardo Pérez Pérez


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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