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
if time dummies are dropped in system GMM; How we can interpret? - xtabond2Hello, I need your help. I hope you are staying safe. I have an unbalanced panel dataset. It includ…
Loop (Macro) Regressions to output coefficients and p-valuesDear All I am working on multiple dependent variables in my research (Mean1, Mean2, Median1, Median…
Problem with coefplot dropping the first category automatically.Dear Statalist members, I am new to the forum. So, sincere apologies if this has already been answe…
Clustering standard errors at industry levelDear Statalist members, Currently my data size is about 12,000 observations. The topic of my thesis…
How to create an iterative procedure to check variable by variable whether a given observation satisfies some criteria - string variablesDear all, I am working with string data and I would like to retrieve the most important word from a…
Subscribe to:
Post Comments (Atom)
0 Response to How to generate a new variable using an existing variable
Post a Comment