survival-analysis Questions

1

In R, what is the best way to incorporate the interaction term between a covariate and time, when the proportionality test (with coxph) shows that the proportionality assumption in the Cox model is...
Geese asked 24/8, 2017 at 21:13

2

Solved

Is there an easy way to generate a swimmer plot in R? Same data as in a KM curve but with each individual survival represented as a line. Example: I've searched stackoverflow, the R-help mailing...
Viera asked 14/10, 2015 at 16:49

5

Argh! I keep getting the following error when attempting to compute with my neural network: > net.compute <- compute(net, matrix.train2) Error in neurons[[i]] %*% weights[[i]] : non-conforma...

1

I have the following risk table for a Kaplan Meier curve constructed with surv_miner in RStudio: Kaplan Meier curve I would like to string wrap the text in the risk table so that the number is on...
Teetotum asked 21/4, 2018 at 19:7

2

I'm confused how to interpret the output of .predict from a fitted CoxnetSurvivalAnalysis model in scikit-survival. I've read through the notebook Intro to Survival Analysis in scikit-survival and ...

2

I want to perform survival analysis (Kaplan-Meier and Cox PH modelling) on data which is both left and right censored. I'm looking at the time to occurrence of a heart arrhythmia (AF) in the presen...
Thomajan asked 31/1, 2017 at 22:25

1

there is quite a lot of information (internet and textbooks) on how to do survival analysis in R with the survival package. But I don't find any information on how to do this when you have left cen...
Hohenzollern asked 6/2, 2017 at 13:50

0

I would like to implement diagnostics for Cox proportional hazards model with ggplot2, by creating new stats functions and ggproto objects. The idea is to benefit from grouping (by color, facet_gri...
Whinny asked 20/3, 2017 at 21:51

1

Solved

I'm trying to run a survival analysis in R using the survival package. I have right-censored data only (time to event, then event "1" or censor "0"). I created a survival object using the Surv func...
Sapphira asked 15/2, 2017 at 7:51

1

Solved

My doubt is if it is possible to pool multiple imputation data set, from "mice()", on a fit model of Fine-Gray from "crr()", and if it is statistically correct... example librar...
G asked 22/1, 2017 at 18:30

2

I have a modeled a problem using Cox's regression and now want to predict the estimated survival time for an individual. The model has a list of covariates on which the survival time depends. This ...
Granlund asked 13/2, 2015 at 2:58

0

I am trying to find a way to model Survival Models for Recurrent Events in Python, especially the Counting process approach using CoxPH. In Counting Process Approach, it is expecting start-time and...
Myxomatosis asked 20/6, 2016 at 15:1

1

Solved

I have binned data I'm trying to perform a survival analysis on, example data below. n is a count of units at each group, time, failure indicator combination. > df <- structure(list(group = ...
Spherical asked 8/6, 2016 at 19:46

2

Solved

I am puzzled at a behaviour of a function that I am trying to write. My example comes from the survival package but I think that the question is more general than that. Basically, the following cod...
Prakash asked 21/5, 2016 at 15:6

2

Solved

I am currently working on a meta-analysis of survival data across several clinical trials. To do this, I have code from a published analysis using the same methodology. However, when running this ...
Bummalo asked 17/8, 2015 at 19:16

1

Solved

I tried to port simple survival model from here (the first one in introduction) form PyMC 2 to PyMC 3. However, I didn't find any equivalent to "observed" decorator and my attempt to write a new di...
Stonefly asked 25/2, 2014 at 13:2

1

Solved

I'm using rfsrc to model a survival problem, like this: library(OIsurv) library(survival) library(randomForestSRC) data(burn) attach(burn) library(randomForestSRC) fit <- rfsrc(Surv(T1, D1) ...
Along asked 9/8, 2015 at 12:37

1

The muhaz package estimates the hazard function from right censored data using kernel smoothing methods. My question is, is there any way to obtain confidence intervals for the hazard functio...
Miltonmilty asked 16/2, 2015 at 14:23

2

I've been looking for a solution to plot survival curves using ggplot2. I've found some nice examples, but they do not follow the whole ggplot2 aesthetics (mainly regarding shaded confidence interv...
Demetriusdemeyer asked 7/4, 2014 at 19:35

1

I have data called veteran stored in R. I created a survival model and now wish to predict survival probability predictions. For example, what is the probability that a patient with 80 karno value,...
Cattan asked 10/12, 2014 at 19:3

1

Solved

I am new to survival analysis and survfit in R. I want to extract survival probabilities for 4 groups (diseases) at specified time periods (0,10,20,30 years since diagnosis) in a table. Here is the...
Southwick asked 29/10, 2014 at 21:42

2

Solved

I want to compute the AIC value for my survival analysis objects (suvfit/coxph). When I try to do it, it says: > AIC(cox) Error in UseMethod("logLik") : no applicable method for 'logLik' app...
Empiric asked 30/10, 2013 at 10:2

1

Solved

Hi I am totally new to R. This is my first attempt at it. I am producing a survival plot broken down by age. I can't figure out how to specify colours for each age line and put it in a legend. Can ...
Pinchbeck asked 13/7, 2014 at 15:27

1

Solved

I'm trying to use the R survival package, to produce a plot of log(-log(survival)) against log(time) (This is something sometimes recommended as a way to visually inspect for accelerated lifetime ...
Desmoid asked 15/3, 2014 at 10:42

1

Solved

I'm having some trouble using coxph(). I've two categorical variables:"tecnologia" and "pais", and I want to evaluate the possible interaction effect of "pais" on "tecnologia"."tecnologia" is a var...
Radiotransparent asked 7/1, 2014 at 16:55

© 2022 - 2024 — McMap. All rights reserved.