Is n a variable? If so, do you need "`t'"?
Tony
Peter A. Lachenbruch
Department of Public Health
Oregon State University
Corvallis, OR 97330
Phone: 541-737-3832
FAX: 541-737-4001
-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of William
Bishop
Sent: Monday, February 11, 2008 1:27 PM
To: statalist@hsphsun2.harvard.edu
Subject: st: predict with if and option
I would like to run predict with the IF condition after a regression,
using the stdp option at the same time but am getting the error
"option stdp not allowed"
predict temp if id=="`i'"&n==`t', stdp
seems pretty basic. what am I missing? maybe I misunderstood the
documentation on predict, but I thought this was doable.
William
*
* 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/