Displaying 20 results from an estimated 4000 matches similar to: "Coxph frailty model counting process error X matrix deemed singular"
2006 Feb 26
0
frailty in coxph or repeated measures in cph (Design)
I am trying to build a model to aid a clinical decision. Certain patients have a blood marker measured at each visit - a rise of this may indicate recurrence of the cancer after treatment (endpoint is "clinical recurrence", censored). In a proportion (up to 30%), this rise is a false positive - hence I wish to correlate factors at the time of the rising test to clinical recurrence,
2009 Jan 07
0
Frailty by strata interactions in coxph (or coxme)?
Hello,
I was hoping that someone could answer a few questions for me (the background is given below):
1) Can the coxph accept an interaction between a covariate and a frailty term
2) If so, is it possible to
a) test the model in which the covariate and the frailty appear as main terms using the penalized likelihood (for gaussian/t frailties)
b)augment model 1) by stratifying on the variable that
2007 Apr 20
1
Approaches of Frailty estimation: coxme vs coxph(...frailty(id, dist='gauss'))
Dear List,
In documents (Therneau, 2003 : On mixed-effect cox
models, ...), as far as I came to know, coxme penalize
the partial likelihood (Ripatti, Palmgren, 2000) where
as frailtyPenal (in frailtypack package) uses the
penalized the full likelihood approach (Rondeau et al,
2003).
How, then, coxme and coxph(...frailty(id,
dist='gauss')) differs? Just the coding algorithm, or
in
2004 Nov 08
1
coxph models with frailty
Dear R users:
I'm generating the following survival data:
set.seed(123)
n=200 #sample size
x=rbinom(n,size=1,prob=.5) #binomial treatment
v=rgamma(n,shape=1,scale=1) #gamma frailty
w=rweibull(n,shape=1,scale=1) #Weibull deviates
b=-log(2) #treatment's slope
t=exp( -x*b -log(v) + log(w) ) #failure times
c=rep(1,n) #uncensored indicator
id=seq(1:n) #individual frailty indicator
2006 Sep 22
0
$theta of frailty in coxph
Dear all,
Does the frailty.object$history[[1]]$theta returns the Variance of random
effect?
Why is the value different? Here is an example with kidney data:
> library(survival)
> data(kidney)
> frailty.object<-coxph(Surv(time, status)~ age + sex + disease +
frailty(id), kidney)
> frailty.object
Call:
coxph(formula = Surv(time, status) ~ age + sex + disease + frailty(id),
data
2003 Aug 04
1
coxph and frailty
Hi:
I have a few clarification questions about the elements returned by
the coxph function used in conjuction with a frailty term.
I create the following group variable:
group <- NULL
group[id<50] <- 1
group[id>=50 & id<100] <- 2
group[id>=100 & id<150] <- 3
group[id>=150 & id<200] <- 4
group[id>=200 & id<250] <- 5
group[id>=250
2011 Jun 25
2
cluster() or frailty() in coxph
Dear List,
Can anyone please explain the difference between cluster() and
frailty() in a coxph? I am a bit puzzled about it. Would appreciate
any useful reference or direction.
cheers,
Ehsan
> marginal.model <- coxph(Surv(time, status) ~ rx + cluster(litter), rats)
> frailty.model <- coxph(Surv(time, status) ~ rx + frailty(litter), rats)
> marginal.model
Call:
coxph(formula =
2002 Oct 08
2
Frailty and coxph
Does someone know the rules by which 'coxph' returns 'frail', the
predicted frailty terms? In my test function:
-----------------------------------------------
fr <- function(){
#testing(frailty terms in 'survival'
require(survival)
dat <- data.frame(exit = 1:6,
event = rep(1, 6),
x = rep(c(0, 1), 3),
2006 Sep 21
0
frailty in coxph
Dear all,
I have been doing some frailty calculations and been facing some
difficulties.
I can extract coefficients, value of theta and the following things
library(survival)
fit<-coxph(Surv(time,status)~covariate+frailty(group), data=simulated.data)
fit$coef
fit$history[[1]]$theta
fit$history[[1]]$c.loglik
fit$var
fit$var2
from a frailty included coxph object:
but how can i know what other
2007 Mar 14
0
Wald test and frailty models in coxph
Dear R members,
I am new in using frailty models in survival analyses and am getting
some contrasting results when I compare the Wald and likelihood ratio
tests provided by the r output.
I am testing the survivorship of different sunflower interspecific
crosses using cytoplasm (Cyt), Pollen and the interaction Cyt*Pollen
as fixed effects, and sub-block as a random effect. I stratified
2009 Aug 31
2
How to extract the theta values from coxph frailty models
Hello,
I am working on the frailty model using coxph functions. I am running
some simulations and want to store the variance of frailty (theta)
values from each simulation result. Can anyone help me how to extract
the theta values from the results. I appreciate any help.
Thanks
Shankar Viswanathan
2010 Apr 26
1
Interpreting output of coxph with frailty.gamma
Dear all,
this is probably a very silly question, but could anyone tell me what the
different parameters in a coxph model with a frailty.gamma term mean?
Specifically I have two questions:
(1) Compared to a "normal" coxph model, it seems that I obtain two standard
errors [se(coef) and se2].
What is the difference between those?
(2) Again compared to a "normal" coxph model,
2012 Dec 03
1
fitting a gamma frailty model (coxph)
Dear all,
I have a data set<http://yaap.it/paste/c11b9fdcfd68d02b#gIVtLrrme3MaiQd9hHy1zcTjRq7VsVQ8eAZ2fol1lUc=>with
6 clusters, each containing 48 (possibly censored, in which case
"event = 0") survival times. The "x" column contains a binary explanatory
variable. I try to describe that data with a gamma frailty model as follows:
library(survival)
mod <-
2005 Jul 21
1
output of variance estimate of random effect from a gamma frailty model using Coxph in R
Hi,
I have a question about the output for variance of random effect from a gamma
frailty model using coxph in R. Is it the vairance of frailties themselves or
variance of log frailties? Thanks.
Guanghui
2017 Jun 23
0
Plot survival curves after coxph() with frailty() random effects terms
I would like to plot a survival curves of a group with different categories
after running a Cox model with frailty() random effects terms.
I just could display a survival plot of the covariable?s mean.
Here an example:
library(survival)
fit<-coxph(Surv(time, status) ~ sex+ frailty(litter, dist='gamma',
method='em'), rats)
summary(fit )
suf<-survfit(fit)
plot(suf,
2007 Oct 19
1
X matrix deemed to be singular in counting process coxph
Dear all,
I have a question with respect to counting process formulation of the
coxph(survival) model.
I have two groups of observations for which I have partitioned each
observation into two distinct time intervals, namely, entry day till day 13,
and day 13 till death or censorship day (of course the latter only for the
observations that survived the first 13 day interval), and added a
2007 Apr 17
3
Extracting approximate Wald test (Chisq) from coxph(..frailty)
Dear List,
How do I extract the approximate Wald test for the
frailty (in the following example 17.89 value)?
What about the P-values, other Chisq, DF, se(coef) and
se2? How can they be extracted?
######################################################>
kfitm1
Call:
coxph(formula = Surv(time, status) ~ age + sex +
disease + frailty(id,
dist = "gauss"), data = kidney)
2006 Sep 19
0
How to interpret these results from a simple gamma-frailty model
Dear R users,
I'm trying to fit a gamma-frailty model on a simulated dataset, with 6 covariates, and I'm running into some results I do not understand. I constructed an example from my simulation code, where I fit a coxph model without frailty (M1) and with frailty (M2) on a number of data samples with a varying degree of heterogeneity (I'm running R 2.3.1, running takes ~1 min).
2008 Jan 16
1
exact method in coxph
I'm trying to estimate a cox proportional hazards regression for repeated
events (in gap time) with time varying covariates. The dataset consists of
just around 6000 observations (lines) (110 events).
The (stylized) data look as follows:
unit dur0 dur1 eventn event ongoing x
1 0 1 0 0 0 32.23
1 1 2 0 1 1 35.34
1
2011 Apr 05
0
frailty
Hi R-users
I spend a lot of time searching on the web but I didn?t found a clear
answer.
I have some doubts with 'frailty' function of 'survival' package.
The following model with the function R ?coxph? was fitted:
modx <- coxph(Surv(to_stroke, stroke) ~ age + sbp + dbp + sex +
frailty(center,distribution = "gamma", method='aic'), data=datax)
Then I get