Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: prgen option quadratic term


From   "Meulemann Max" <mmeulemann@ethz.ch>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: prgen option quadratic term
Date   Tue, 6 Nov 2012 15:07:05 +0000

I would like to calculate predicted probabilities in an ordinal model, ologit or oprobit. I am using a continous quadratic term, which makes calculating the predicted probablities more cumbesome. I am using stata 12

I found an old entry in the statalist archive that  proposed oprobpr which does work. I was wondering if another package has been written since 2005.

oprobpr does work, but some of it its features are a bit irritating like how it saves the predicted probailites in another dataset and so on. The nicest way would be to change prgen and its familiar option in a way that the same feature that works for oprobpr would work for prgen.

the level options allows oproppr to vary an otherwise fixed covariate with a squared term, which is not possible for the x option of prgen.

Best regards

Max

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index