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
estout by Ben Jann (available from ssc): Add horizontal lines to table, csv formatHello, after three hours of trying and searching, here is my question: Is there an elegant way to a…
putpdf failed to add table, failed to set borderHello Statalist, I am trying to use putpdf to convert a surveyCTO-formatted survey into pdf, but I …
Change Y axis for bar chartHi all, I am trying to make a simple bar chart. All of my means are very close together, between 3.…
Repeated measures ANOVA: Standard errors of estimated marginal means produced by Stata's margins were different from that of SPSS's EMMEANSHi, Why the SE's of estimated marginal means differ in this case? And which one should be used if w…
can't truncate length of trees (X-Axis) in horizontal dendrogramThe dataset I use to construct the attached dendrogram contains no cells with a dissimilarity value …
Subscribe to:
Post Comments (Atom)
0 Response to How to generate a new variable using an existing variable
Post a Comment