Hello,
I am working on a research project and am trying to perform a pretty basic comparison between a few variables in my data. I have a list of categorical variables (age, initially had pain at onset of symptoms, initially had bladder symptoms at symptom onset, etc) and I am trying to correlate the presence of these variables with a categorical variable at early or late follow up (pain at follow up, need for a gait aid, need for catheter).
I have done a fit X by Y linear regression with the categorical variables and each dependent outcome. What I am trying to do next is to account for the fact that the time to follow up is different for each subject, and to control for this.
For example, in my set of subjects the presence of bladder symptoms at symptom onset is correlated with the need for catheterization at follow up. However, the range of time to follow up is variable between subjects, and can be anywhere from 10 days to 300 days, as that was when they were next evaluated.
What would be the easiest way to analyze the correlation between my two categorical variables while controlling for a continuous variable (time to follow up) and to display this as an odds ratio?
Thank you.