Hello anyone
I am using stata for social science research.
I want to conduct survival analysis form longitudinal survey data on university students. I understand the theory of the analysis, but i am confused about an aspect of preparing the data for analysis. I have collected data about reasons for dropout in a survey, distributed to the same students two times during their study period. In this period, they either persist og drop out.
1. How do i merge the to survey datasets, telling stata that data from the second dataset is a second measurement of the same variables as the one in the first dataset, and;
2. how do i include the change in these variables, in my survival analysis?
I have not included examples, since this is merely a questions about preparing the data, and not how to conduct the analysis itself.
Related Posts with preparing longitudinal survey data for survival analysis
existing variable values as new variableshi my data goes like this: var1 var2 10000 a 10000 b 10000 c 10001 a 10001 b i want my data to loo…
Time Series RegressionHi all, I'm working on the following sample. Code: * Example generated by -dataex-. To install: s…
Possible bug in "label save" in Stata 16?Hi everyone, I wanted to bring this up in the forum in case I'm missing something obvious, and it's…
Running regressions in a loopHi all, I have got a large dataset available which has 14 yearly datapoints for several independent…
Compare coefficients across models for panelI want to test the difference between the coeffiecients on " huaf "and " lauf " which are ratios of …
Subscribe to:
Post Comments (Atom)
0 Response to preparing longitudinal survey data for survival analysis
Post a Comment