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]
Re: st: Grouping income variables- RECODE COMMAND
From
Maarten Buis <[email protected]>
To
[email protected]
Subject
Re: st: Grouping income variables- RECODE COMMAND
Date
Tue, 4 Feb 2014 15:46:31 +0100
On Tue, Feb 4, 2014 at 3:19 PM, Antonio Rodriguez Andres wrote:
> Thank you for detailed response. One of the reviewers was concerned about
> the missing values in our income
> Variable. The variable dprt is the depression score across individuals
> taking values from 0 to 24. How can I observe that the missingnes
> Is independent of the depression score?
Say, union in my example is wage in yours and grade in my example is
depression in yours.
*------------------ begin example ------------------
sysuse nlsw88, clear
gen byte miss = missing(union)
logit miss grade
predict pr
logit mis i.grade
testparm i.grade
collapse (mean) miss pr, by(grade)
twoway line miss pr grade
*------------------- end example -------------------
* (For more on examples I sent to the Statalist see:
* http://www.maartenbuis.nl/example_faq )
Hope this helps,
Maarten
---------------------------------
Maarten L. Buis
WZB
Reichpietschufer 50
10785 Berlin
Germany
http://www.maartenbuis.nl
---------------------------------
*
* 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/