I want to run a simple regression with one variable that is available only for female.
I have four independent variables: age, weight, height, menstrual_cycle. The dependent variable is the patient's health (measured by the times of visiting clinic).
Approach 1:
As the variable menstrual_cycle is available for female only, I delete observations for male respondent.
keep if (female == 1)
reg health age weight height menstrual_cycle
Approach 2:
However, my friend said that I should use as many observations as possible. He recommends me to impute menstrual_cycle = 0 for male, and include a dummy variable gender in the regression.
The regression becomes:
reg health age weight height menstrual_cycle gender
Does sample selection bias exist if I run regression using Approach 1? Thank you.
Related Posts with How to run a regression with missing value for one group
Each table on a new page using asdocHello everyone, I am running DEA models and I was wondering if it is possible to start the output o…
Displaying Significance Stars in combined summary and correlations tableDear Forum, i merged my correlations and summary statistics to one table via the below code (thanks…
Standardizing categorical variablesDear Statalist, I am running a linear probability model with categorical variables. Some of the ind…
Dumitrescu & Hurlin (2012) Granger non-causality testHello Dears, I am trying to see the granger causality between government revenue and government spen…
interpretation of log-linear model vid interaction termHello! I'm having a hard time interpreting my results from my regression which is: Ln(sales) = bet…
Subscribe to:
Post Comments (Atom)
0 Response to How to run a regression with missing value for one group
Post a Comment