search for: stanford2

Displaying 6 results from an estimated 6 matches for "stanford2".

Did you mean: stanford
2008 May 09
2
how to check linearity in Cox regression
Hi, I am just wondering if there is a test available for testing if a linear fit of an independent variable in a Cox regression is enough? Thanks for any suggestions. John Zhang ____________________________________________________________________________________ [[elided Yahoo spam]]
2009 Feb 19
0
Age as time-scale in a cox model
You asked about survival curves with age scale versus follow-up scale. > fit1 <- coxph(Surv(time/365.25, status) ~ t5 + id + age, data=stanford2) > surv1<- survfit(fit1) > surv1 n events median 0.95LCL 0.95UCL 157.000 102.000 1.999 0.898 3.608 > summary(surv1, times=3) time n.risk n.event survival std.err lower 95% CI upper 95% CI 3 46 85 0.451 0.0425 0.375 0.543 I've t...
2009 Feb 18
1
Age as time-scale in a cox model-How to calculate x-time risk?
Dear R users, My question is more methodology related rather than specific to R usage. Using time on study as time in a cox model, eg: library(Design) stanf.cph1=cph(Surv(time, status) ~ t5+id+age, data=stanford2, surv=T) #In this case the 1000-day survival probability would be: stanf.surv1=survest(stanf.cph1, times=1000) #Age in this case is a covariate. #I now want to compare the above estimate to the 1000-day survival probability I get using age at entry and exit as my time-scale: stanf.cph2=cph(Surv...
2007 Jun 08
0
Escobar&Meeker example survreg
...and may make beginner mistakes. Sorry. I am learning using R to do survival analysis. As a start I used the example script code provided in the documentation of predict.survreg of the survival package: # Draw figure 1 from Escobar and Meeker fit <- survreg(Surv(time,status) ~ age + age^2, data=stanford2, dist='lognormal') plot(stanford2$age, stanford2$time, xlab='Age', ylab='Days', xlim=c(0,65), ylim=c(.01, 10^6), log='y') pred <- predict(fit, newdata=list(age=1:65), type='quantile', p=c(.1, .5, .9)) matlines(1:65, pred, lty=c(2,1,2), col=1) When I compa...
2003 Mar 30
2
R-devel (1.7 to be) on windows XP
...nal line found by readLines on `C:\R\R17beta\R- 1.7.0\src\library\survival/man/ovarian.Rd' 6: incomplete final line found by readLines on `C:\R\R17beta\R- 1.7.0\src\library\survival/man/rats.Rd' 7: incomplete final line found by readLines on `C:\R\R17beta\R- 1.7.0\src\library\survival/man/stanford2.Rd' 8: incomplete final line found by readLines on `C:\R\R17beta\R- 1.7.0\src\library\survival/man/survival-internal.Rd' 9: incomplete final line found by readLines on `C:\R\R17beta\R- 1.7.0\src\library\survival/man/survreg.control.Rd' zipping data . . . stataread.c: In function `R...
2001 Nov 12
2
check() warnings for survival-2.6
...les with unbalanced braces: * man/Surv.Rd * man/cluster.Rd * man/cox.zph.Rd * man/coxph.Rd * man/coxph.detail.Rd * man/date.ddmmmyy.Rd * man/lines.survfit.Rd * man/plot.cox.zph.Rd * man/predict.survreg.Rd * man/pyears.Rd * man/residuals.coxph.Rd * man/stanford2.Rd * man/strata.Rd * man/summary.survfit.Rd * man/survdiff.Rd * man/survexp.Rd * man/survfit.Rd * man/survreg.control.Rd * man/survsum.Rd * man/untangle.specials.Rd 2) missing docs: * checking for undocumented objects ... WARNING [1] "[.Surv"...