Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: R: variable not found?


From   William Buchanan <[email protected]>
To   [email protected]
Subject   Re: st: R: variable not found?
Date   Mon, 24 Oct 2011 10:48:52 -0700

Hi Paul,

Maybe you could try reading the data directly into Stata instead of copying and pasting things?  Also, did you check to make sure that all of your variables are stored correctly and not being interpreted as string variables?  I would try reading the data directly into Stata just to make sure there weren't any issues related to copying and pasting the data - although it may be unlikely that it was the problem it's still a good habit to read the data directly into Stata.

- Billy


On Oct 24, 2011, at 10:42 AM, Nick Cox wrote:

> If you think that, send the dataset and your .do file to Stata tech support. 
> 
> (If you help your wife with homework, who gets what grade? No, don't answer that.) 
> 
> Nick 
> [email protected] 
> 
> Paul Burkander
> 
> In my attempt at brevity, I didn't note that the variables are turned
> to lowercase when pasted, and we were running the command with the
> correct case.  And the error is actually "regressor group not found"
> My apologies for the erroneous description.
> 
> This seems like a bug.  It's replicated in stata 12.
> 
> On Mon, Oct 24, 2011 at 6:01 AM, Nick Cox <[email protected]> wrote:
> 
>> Whatever the problem is, that will not solve it.
>> 
>> -format- changes display format only; it doesn't otherwise change the status of any variable, especially its kind, type or storage characteristics.
>> 
>> Nick
>> [email protected]
>> 
>> Christian Otchia
>> 
>> You should format the variable after pasting in Stata 11.
>> 
>> Try this:
>> 
>> format %6.1g GROUP
>> 
>> test GROUP
>> 
>> 
>> Paul Burkander
>> 
>>> I'm trying to help my wife do some stata homework, and we've run into
>>> some odd behavior.
>>> 
>>> Below is a sample of the data.  She's supposed to do a manova of
>>> MOTIV,ASPIRE,ALGEBRA,GEOM, on GROUP , then mvreg, then test the
>>> restriction that the coefficients on GROUP are zero in all four
>>> equations.  After doing the manova and mvreg, we typed test GROUP, but
>>> receive the error message "GROUP not found."
>>> 
>>> Any ideas?  Perhaps we're doing something dumb?  She entered the data
>>> by pasting into the data editor.  We're using Stata 11 SE and I just
>>> did a full update.
>>> 
>>> Thanks, Paul
>>> 
>>> MOTIV,ASPIRE,ALGEBRA,GEOM,GROUP
>>> 74.31,78.57,68.59,78.57,1
>>> 27.15,61.91,37.15,71.43,1
>>> 64.31,90.48,67.16,83.34,1
>>> 40.01,64.29,48.59,59.53,1
>>> 35.73,59.53,31.44,54.76,1
>>> 55.73,83.34,60.02,85.72,0
>>> 52.87,64.29,62.88,69.05,0
>>> 58.59,71.43,64.31,80.95,0
>> 
> 
> *
> *   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/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index