Displaying 12 results from an estimated 12 matches similar to: "Time Dependent Cox Model"
2015 Aug 02
3
ayuda con análisis de supervivencia
Hola a todos,
-Estoy estudiando el efecto de dos genotipos (~tratamientos) en la aparición de síndrome metabólico (MetS) con datos longitudinales recogidos a tiempo 0,7,10,15,20 y 25 años.
-He hecho un dataframe con las siguientes variables
MetS: Síndrome Metabólico (Si=1,No=0)
bmi: Indice de masa corporal (IMC) cuando se produce la conversión a MetS+ . Para los que permancen MetS-, esta variable
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
2011 Sep 05
1
SAS code in R
Dear all,
I was wondering if anyone can help? I am an R user but recently I have resorted to SAS to calculate the probability of the event (and the associated confidence interval) for the Cox model with combinations of risk factors. For example, suppose I have a Cox model with two binary variables, one for gender and one for treatment, I wish to calculate the probability of survival for the
2010 Jul 28
1
anderson-darling test
Hi,
I have the binned data (observed and generated from model) that I would like to
test using the anderson-darling goodness of fit test. But I'm not sure which
package in R to use.
I tried ad.test(...) but it does not recognise the test by Vito Ricci in FITTING
DISTRIBUTIONS WITH R
> ad.test(hist_hume_beec[,1],hist_hume_beec[,2])
Error: could not find function "ad.test"
2008 Feb 28
0
surv2sample 0.1-2
Dear useRs,
There is a new version 0.1-2 of the package surv2sample available on CRAN.
Users of the previous versions should update because a bug in the function
cif2.ks has been fixed.
General information about the package:
surv2sample provides various two-sample tests for right-censored survival
data. Three main areas and corresponding methods are:
* comparison of two survival
2008 Feb 28
0
surv2sample 0.1-2
Dear useRs,
There is a new version 0.1-2 of the package surv2sample available on CRAN.
Users of the previous versions should update because a bug in the function
cif2.ks has been fixed.
General information about the package:
surv2sample provides various two-sample tests for right-censored survival
data. Three main areas and corresponding methods are:
* comparison of two survival
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
2024 Feb 07
2
Difficult debug
I haven't done any R memory debugging lately, but
https://www.mail-archive.com/rcpp-devel at lists.r-forge.r-project.org/msg10289.html
shows how I used to have gdb break where valgrind finds a problem so you
could examine the details.
Also, running your code after running gctorture(TRUE) can help track down
memory problems.
-Bill
On Wed, Feb 7, 2024 at 12:03?PM Therneau, Terry M., Ph.D.
2024 Feb 07
2
Difficult debug
?I've hit a roadblock debugging a new update to the survival package.?? I do debugging in
a developement envinment, i.e. I don't create and load a package but rather? source all
the .R files and dyn.load an .so file, which makes things a bit easier.
? Running with R -d "valgrind --tool=memcheck --leak-check=full" one of my test files
crashes in simple R code a dozen lines
2009 Jun 29
5
Select values at random by id value
All,
I have data that looks like below. For each id there may be more than one
value per day. I want to select a random value for that day for that id.
The end result would hopefully be a matrix with the id as rows, date as
columns and populated by the random hab value. Thanks to someone on here
(Jim) I know how to do the matrix, but now realize I need to randomly select
some of my values.
2009 Jun 27
1
data formatting
All,
I have three columns of data: id, date, hab. I am trying to set up a matrix
that has the id as the rows, date as columns, and the hab value as the data
values. Each id/date combination can only have one hab value. I would like
for it to look something like this"
date 1, date 2, date 3.
id
0001 2 1 2
0002 3 5 6
I don't know how to set
2009 Jul 21
0
Custom Link/Family for lmer
Hello List,
I am modeling a binomial response (nest survival) and I want to incorporate
a random effect, in this case site. I had previously been using glm with a
custom link function, but my understanding is that lmer does not currently
allow a custom link. Therefore, I was investigating if other procedures for
mixed models will allow a custom link function. here is the custom link
function: