Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: variable not found/bootstrapping

From   "Thomas W BRUNDAGE" <[email protected]>
To   <[email protected]>, <[email protected]>
Subject   Re: st: variable not found/bootstrapping
Date   Fri, 13 Aug 2004 13:51:18 -0700

Heather -

We ran into the same problem here in Stata 7.  Turned out the we were spelling the variable name wrong - We typed it in with a Capital letter in the name, and it is lower case in the file.


thomas brundage
Department of Human  Services
Oregon Public Health
800 NE Oregon Street, #827
Portland OR 97232

phone: 503.731.3448
FAX:    503.872.5398

>>> [email protected] 8/13/2004 1:47:00 PM >>>
Dear Fellow Listers -

I'm having trouble debugging a program. The program used to work but now 
something's gone wrong. (It's been about a year since I worked with this 
program, and I think it was in Stata 7 so I've set the version in my 
program, since I now use Stata 8.2.)

I keep getting "variable X not found" errors, even though when I describe 
or tabulate the variable, it's definitely there and without missing values.
In my program, I do have some
drop _all with set obs
commands so I can make some predictions. I also have
estimates drop _all
at the end of the program  (before the -post- command), but I didn't think 
these would cause the variables to be dropped, only the observations, 
right? Also, the program runs fine without bootstrapping, so I thought it 
must be related to bootstrap.

I won't burden the list with the entire program unless that's necessary to 
help me debug this. Anyone have a similar problem before?


*   For searches and help try:

*   For searches and help try:

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