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
Back transform log transformed coeffcientsHello there! I have run a linear regression where the dependent variable has been log transformed d…
stset has a number of options, advice on which are key to test my time to event analysis?Hi Statalist. I am using survival analysis to analyse the time-to-an-event (relationship failure). …
Can recognized missing valueThe data I have contained some missing value for my numeric variable, and thus when I destring this …
overlapping labels on the same pointHi all, I saw many related problems to the following but, as far as I have understood, such issues …
Reshape command with quarterly dataI would like to reshape my data from wide to long format. My headers are dates every quarter so 31-1…
Subscribe to:
Post Comments (Atom)
0 Response to How to generate a new variable using an existing variable
Post a Comment