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
Which regression should I use?Hello everybody, I am stuck right now with the following problem. I have two hypothesis which I hav…
metan forest plot formattingHello, As a novice Stata user I humbly seek insight from those more seasoned than myself with regar…
Moderation - Panel Data AnalysisDear Stata experts, I am trying to test the influence of my dummy moderator (high tech industry =1,…
Generating a date variable from a numeric variable after a reshapeHello. I'm working with a dataset that looks like this: company / numeric_date / v1 / v2 / .../ vk…
Order option with interactions using esttabI am attempting to order the coefficients in my output using the "order" option, however, I cannot s…
Subscribe to:
Post Comments (Atom)
0 Response to How to run a regression with missing value for one group
Post a Comment