It is not clear how you are trying to "select" variables using -generate-. The -generate- command creates a new variable, and you have to tell it what the new variable is equal to (hence "=exp required").
If you tell us:
1) what you typed
2) what you were trying to achieve
we may be able to help.
David
-----Original Message-----
From: Jumin Kim [mailto:[email protected]]
Sent: 05 July 2005 15:40
To: [email protected]
Subject: st: =exp required
I'm *extremely* new to Stata. I'm trying to select certain variables
I need from a large dataset, mostly using the 'generate' command. I'm
getting this error message:
=exp required
r(100)
I have used a similar set of commands for other datasets and haven't
gotten this message, so I'm a little lost. Any suggestion would be
greatly appreciated. Thank you.
jumin
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/