I managed to get around it using the variables() option in nlsur, after all.
_________________________
Jorge Eduardo Pérez Pérez
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Brian P. Poi
Sent: jueves, 13 de agosto de 2009 02:42 p.m.
To: [email protected]
Subject: Re: st: estat summarize after nlsur in Stata 11
On Wed, 12 Aug 2009, PEREZ PEREZ JORGE EDUARDO wrote:
> 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.
This is a bug. We will fix this in the next adofile update so that -estat
summarize- works correctly after -nlsur-.
-- Brian Poi
-- [email protected]
*
* 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/
*
* 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/