Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Survival analysis models time to event data, typically time to death or failure time. Censored data are a common problem for survival analyses.
8
votes
Time dependent coefficients in R - how to do it?
His chapter on parametric survival models describes a variety of plotting techniques for checking proportional hazards assumptions and for examining the linearity of estimated log-hazard effects on the …
7
votes
Accepted
How to perform a Wilcoxon signed rank test for survival data in R?
Referring to the one-sample and two-sample sections of chapter 7 in Klein and Moeschberger's "Survival Analysis", we read that the Peto-Peto version and the Gehan versions were both two-sample (censored … ) versions of the Mann-Whitney Wilcoxon two-sample test but used different versions of the survival function estimator. …
5
votes
What is a "good fit" Brier score and Harrell's C Index
Prior CV postings on the matter of GOF measures in generalized linear models:
Find out pseudo R square value for a Logistic Regression analysis
Which pseudo-$R^2$ measure is the one to report for lo …
5
votes
How to compare Harrell C-index from different models in survival analysis?
Harrell would advise that you NOT do so:
How to do ROC-analysis in R with a Cox model
Doing model comparison with LR statistics is more powerful than using methods that depend on an asymptotic distr …
4
votes
Accepted
Expected survival time from log-logistic survival model in R from survreg
Most R regression functions have an associated predict method and survival::survreg is no exception. … It also shows how to plot expected survival curves and if you picked out the expected 50% survival you would have the predicted median values. …
4
votes
Why does the hazard ratio represent the magnitude of distance between the Kaplan-Meier plots?
The premise of the question is wrong. (So read Wikipedia with a critical eye. Most of the rest of that article appears correct, but that sentence is flawed as is the one immediately preceding it that …
4
votes
Accepted
How to do ROC-analysis in R with a Cox model
@chl has pointed to a specific answer to your question. The 'rms' package's cph function will produce a Somers-D which can be transformed trivially into a c-index. However, Harrell (who introduced the …
4
votes
How to understand the plotting of the cox.zph function in R?
When interpreting the output of cox.zph it is just as much (or even more) the "flatness" of the line, as it is the straightness of the line, that is important. If the line is straight but slanted upwa …
4
votes
coxph ran out of iterations and did not converge
When considering problems with survival analyses where estimates blow up, it's often useful to look at tabular displays. (in this case the "explosion" is to the small side rather than the high side.) …
3
votes
Accepted
Performing contrasts among treatment levels in survival analysis
The methods description does not match up with anything I see in Crawley's chapter on survival analysis. … I do not see that the multiple comparisons problem is specific to survival analysis. …
3
votes
Interpret survival curve for multiple-event Cox proportional hazard model
To get the risk estimate for a member of the stratum you would take the decrement in survival divided by the time over which the decrement occurred and divide that by the starting survival fraction.
$$ … \frac{ -\frac{d(S(t))}{dt} }{ S(t) }
$$
Generally one would smooth the survival fraction as a function of time ( S(t) ), and take the slope of the smoothed estimate as the numerator and the value of the …
3
votes
Accepted
Hazard estimate of 'muhaz' function?
(That is an egregious violation of the non-informative censoring assumption needed for survival analysis.) …
2
votes
Correcting for a covariate in a Kaplan-Meier curve
Here is a stratified model build based on the tiny test set you offered
library(survival)
gender <- as.factor(c("Female", "Male", "Female", "Male", "Male", "Male", "Female", "Female", "Female", "Male") … Therneau & Gambsch's text "Modeling Survival Data" has an excellent chapter. …
2
votes
Accepted
Dummy Variables vs Factor Usage in R for building Cox Regression
The default coding of factor variables in R is "treatment contrasts" relative to the first level in the factor definition. There are many other possible contrast arrangements possible. This is not spe …
2
votes
Nested case-control and Cox proportional analysis
Shortening the time interval in this case will not reduce the power of test because statistical power in survival analysis comes from the numbers of events rather than the duration of the study. …