Statalist The Stata Listserver


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

st: how to handle missing observations in a regression model


From   "Simo Hansen" <[email protected]>
To   <[email protected]>
Subject   st: how to handle missing observations in a regression model
Date   Tue, 5 Sep 2006 11:32:04 +0300

Dear All;
I am using moter's years of schooling and father's years of schooling as
explanatory variables in my regression model. I also creata a dummy
indicators for whether mother's and father's years of schooling are missing,
respectively:
gen misdaded=dadedec==.
gen mismoted=moteduc==.
When I run the following regression:
reg childedyrs dadeduc moteduc misdaded mismoted, 
Stata drops two dummy indicators for whether parents' schooling is missing.
Do you have any suggestion on how I can properly control for whether
mother's and father's years of schooling are missing in my regression model.

Thank you very much for kind help.

Simo 

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