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]
Antwort: RE: Antwort: st: 'mills' output is missing for heckman regression
From
Richard Ochmann <[email protected]>
To
[email protected]
Subject
Antwort: RE: Antwort: st: 'mills' output is missing for heckman regression
Date
Fri, 14 May 2010 12:10:36 +0200
Nick is right, I was too sloppy here.
The output suggests that mills200412[1] is missing, which is why Dpr200412
[1] turns out to be missing as well, while selpr200412[1] is .30568352.
I cannot see the reason for this alone from the code given.
best, rich
> . predict selpr200412, psel
> (32284 missing values generated)
>
> . gen Dpr200412=mills200412*(mills200412+selpr200412)
> (159277 missing values generated)
>
> . display Dpr200412
> .
>
> . display selpr200412
> .30568352
>
> . display mills200412
[email protected] schrieb am 14.05.2010 11:54:18:
> Not so simple:
>
> 1. -di varname- is perfectly legal and is equivalent to -di varname[1]-.
>
>
> 2. Clearly that is not equivalent to e.g. -list varname-.
>
> 3. But if a constant were being held in a variable, -di varname- is
> sufficient to see what it is.
>
> 4. That is not especially good in terms of either style or efficiency,
> but that is another story.
>
> Nick
> [email protected]
>
> Richard Ochmann
> Sent: 14 May 2010 09:21
> To: [email protected]
> Subject: Antwort: st: 'mills' output is missing for heckman regression
>
> all I can see here is that at your 'problem 2' you try to -display-
> variables which won't work.
>
> *
> * 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/
*
* 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/