Hi, I am concerned with how to convert missing values with the values of the other variable set.
For example,
Array
I would like to generate new variable age_group, combining Age85 and ag015g2 and create 0-15,16-24,25-34 and so on...
Could anybody help me out?
Thanks in advance!
Related Posts with replacing the missing values with the other variable set
Store estimates of a loop using a reghdfe regressionHello everyone, I am trying to store estimates of a (reghdfe) regression in a loop. The regressions…
STATA does NOT allow me to stratify for a variable in a frailty model. How to fix?Dear all, I have a question regarding a survival analysis. I thank you all in advance. I have to co…
recovering latitude and longitude of the observations having distances to a specific pointsHello, I am dealing with a problem and I hope you can help me. I have 8000 observations from Germany…
Collinearity problem DiDHello, I have this data. I'm trying to run a placebo DiD. Pre-treatment =2018. Some of the drugs go…
Problem with Mundlak approachDear all, I am pretty new to Stata and just beginning my research journey. I am trying to estimate…
Subscribe to:
Post Comments (Atom)
0 Response to replacing the missing values with the other variable set
Post a Comment