Statalist The Stata Listserver


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

st: Probit Inverse Mills Ratio


From   JEFFREY ROSEN <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: Probit Inverse Mills Ratio
Date   Thu, 27 Jul 2006 09:45:04 -0400

I am correcting a censoring problem in a Linear Expenditure System (LES). I need to create an inverse mills ratio from a probit regression. Does anyone know of an easy way to create this? Right now I'm running:

probit meat p1 p2 p3 m h1 c1 c2 c3 c4 c5, nocoef
predict fitmeat, xb
gen c6 = meat * (normalden(fitmeat)/normal(fitmeat)) + ///
	(1 - meat) * (normalden(fitmeat) / (1 - normal(fitmeat)))

Thanks,

Jeff Rosen
Graduate Student
The Ohio State University


*
*   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