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
ACD (Autoregressive Conditional Duration) Model for calculating Intra-day Volatility from Trade DataI have trade data generated by a trading simulation software. The data is irregularly spaced w.r.t t…
Multilevel model (mixed command) with clustered, repeated-measures dataHello Statalist, I am building a multilevel model to test whether an environmental exposure is link…
Geometric interpolation of Return variableHi , Thanks to the post replied on the various issues at Statalist, I am able to understand things …
svyset commandGood morning, everyone, thank you for taking the time to help me understand this problem. Excuse me,…
Distribution of values among multiple variablesHello there, I have a question concerning my data set. I want to find out the total distribution of…
Subscribe to:
Post Comments (Atom)
0 Response to SAS to STATA
Post a Comment