Displaying 20 results from an estimated 500 matches similar to: "using crr in cmprsk"
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 Aug 20
0
cmprsk and a time dependent covariate in the model
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
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 ?).
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 =
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 = ",",
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
2013 Jan 02
0
Plot of Fine and Gray model
Dear all,
Happy New year!
I have used the 'crr' function to fit the 'proportional subdistribution
hazards' regression model described in Fine and Gray (1999).
dat1 is a three column dataset where:
- ccr is the time to event variable
- Crcens is an indicator variable equal to 0 if the event was achieved, 1
if the event wasn't acheived due to death or 2 if the event wasn't
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 Jun 23
0
Fractional Polynomials in Competing Risks setting
Dear All,
I have analysed time to event data for continuous variables by
considering the multivariable fractional polynomial (MFP) model and
comparing this to the untransformed and log transformed model to
determine which transformation, if any, is best. This was possible as
the Cox model was the underlying model. However, I am now at the
situation where the assumption that the competing risks
2015 May 17
0
That 'make check-all' problem with the survival package
------------------------------
On Sat, May 16, 2015 2:33 PM BST Marc Schwartz wrote:
>
>> On May 16, 2015, at 6:11 AM, Hin-Tak Leung <htl10 at users.sourceforge.net> wrote:
>>
>>
>>
>> ------------------------------
>> 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
2007 Jul 05
0
speed up crr function in cmprsk package
I am trying to use the crr function in the cmprsk package to analyze a large
patient dataset (45000 +), The model has 100 + covariates and 5 competing
risks. I am finding that R seems to get bogged down and even if I let it run
for several hours I don't get anything back. Am I expecting too much, or are
there ways to speed up the process? Any help is appreciated.
Best,
Spencer
2005 Sep 09
0
strata in crr (cmprsk library)
Hi all, I am aware that crr lacks the "friendly" command structure of
functions such as cph. All is clear to me about including covariates
until I want to include a stratification term in the competing risk
framework (no nice strat command).
I am still a bit of a novice in R - I am looking for an example to help
me with this, but can't seem to find one. Any advice appreciated (no
2011 Mar 24
3
Longitudinal categorical response data
Dear List,
I have some longitudinal data, each patient was followed at times 0, 12, 16, 24 weeks and measure severity of a illness (0-worse, 1-same, 2-better). So, longitudinal response is categorical. I was wondering whether lmer in R can fit a model for this type of data. If so, how we code? Or any other function in R that can fit this type of longitudinal data? Any suggestion would be
2008 Dec 09
1
controlling axes in plot.cuminc (cmprsk library)
Dear R-help list members,
I am trying to create my own axes when plotting a cumulative incidence
curve using the plot.cuminc function in the CMPRSK library. The default
x-axis places tick marks and labels at 0, 20, 40, 60, and 80 (my data has
an upper limit of 96), whereas I want them at my own specified locations.
Here is my example code:
library(cmprsk)
attach(MYDATA)
MYCUMINC <-
2011 Jul 20
0
Competing risk regression with CRR slow on large datasets?
Hi,
I posted this question on stats.stackexchange.com 3 days ago but the
answer didn't really address my question concerning the speed in
competing risk regression. I hope you don't mind me asking it in this
forum:
I?m doing a registry based study with almost 200 000 observations and
I want to perform a competing risk analysis. My problem is that the
crr() in the cmprsk package is
2008 Apr 11
2
Help load a package into R
Dear R List,
I want to download kinship_1.2_S.tar.gz in http://mayoresearch.mayo.edu/mayo/research/biostat/splusfunctions.cfm
to R. Once save this file to C:\, how I could load into R? I am working in Windows XP. Usually what I do is, I go to "packages" and then "install packages from local zip files". This procedure fails for .tar.gz files. Can someone help here please....
2011 Apr 27
2
ROCR for combination of markers
Dear list
I have 5 markers that can be used to detect an infection in combination. Could you please advise me how to use functions in ROCR/ other package to produce the ROC curve for a combination of markers?
I have used the following to get ROC statistics for each marker.
pred <- prediction(y$marker1, y$infectn)
perf <-performance(pred,"tpr","fpr")
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)
2008 Mar 27
0
competing risks regression
Dear R users,
I used crr function in R package 'cmprsk' to fit a competing risks
model. There were no any error or
warning messages during running the function, but the output was obvious
not correct.
I saved the model fit as an object called f.crr. I extracted bfitj from
the object by doing f.crr$bfitj, and found
values of bfitj were extremely large (around 1e+138). I tried all
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