Dear all.
Please, How can I create new two variables (Z and Y) using the median of variable (X) ? . I mean I want to create variable Z equal to the values above the median of variable X and Y otherwise. Thanks a lot.
Related Posts with Create new variables using the median
Generating cluster averageHi I would like to create a variable that measures the cluster average of women’s working status. I …
Trend test in StataHello, I have been using Stata to analyse all of my data, however my supervisor has asked me to per…
ado programming option helpHello Forum, I have successfully written a ado-command, unfortunately I have problem with one littl…
Appending AssistanceHello, I'm trying to append all the files in a folder together, and have the following code: clear …
new version smclpres available on SSCThanks to Kit Baum a new version of smclpres is now available from SSC. To install type in Stata ssc…
Subscribe to:
Post Comments (Atom)
0 Response to Create new variables using the median
Post a Comment