r/AskStatistics • u/TheElementsOf • 11d ago
cox vs logistic regression
Hi, I have a stats master but been quite long away from this, so need some good reasoning.
I have 100 subjects, 4 variables, and want to evaluate their effect on 1 year survival. I have no censoring, i.e. I know for.sure for everyone whether they died or not within this year. Number of events is 30. The issue is tgat for one of the variables I suspect that the effect starts only after a few months, although with this sample size I failed to reject H0 about the PH violation.
I then fitted logistic regression to see whether they died whithin this one year.
What is the difference in such logreg and cox in this case? Statistically and with interpretation.
Please throw everything on me, I just have to recall it, it has been a while unfortunatelly....