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]
st: prgen after probit: "compression error"
From
Deepak Hegde <[email protected]>
To
[email protected]
Subject
st: prgen after probit: "compression error"
Date
Tue, 14 Jun 2011 21:59:30 -0400
Hi,
I'm getting a "conformability error" in response to a prgen command
after a probit.
My probit is of the form: probit y x1 x2 x3 dummyvar1-dummyvar186
and then prgen x1, gen(prprobs)
The prgen command goes through alright if I estimate a specification
without the dummyvars (binay variables) and just x1,x2,x3 (continuous
variables) on the RHS. Probit automatically drops some of these dummy
variables due to multicollinearity and because outcomes are predicted
perfectly for certain values of the variables (as expected in my case)
--- I wonder if the "compression error" is somehow related to this. I
get exactly the same error with the "prvalue" command after the probit
with the dummyvars.
I'd greatly appreciate it if any of you are aware of a convenient way
to fix this problem. I did run prgen with trace on, but remain
unenlightened.
I'm on Stata11 and with what I believe is the correct version of
spost. Thank you very much.
--- Deepak
*
* 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/