Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 340322

Use this tag for any *on-topic* question that (a) involves `R` either as a critical part of the question or expected answer, & (b) is not *just* about how to use `R`.

0 votes
1 answer
223 views

Follow-up time with too many zeros?

I have a dataset of 1500 patients for a time-to-event study. Almost half the population died at the moment of inclusion into the study which means that they have had a follow-up time of zero. Now I wa …
Fabian's user avatar
  • 51
1 vote
1 answer
2k views

Missing data in survival analysis (time-to-event; event)

I am performing survival analysis (Kaplan-Meier, Cox-regression) for 1500 patients. I noticed that I have missing values for 15 patients in regards to their time-to-event and their dichotomous outcome …
Fabian's user avatar
  • 51
1 vote
1 answer
70 views

Visualizing restricted cubic splines in glm.nb

I am trying to visualize the relationship between a continuous variable ("marker") and a count variable ("count") using a negative binomial regression with a restricted cubic spline term. Now I wanted …
Fabian's user avatar
  • 51
1 vote
1 answer
354 views

Can one use NRI and IDI in regularized cox-regression?

I have a dataset with 1500 patients for which I want to predict the outcome of death. I wanted to utilize multivariate cox-regression in a model containing biomarkers and other covariates. I was told …
Fabian's user avatar
  • 51
0 votes
2 answers
243 views

Significant Kaplan-meier curves

I am currently doing some research on cardiac arrests in R. I've constructed some Kaplan-Meier curves, which showed me a significant p-value for the log-rank test. …
Fabian's user avatar
  • 51
0 votes
1 answer
70 views

Cox regression with two-way interaction and interaction p value

Hi I am using Cox regression to do some survival analysis. I have one continous predictor variable called "biomarker" and two binary categorical variables sex and diabetes. I want to get the interacti …
Fabian's user avatar
  • 51