Hi all. After a thorough search online I can't seem to find a solution to my problem, which is why I'm now asking the experts
I'm doing a cox regression in 1175 subjects where I want to assess the effect of the dichotomous baseline variable X on the outcome Z. All subjects have variable X which is present since birth. In addition I have another dichotomous variable Y (which is more like an intervention effect) which is not present at baseline for any of the subjects, however some of the subjects get affected by (Y) event during the follow up at different dates, and this variable is known to be connected with outcome Z. I'm trying to know if variable Y increases the chance of occurrence of outcome Z in which (Z=1) among those who have the effect variable Y during their followup and those who don't.
So the "known" chain of events is X --> Y ---> Z . And I want to test X --> Z. But I still want to include the effect of Y in my model as some of the subjects will follow X-->Y-->Z.
So i thought - how can I include Y as a time-varying covariate so as not to underestimate the effect of Y but still assess if there is a direct correlation with X and Z.
Hope the question isn't to cryptic - I'll be happy to elaborate on the question.
Related Posts with Time varying covariate in Cox Regression model
Difference in proportion adjusted for baseline characteristics (Mantel Haenszel method)Hi, I am analysing the results of a trial & would like to compare the proportion of individuals…
Help required for variable forecast procedureDear All I need some help with commands relating to earnings forecasts model: EARN(t+1)=b0+ b1EARN…
.ado Programming in Stata without invoking mata: Invalid Name error from within the functionStata Status: Beginner I have declared a local variable inside my function. And whenever I referenc…
Calculating Risk for Repeated Measures with Varying & Overlapping PredictorsI have data on several measures for 150 survey respondents: Infection (binary outcome of interest), …
Generalized difference in differences problemI am evaluating a government program using difference in differences. The program was implemented in…
Subscribe to:
Post Comments (Atom)
0 Response to Time varying covariate in Cox Regression model
Post a Comment