So my data looks something like the attached picture.
My title is probably a bit ambiguous, so I will explain it in more detail here.
My dependent variable is EVENT (Event=1 if the student graduated, 0 otherwise; not shown in the picture). Now I have a time-varying covariate called "Cumulative GPA", which shows, cumulatively, the GPA after each year. Now what I'd like to know is if I was interested in first-year GPA only, how would I go about running a regression which only included the first-year cumulative GPA? I'm intending to run a logit regression, as that seems to be the most suitable tool for discrete time survival analysis.
Effectively, what I am trying to do is only include Cumulative GPA where _Period =1.
My title is probably a bit ambiguous, so I will explain it in more detail here.
My dependent variable is EVENT (Event=1 if the student graduated, 0 otherwise; not shown in the picture). Now I have a time-varying covariate called "Cumulative GPA", which shows, cumulatively, the GPA after each year. Now what I'd like to know is if I was interested in first-year GPA only, how would I go about running a regression which only included the first-year cumulative GPA? I'm intending to run a logit regression, as that seems to be the most suitable tool for discrete time survival analysis.
Effectively, what I am trying to do is only include Cumulative GPA where _Period =1.
Comment