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

st: estat summarize after nlsur in Stata 11

To   "" <>
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

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:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index