![]() |
From | "朱琦" <cs_thomaszhu@hotmail.com> |
To | "statalist" <statalist@hsphsun2.harvard.edu> |
Subject | RE: Re: st: AW: Question about Heckman Test |
Date | Wed, 6 May 2009 16:43:35 +0800 |
Dear STATA List! When I did the probit in Heckman test, the "norm" function did not work in my STATA. Can someone let me know how the norm function as shown below will work? probit s age student educat goodhealth predict p1, xb gen phi=(1/sqrt(2*_pi))*exp(-(p1^2/2)) gen capphi=norm(p1) gen invmills=phi/capphi Thank you! * * 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/
© Copyright 1996–2025 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |