search for: surviv

Displaying 20 results from an estimated 3605 matches for "surviv".

Did you mean: survive
2011 Aug 16
3
Bayesian Relative Survival Analysis in R?
Hi all, May i know does R has packages or code to run "Bayesian Relative Survival Analysis"? I have look through Bayesian Survival Analysis(2001) by Joseph George Ibrahim<http://www.google.com/search?tbo=p&tbm=bks&q=inauthor:%22Joseph+George+Ibrahim%22>, Ming-Hui Chen<http://www.google.com/search?tbo=p&tbm=bks&q=inauthor:%22Ming-Hui+Chen%22>, D...
2009 Aug 05
2
Wishlist: Navigate to "Index" page of help when no topic (PR#13872)
...ames, >>> I have to play the "poor man's game" to get to the standard >>> help system "Index" page for the package: >> You could complain to the package author or maintainer, who should have >> created a help alias with the package name so that ?survival would give >> you something useful. But I would guess R 2.10.x or 2.11.x will do >> that >> automatically. >> >> Duncan Murdoch > > Unfortunately it happens frequently - hopefully I > don't have to complain so much - I'd rather figure > out code...
2011 Oct 01
4
Is the output of survfit.coxph survival or baseline survival?
Dear all, I am confused with the output of survfit.coxph. Someone said that the survival given by summary(survfit.coxph) is the baseline survival S_0, but some said that is the survival S=S_0^exp{beta*x}. Which one is correct? By the way, if I use "newdata=" in the survfit, does that mean the survival is estimated by the value of covariates in the new data frame? Thank y...
2012 Oct 16
2
R Kaplan-Meier plotting quirks?
Hello. I apologize in advance for the VERY lengthy e-mail. I endeavor to include enough detail. I have a question about survival curves I have been battling off and on for a few months. No one local seems to be able to help, so I turn here. The issue seems to either be how R calculates Kaplan-Meier Plots, or something with the underlying statistic itself that I am misunderstanding. Basically, longer survival times are...
2010 Dec 10
2
survival package - calculating probability to survive a given time
Dear R users, i try to calculate the probabilty to survive a given time by using the estimated survival curve by kaplan meier. What is the right way to do that? as far as is see i cannot use the predict-methods from the survival package? library(survival) set.seed(1) time <- cumsum(rexp(1000)/10) status <- rbinom(1000, 1, 0.5) ## kaplan meier e...
2009 Jul 28
1
Wishlist: Navigate to "Index" page of help when no topic specified (PR#13860)
...san newFunction);=20 issue ?newFunction command; scroll to bottom of page;=20 click on the "Index" hyperlink There are other variations, but they all involve this=20 long march to the Index page. What I'd like to be able to do is enter the command > help(package =3D "survival") or > ?survival:: and get the usual hyperlinked help page displayed (the "00Index" page) instead of the static "text only" display or an error message (for example, on Windows, this equates to invoking "C:/PROGRA~1/R/R-29~1.1/library/survival/chm/00Index&quot...
2012 Feb 07
2
Actual vs. predicted survival times
Dear R-help, I am using R 2.14.1 on Windows 7. I would like to produce a plot like the attached - although simplified to actual vs. Predicted survival time with distinguishing marks for censored and observed points. I have a dataset and have fitted a Cox model to it. In an attempt to visualise how accurate the model is it would be ideal if I could plot the actual survival times against the predicted survival times. I have been looking on the...
2009 Feb 25
3
survival::predict.coxph
Hi, if I got it right then the survival-time we expect for a subject is the integral over the specific survival-function of the subject from 0 to t_max. If I have a trained cox-model and want to make a prediction of the survival-time for a new subject I could use survfit(coxmodel, newdata=newSubject) to estimate a new survival-func...
2012 Oct 18
1
Kaplan-Meier plotting quirks
...urve that accounts for interval censoring. As a prior poster suggested, if the times are very sparse then you may be better off assuming a smooth curve. Use the survreg function with the same equation as above; see help("predict.survreg") for an example of how to draw the resulting survival curve. Terry Therneau On 10/18/2012 05:00 AM, r-help-request@r-project.org wrote: > -----Original Message----- > From: Michael Rentz [mailto:rent0009@umn.edu] > Sent: Tuesday, October 16, 2012 12:36 PM > To:r-help@r-project.org > Subject: [R] R Kaplan-Meier plotting quirks? >...
2009 Feb 25
3
survival::survfit,plot.survfit
I am confused when trying the function survfit. my question is: what does the survival curve given by plot.survfit mean? is it the survival curve with different covariates at different points? or just the baseline survival curve? for example, I run the following code and get the survival curve #### library(survival) fit<-coxph(Surv(futime,fustat)~resid.ds+rx+ecog.ps,data=ovari...
2020 Oct 24
3
Issue with data() function
I found an issue with the data() command this evening when working on the survival package. 1. I have a lot of data sets in the package, almost all used in at least one vignette, help file, or test.? As a space saving measure, I have bundled many of them together, i.e., the file data/cancer.rda contains 19 data sets, many of them small. The resulting file (using xz compress...
2016 Apr 17
2
Building R-patched and R-devel fails
...noticed this by now, but I thought I ought to report it. :) My scripts that update the SVN sources for R-patched and R-devel, run `tools/rsync-recommended' (for both) and then install both these versions from scratch failed this morning. Apparently the new version of the recommended package `survival' depends on the recommended package `Matrix', but the makefile does not ensure that Matrix is build before survival. So my log files had entries: [...] ERROR: dependency ?Matrix? is not available for package ?survival? * removing ?/opt/src/R-devel-build/library/survival? Makefil...
2008 Aug 07
8
Trying to run simple survival program in R but does not work
Hey, I am just starting to learn R now and I typed in this simple survival program: library(survival) t <- c(10,13,18,19,23,30,36,38,54,56,59,75,93,97,104,107,107,107) c <- c(1,0,0,1,0,1,1,0,0,0,1,1,1,1,0,1,0,0) data <- Surv(t,c) km <- survfit(data) summary(km) Call: survfit(formula = data) but everytime I run it I get this er...
2024 Aug 26
9
specials and ::
The survival package makes significant use of the "specials" argument of terms(), before calling model.frame; it is part of nearly every modeling function. The reason is that strata argments simply have to be handled differently than other things on the right hand side. Likewise for tt() and clus...
2009 Aug 05
0
Wishlist: Navigate to "Index" page of help when no topic (PR#13873)
...have to play the "poor man's game" to get to the standard > >>> help system "Index" page for the package: > >> You could complain to the package author or maintainer, who should > have > >> created a help alias with the package name so that ?survival would > give > >> you something useful. But I would guess R 2.10.x or 2.11.x will do > >> that > >> automatically. > >> > >> Duncan Murdoch > > > > Unfortunately it happens frequently - hopefully I > > don't have to complain s...
2012 Nov 28
2
NRI or IDI for survival data - Hmisc package
Hi, I am trying to calculate net reclassification improvement (NRI) and Inegrated Discrimination Improvement (IDI) for a survival dataset to compare 2 risk models. It seems that the improveProb() in Hmisc package does this only for binary outcome, while rcorrp.cens() does take survival object, but doesn't output NRI or IDI. Can anyone suggest any other packages that can calculate NRI and IDI for survival data? The refe...
2005 Nov 22
3
Weibull and survival
Hi I have been asked to provide Weibull parameters from a paper using Kaplan Meir survival analysis. This is something I am not familiar with. The survival analysis in R works nicely and is the same as commercial software (only the graphs are superior in R). The Weibull does not and produces an error (see below). Any ideas why this error should occur? My approach may be spur...
2011 Jun 27
7
cumulative incidence plot vs survival plot
Hi, I am wondering if anyone can explain to me if cumulative incidence (CI) is just "1 minus kaplan-Meier survival"? Under what circumstance, you should use cumulative incidence vs KM survival? If the relationship is just CI = 1-survival, then what difference it makes to use one vs. the other? And in R how I can draw a cumulative incidence plot. I know I can make a Kaplan-Meier survival plot using pl...
2011 Oct 20
3
Survival analysis
Hello, I need some results from the survival analysis of my data that I do not know whether exist in Survival Package or how to obtain if they do: 1. The Mean survival time 2. The standard error of the mean 3. Point and 95% Lower & Upper Confidence Intervals estimates Any help will be greatly appreciated....
2009 Feb 17
3
Survival-Analysis: How to get numerical values from survfit (and not just a plot)?
Hi! I came across R just a few days ago since I was looking for a toolbox for cox-regression. I?ve read "Cox Proportional-Hazards Regression for Survival Data Appendix to An R and S-PLUS Companion to Applied Regression" from John Fox. As described therein plotting survival-functions works well (plot(survfit(model))). But I?d like to do some manipulation with the survival-functions before plotting them e.g. dividing one survival-function b...