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
Lagrange MultiplierWhat is the purpose of Lagrange Multiplication in Heteroscedasticity? …
Creating a variable that is chosen from two different distributions with probability=0.5Hi there, I am trying to create a variable u with 1000 observations that is distributed according t…
support - neophyte stataHello everybody! Can you please help me with the following problem? I have created an easy example…
Display p-values with psmatch2 commandDear Statalist, I am using Stata 16 and want to use the propensity score matching algorithm provide…
change to long formatI want to change the following dataset to long format. The data example is given below: There are th…
Subscribe to:
Post Comments (Atom)
0 Response to Generating a new variable from one variable and part of another
Post a Comment