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
Unable to scroll up to see the beginning of the results.Hello All, In recent times I facing a unique problem in my Stata. Whenever I am using the tab of th…
Calculating distance for intensity analysis using DiDHello, I am currently trying to calculate distance between conflicts and population clusters. I wou…
Unbalanced Panel data to balanced panel data for 5 YearsDear All I have an unbalanced panel data from year 2006 to year 2018. There are firms with data as …
'Wrong' sign with fixed effectsHi there, I was hoping to get help regarding a change is signs of a coefficient when using fixed ef…
Exporting variable values rather than labelsHello I intend to use a dataset multiple times. After encoding all my string variables, I exported …
Subscribe to:
Post Comments (Atom)
0 Response to SPSS Command to STATA
Post a Comment