python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
'Undefined columns selected' error when trying to calculate population attributable risk from a Cox model (using AF::AFcoxph in R)?
For a current project i am trying to calculate the population attributable risk using Hazards obtained from a Cox proportional hazards model. There is a function in the package AF that does this speci...
tcvdb1992
Votes: 0
Answers: 1
How to calculate X-year survival probability from a cox regression of random survival forest in R
I want to build a survival model then calculate the X-year (e.g. 10-year) risk of survival.
Is there a way to do this using coxph or survreg? Is this possible using random survival forest (e.g. ranger...
Adam Waring
Votes: 0
Answers: 1
Create groups based on survival
I have survival data from about 100 patients. I would like to divide my cohort into 2 groups: a group of 50% of the best surviving patients and a group of 50% of the worst surviving patients. How do I...

Dos Santos Alexandre
Votes: 0
Answers: 0
How can i calculate median survival adjusted for covariates (age, gender and other covariates)
I am doing a study on a disease. I have done KM-plot, and cox analysis. However I can not figure out how i can calculate the median survival adjusted for age, gender and other covariates. This is inte...
vanillaCat
Votes: 0
Answers: 1