I'm hoping someone can help me recreate the following SAS code in STATA.
if first.studyid_adult then do;
spelnmbr=1;
duration=1;
startm=sm;
end;
else duration + 1;
obplus=_n_ + 1;
Related Posts with SAS to STATA
Removing middle character from a set of variablesHi everyone, This might have a simple solution but I'm stuck. I have a set of variables that goes …
Connecting Labels from X AxisHello, I keep getting an error with the code below, although I have used a similar code in the past…
graph twoway rcap is misbehaving: a random space appears between ytitle and yaxisHello everyone, I wanted to produce same-size/same-format figures but for some reason, a random spa…
Identifying integersHi, My dataset contains a variable called "Ratio". Values therein range from 0 to about 500. Some v…
how to run a 3 level multilevel ?I wish to implement under stata a three-level multilevel model to find the determinants of school pe…
Subscribe to:
Post Comments (Atom)
0 Response to SAS to STATA
Post a Comment