Hello all;
Anybody know how to transform the following SPSS command into a STATA command?
Thank you
USE ALL.
COMPUTE filter_$=(B8_under5 = 1 | B8_under5 = 2 | B8_under5 = 3).
VARIABLE LABELS filter_$ 'B8_under5 = 1 | B8_under5 = 2 | B8_under5 = 3 (FILTER)'.
VALUE LABELS filter_$ 0 'Not Selected' 1 'Selected'.
FORMATS filter_$ (f1.0).
FILTER BY filter_$.
EXECUTE.
Related Posts with SPSS Command to STATA
create dummy showing 36&60 months after event dateDear statalists, I am trying to create a variable to flag the 36th and 60th months after each event…
Estimating TFP by industry using prodestDear Stata users, I estimate TFP using prodest command (ssc install prodest) and have one question …
Shaping dataHello, I would like to transform my data from this way : order station up down 1 A 48 0 …
Interpreting an interaction term in a panel linear regression modelHi, I am exploring the link between the introduction of a stewardship policy and the consumption of…
Jensen-Shannon Divergence between training and test set classesI'm working on Stata and I have a training and a test set. For each one I have a set of variables (h…
Subscribe to:
Post Comments (Atom)
0 Response to SPSS Command to STATA
Post a Comment