Hi,
With stata, I would like for each line of patient, to apply in a number of lines which corresponds to each year of its follow-up. For example, for the subject A0001 : he came in the study from 2004 (variable ddfup) to 2015 (variable dffup): so he will have 11 lines: from 2004 to 2015
You can see in the attachment file a view of the database, it will be more easier. Thanks a lot,
Related Posts with STATA function stsplit
Truncate a number to two decimalsHi, I have a doubt. I have a variable named "score" (float) as showed below and I want to truncate i…
Matching two samples by the same year/industry/provinceDear Stata experts, I have a sample of firms committed fraud. It has 1,700 observations. The format…
Generating a variableI have a variable that measure money (M) whats the command to generate a new variable "m.lower" whic…
Present 3 regression models in a single tableI have done three regressions in STATA. All variables are same, but in the 'country_name' variable (…
Interpreting the r and adjusted r square value in an arima modelHello, i have been working on some time series data for the last couple of days which has required t…
Subscribe to:
Post Comments (Atom)
0 Response to STATA function stsplit
Post a Comment