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
Replacing missing value by linear intervals between tow points across time.Dear Statalist, I am current facing a bit of dilemma with missing variables. I have merge two datas…
Customization of Bar GraphI have created a stacked bar graph to look at my main categorical variable which has Yes/No Response…
OLS panel data regressionHi, I'm trying to run a regression with lots of controls. I'm looking for the impact of media on vot…
Logistic regression shows negative adj. (McFadden's) R2 but statistically sig. coefficient for main predictor variable. How to interpret?As the title says, I have a logistic regression model with a negative adjusted R2 (McFadden's), but …
DiagonalI am modelling a huge database and I have to create a new variable that contains the value of the di…
Subscribe to:
Post Comments (Atom)
0 Response to Generating a new variable from one variable and part of another
Post a Comment