Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: prgen question after logit


From   S J <[email protected]>
To   [email protected]
Subject   st: prgen question after logit
Date   Mon, 9 Apr 2007 12:53:32 -0700 (PDT)

Dear all,

I have the following question:

I estimate a model of the form

xi: logit y x1 i.x2

Then I attempt to do the below:
prvalue, x(x2=0) rest(mean)
prvalue, x(x2=1) rest(mean)

But I get an error message: 
x1 not rhs variable
invalid syntax
r(198);

Any ideas? Is it that I can't use the xi route for
specifying categorical rhs's and then use prvalue?

Thanks for your advice.

SJ



 
____________________________________________________________________________________
Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097
*
*   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/



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