Displaying 20 results from an estimated 300 matches similar to: "Error in Comprting Risks Regression"
2009 Aug 02
1
Competing Risks Regression with qualitative predictor with more than 2 categories
Hello,
I have a question regarding competing risk regression using cmprsk package (function crr()). I am using R2.9.1. How can I do to assess the effect of qualitative predictor (gg) with more than two categories (a,b,c) categorie c is the reference category. See above results, gg is considered like a ordered predictor !
Thank you for your help
Jan
> # simulated data to test
> set.seed(10)
2009 Feb 27
2
Competing risks adjusted for covariates
Dear R-users
Has anybody implemented a function/package that will compute an individual's risk of an event in the presence of competing risks, adjusted for the individual's covariates?
The only thing that seems to come close is the cuminc function from cmprsk package, but I would like to adjust for more than one covariate (it allows you to stratify by a single grouping vector).
Any
2009 Mar 25
2
Competing risks Kalbfleisch & Prentice method
Dear R users
I would like to calculate the Cumulative incidence for an event
adjusting for competing risks and adjusting for covariates. One way to
do this in R is to use the cmprsk package, function crr. This uses the
Fine & Gray regression model. However, a simpler and more classical
approach would be to implement the Kalbfleisch & Prentice method (1980,
p 169), where one fits cause
2009 Oct 27
1
Error in solve.default peforming Competing risk regression
Dear all,
I am trying to use the crr function in the cmprsk
package version 2.2 to analyse 198 observations.I have receive the
error in solve.default.
Can anyone give me some
insights into where the problem is?
Thanks
here is my script :
cov=cbind(x1,x2)
z<-crr(ftime,fstatus,cov))
and data file:
x1 x2 fstatus ftime
0 .02 1 263
0 .03 1 113
0 .03 1 523
2008 Aug 22
1
Help on competing risk package cmprsk with time dependent covariate
Dear R users,
I d like to assess the effect of "treatment" covariate on a disease relapse risk with the package cmprsk.
However, the effect of this covariate on survival is time-dependent
(assessed with cox.zph): no significant effect during the first year of follow-up,
then after 1 year a favorable effect is observed on survival (step
function might be the correct way to say that ?).
2013 Oct 18
1
crr question in library(cmprsk)
Hi all
I do not understand why I am getting the following error message. Can
anybody help me with this? Thanks in advance.
install.packages("cmprsk")
library(cmprsk)
result1 <-crr(ftime, fstatus, cov1, failcode=1, cencode=0 )
one.pout1 = predict(result1,cov1,X=cbind(1,one.z1,one.z2))
predict.crr(result1,cov1,X=cbind(1,one.z1,one.z2))
Error: could not find function
2008 Jun 17
1
A new task view on survival analysis
Dear all,
A new task view on survival analysis
is now online.
It attempts to deal with all the R-packages
that permit to analyze time-to-event data.
Any comments or suggestions to improve
the task view are very welcome.
Best regards,
Arthur Allignol
Freiburg Center for Data Analysis and Modeling,
Freiburg University, Germany
2009 Jun 25
2
crr - computationally singular
Dear R-help,
I'm very sorry to ask 2 questions in a week. I am using the package
'crr' and it does exactly what I need it to when I use the dataset a.
However, when I use dataset b I get the following error message:
Error in drop(.Call("La_dgesv", a, as.matrix(b), tol, PACKAGE = "base")) :
system is computationally singular: reciprocal condition number =
2007 Aug 07
1
Functions for autoregressive Regressionmodels (Mix between times series and Regression Models) ?
Hello everybody,
I've a question about "autoregressive Regressionmodels".
Let Y[1],.....,Y[n], be a time series.
Given the model:
Y[t] = phi[1]*Y[t-1] + phi[2]*Y[t-1] + ... + phi[p]*Y[t-p] + x_t^T*beta + u_t,
where x_t=(x[1t],x[2t],....x[mt]) and beta=(beta[1],...,beta[m]) and u_t~(0,1)
I want to estimate the coefficients phi and beta.
Are in R any functions or packages for
2009 May 26
3
split strings
Hi everybody,
I have a vector of characters and i would like to extract certain parts. My vector is named metr_list:
[1] "F:/Naval_Live_Oaks/2005/data//BE.tif"
[2] "F:/Naval_Live_Oaks/2005/data//CH.tif"
[3] "F:/Naval_Live_Oaks/2005/data//CRR.tif"
[4] "F:/Naval_Live_Oaks/2005/data//HOME.tif"
And i would like to extract BE, CH, CRR, and HOME in a
2009 May 26
3
split strings
Hi everybody,
I have a vector of characters and i would like to extract certain parts. My vector is named metr_list:
[1] "F:/Naval_Live_Oaks/2005/data//BE.tif"
[2] "F:/Naval_Live_Oaks/2005/data//CH.tif"
[3] "F:/Naval_Live_Oaks/2005/data//CRR.tif"
[4] "F:/Naval_Live_Oaks/2005/data//HOME.tif"
And i would like to extract BE, CH, CRR, and HOME in a
2011 Jun 24
1
Competing-risks nomogram
Hi R users,
I'd like to draw a nomogram using a competing-risks regression (crr function
in R), rather than a cox regression. However, the nomogram function provided
in the Design package is not good for this purpose.
Do you have any suggestion.
I really appreciate your help
Many thanks
F.Abdollah, MD
San-Raffele hospital
Milan, Italy
--
View this message in context:
2013 Oct 04
3
Survival
Hola Carlos.
Muchas gracias.
No es exactamente lo que estoy buscando (sería genial ver que alguien tiene un paquete con la prueba de Nam-D'Agostino) pero puedo aprovechar algo de código.
Encontré alguna referencia al test de Gronnesby&Borgan en el paquete stcoxgof de Stata, pero estoy torpe para encontrar algo hecho en R (y me extraña que no haya nada)
Un saludo,
Miguel.
De: Carlos
2008 Mar 31
1
unexpected GAM result - at least for me!
Hi
I am afraid i am not understanding something very fundamental.... and does not matter how much i am looking into the book "Generalized Additive Models" of S. Wood i still don't understand my result.
I am trying to model presence / absence (presence = 1, absence = 0) of a species using some lidar metrics (i have 4 of these). I am using different models and such .... and when i
2001 Nov 23
1
Changing strip widths in lattice plots
Hello R users,
I'm using xyplot (lattice) to plot some data. Unfortunately, the text that goes
into each strip is often too big to fit. For instance, one of the factors may
be labelled "Satisfaction with waiting time" which is too wide to fit. If I use
split.string() to wrap it onto two lines it is then too high to fit in the
strip. I'd prefer to apply split.string on the
2015 May 16
1
That 'make check-all' problem with the survival package
'make check-all' for current R has been showing this error in the middle
for a few months now - any thought on fixing this? I think cmprsk
should be either included in the recommended bundle, or
the survival vignette to not depend on it. Having 'make check-all' showing
glaring ERROR's for a few months seems to defeat the purpose of
doing any checking at all via 'make
2015 May 16
2
That 'make check-all' problem with the survival package
------------------------------
On Sat, May 16, 2015 8:04 AM BST Uwe Ligges wrote:
>Not sure why this goes to R-devel. You just could have asked the
>maintainer. Terry Therneau is aware of it and promised he will fix it.
>
The quickest fix is to add cmprsk to the recommended list , and that's is an R-devel issue.
>On 16.05.2015 07:22, Hin-Tak Leung wrote:
>> 'make
2009 May 05
3
Cox Proportional Hazard with missing covariate data
Dear friends,
I have used R for some time now and have a tricky question about the coxph-function: To sum it up, I am not sure whether I can use coxph in conjunction with missing covariate data in a model with time-variant covariates. The point is: I know how "old" every piece that I oberserve is, but do not have fully historical information about the corresponding covariates. Maybe you
2008 Aug 22
0
Re : Help on competing risk package cmprsk with time dependent covariate
Hello again,
I m trying to use timereg package as you suggested (R2.7.1 on XP Pro).
here is my script based on the example from timereg for a fine & gray model in which
relt = time to event, rels = status 0/1/2 2=competing, 1=event of interest, 0=censored
random = covariate I want to test
library(timereg)
rel<-read.csv("relapse2.csv", header = TRUE, sep = ",",
2008 Mar 27
1
dreaded p-val for d^2 of a glm / gam
OK,
I really dread to ask that .... much more that I know some discussion about p-values and if they are relevant for regressions were already on the list. I know to get p-val of regression coefficients - this is not a problem. But unfortunately one editor of a journal where i would like to publish some results insists in giving p-values for the squared deviance i get out from different glm and