Skip to main content
Advice
0 votes
1 replies
29 views

I am running a mixed effects cox model using coxme in R, and I cannot find any information on how to check model assumptions for this type of model. I have seen the older chats, which have recommended ...
Lene's user avatar
  • 33
0 votes
0 answers
44 views

I am fitting a Cox proportional hazards model in Stata and checking the proportional hazards (PH) assumption using estat phtest. Here is how I set up my survival data: stset time, failure(event) ...
Sourav Roy's user avatar
0 votes
0 answers
97 views

I am trying to create a restricted cubic splines plot with the R RMS package and imputed data from the R MICE package. I could not find information on how to combine the different imputations from ...
Fabian Weiss's user avatar
4 votes
1 answer
95 views

I am trying to understand how the predict function works for conditional logit. I tried to calculate it manually but it does not work. Any help would be greatly appreciated. library(survival) set....
Pam G's user avatar
  • 57
0 votes
0 answers
46 views

I'm running a Cox PH Model to examine survival times among a population, and my model outputs fine, except I want to change the categories its using as the reference/baseline (i.e. right now it's ...
floogoo's user avatar
0 votes
1 answer
136 views

I am trying to train a time-independent Cox model on a dataset of ~750,000 rows, as well as a time-dependent one on several million rows. I have 19 variables, some of which are binary and some ...
MKJ's user avatar
  • 338
2 votes
1 answer
66 views

I am plotting a nonlinear generalized additive model (gam) using R's mgcv package: library(mgcv) V <- rep(1, nrow(dt) fit <- gam(cbind(V, group_number) ~ s(time_elapsed, exposure_group, bs='fs'...
Stefan Verweij's user avatar
0 votes
0 answers
16 views

In a model we are developping for a project, we use a Cox Proportional Hazard model. We compared the table from the summary and the tab_model() of the model. What we have observed is the ...
Buczinski's user avatar
4 votes
2 answers
121 views

I am interested in plotting the HR from a coxph() model for a categorical-continuous interaction. Basically estimating the binary HR at multiple values of the continuous predictor and then plotting ...
LucaS's user avatar
  • 1,335
0 votes
0 answers
24 views

Disclaimer: I am new to R and survival analyses so apologies if I don't use the right terms or coding etiquette-figuring it out. In the carcass package, I've used function persistence.prob to develop ...
stalegeck's user avatar
0 votes
0 answers
87 views

I'm trying to do a stepwise Cox regression imputing missing values. As a first step I tried a simple stepwise procedure using the StepReg package but I ran into the following issue: set.seed(123) ...
devster's user avatar
  • 159
0 votes
1 answer
63 views

I made up some dummy data that has a very similar structure as our internal data I cannot share. I would like to know how to prepare it for the Cox Regression. Could you help me to pre-process the ...
Lubomir Burian's user avatar
1 vote
0 answers
44 views

Recently, I learnt about DynNom function which allows one to generate a dynamic nomogram. When I attempted to generate a dynamic nomogram from a Cox model allowing for time varying coefficient after ...
Richard's user avatar
  • 11
1 vote
1 answer
280 views

This question is related to another that I posted here: How to visually assess tt() suitability in coxph? If we have a time-varying HR that arises from a time-dependent coefficient because we have ...
LucaS's user avatar
  • 1,335
0 votes
1 answer
369 views

My first question here. I would like to add a number at risk table to the survival curves from multivariate Cox proportional hazards models that use clustering. ggadjustedcurves will produce the ...
Chris987tape's user avatar

15 30 50 per page
1
2 3 4 5
33