Hello everyone, I am learning Stata and need some help. I have a variable called mrs_90day which has participant scores ranging from 0-6. I want to create a new variable called mrs_90daysurvivors using the same data in the mrs_90day variable, except this time I would like to exclude those with a score of 6 and only remain with those with a score of 0-5. How do I go about with this. Thank you.
Related Posts with How to generate a new variable using an existing variable
Mac STATA graph errorHello, I am running STATA 16 on my mac with BigSur. For some reason, STATA (updated today) will no l…
Creating, appending and exporting tablesDear all, I have a dataset of people who have lost their employment during the period 2019-2021. I h…
Reported p-value in Stata when working with population.Hi guys, I have a large dataset of scores provided to movies that I collected through web-scraping.…
Limited number of categories with cmmprobitHi, I need to run a multinomial discrete choice model, where I have a wide number of choices (50+) …
no observations when using GMM xtabond2I am trying to use one-step system GMM in stata using xtabond2 but keep getting the error 'no observ…
Subscribe to:
Post Comments (Atom)
0 Response to How to generate a new variable using an existing variable
Post a Comment