Hello,
I am looking to create a variable for the total health expenditure for females. I currently have a variable for total health expenditure and one for gender (female coded as 1). How can I code to create a variable that just looks at the health expenditure for females?
Thank you.
Related Posts with Generating a new variable from one variable and part of another
New version of eclplot on SSCThanks as always to Kit Baum, a new version of the eclplot package (described as below on my website…
Random Effects with time Fixed Effects for Probit modelHello, I am wondering the description on the probit model with firm-level random effects and time fi…
How to combine summary stats and regression tables in StataI am interested how some variables differ by gender. I want to create a table showing the means and …
How to remove observations according to conditions while not touch others?Hello, Below is part of my dataset. What i wanna do is that for same individual with outcome=1 onl…
Margins after xtnbreg, fe exposure()Hello, I am running negative binomial regression on panel data of counts (panel = county, time = da…
Subscribe to:
Post Comments (Atom)
0 Response to Generating a new variable from one variable and part of another
Post a Comment