DORSETRIGS
Home

survival-analysis (16 post)


posts by category not found!

Error in survfit function from "survival" package: "Error in strata(mf[ll]) : all arguments must be the same length"

Demystifying the Error in strata mf ll all arguments must be the same length in the survfit Function When using the survfit function in Rs survival package to c

3 min read 05-10-2024 43
Error in survfit function from "survival" package: "Error in strata(mf[ll]) : all arguments must be the same length"
Error in survfit function from "survival" package: "Error in strata(mf[ll]) : all arguments must be the same length"

Is there a R function to use SHAP with the result of rfsrc

Understanding SHAP Values with rfsrc in R The popularity of machine learning models has led to a growing need for interpretability especially for complex models

3 min read 30-09-2024 51
Is there a R function to use SHAP with the result of rfsrc
Is there a R function to use SHAP with the result of rfsrc

Weird Survival curves with confidence intervals in R

Weird Survival Curves with Confidence Intervals in R Survival analysis is a crucial statistical method used primarily in medical research but it can also be app

3 min read 23-09-2024 56
Weird Survival curves with confidence intervals in R
Weird Survival curves with confidence intervals in R

Showing survival probability in % on y-axis for different time-points

Analyzing Survival Probability Over Time A Guide to Visualization In medical research understanding survival probabilities at various time points is crucial for

3 min read 20-09-2024 45
Showing survival probability in % on y-axis for different time-points
Showing survival probability in % on y-axis for different time-points

How to get an overlying 1-surv curve on the competing risk outcome graph (Cumulative Incidence) graph

How to Overlay a 1 Survival Curve on Competing Risk Cumulative Incidence Graphs In survival analysis particularly in scenarios involving competing risks visual

2 min read 17-09-2024 64
How to get an overlying 1-surv curve on the competing risk outcome graph (Cumulative Incidence) graph
How to get an overlying 1-surv curve on the competing risk outcome graph (Cumulative Incidence) graph

R survival package: survfit.coxph error when using timeline-style data

Understanding the survfit coxph Error with Timeline Style Data in Rs Survival Package When working with survival analysis in R the survfit coxph function from t

2 min read 16-09-2024 50
R survival package: survfit.coxph error when using timeline-style data
R survival package: survfit.coxph error when using timeline-style data

Fitting of nls model in R - manual versus brute force issues

Fitting NLS Models in R Manual vs Brute Force Approaches The process of fitting Nonlinear Least Squares NLS models in R is an essential task for data scientists

3 min read 14-09-2024 45
Fitting of nls model in R - manual versus brute force issues
Fitting of nls model in R - manual versus brute force issues

Time-varying coefficients based on binary variables

Understanding Time Varying Coefficients Based on Binary Variables Time varying coefficients are an essential concept in econometrics and statistics that allows

2 min read 14-09-2024 46
Time-varying coefficients based on binary variables
Time-varying coefficients based on binary variables

How to fit a time-varying cox model to my survival data with categorical variables using CoxTimeVaryingFitter from lifelines library in python

Fitting a Time Varying Cox Model with Categorical Variables Using Lifelines in Python In the realm of survival analysis the Cox proportional hazards model is a

3 min read 14-09-2024 60
How to fit a time-varying cox model to my survival data with categorical variables using CoxTimeVaryingFitter from lifelines library in python
How to fit a time-varying cox model to my survival data with categorical variables using CoxTimeVaryingFitter from lifelines library in python

How to enter censored data into R's survival model?

Handling Censored Data in Rs Survival Models A Guide for Customer Lifetime Analysis When analyzing customer lifetime data you often encounter censored observati

2 min read 06-09-2024 52
How to enter censored data into R's survival model?
How to enter censored data into R's survival model?

In Survival Analysis with R, what is the purpose of the `surv`function in the Cox Proportional Hazards Model?

Understanding the surv Function in Rs Cox Proportional Hazards Model The surv function in Rs survival package is a crucial component when working with survival

2 min read 06-09-2024 44
In Survival Analysis with R, what is the purpose of the `surv`function in the Cox Proportional Hazards Model?
In Survival Analysis with R, what is the purpose of the `surv`function in the Cox Proportional Hazards Model?

Surv function input - right,left or interval censored? In R

Understanding Censored Data in Survival Analysis with R A Practical Guide Survival analysis is a powerful tool for studying the time until an event of interest

3 min read 05-09-2024 46
Surv function input - right,left or interval censored? In R
Surv function input - right,left or interval censored? In R

How can I specify and visualize an interaction in a rms cph model without the main effects included, i.e. with column?

Visualizing Interaction in a Cox Proportional Hazards Model without Main Effects When working with Cox Proportional Hazards Cox PH models using the rms package

3 min read 02-09-2024 51
How can I specify and visualize an interaction in a rms cph model without the main effects included, i.e. with column?
How can I specify and visualize an interaction in a rms cph model without the main effects included, i.e. with column?

ggsurvplot not displaying combined survival curve with add.all = TRUE when Faceting

Adding a Combined Survival Curve in ggsurvplot with Faceting This article addresses a common challenge faced by R users working with survival analysis and the s

2 min read 01-09-2024 52
ggsurvplot not displaying combined survival curve with add.all = TRUE when Faceting
ggsurvplot not displaying combined survival curve with add.all = TRUE when Faceting

NA values when using avg_predictions() from marginaleffects with a flexsurv model

Understanding NA Values in avg predictions with flexsurv Models A Deep Dive This article addresses a common issue encountered when using the avg predictions fun

2 min read 30-08-2024 51
NA values when using avg_predictions() from marginaleffects with a flexsurv model
NA values when using avg_predictions() from marginaleffects with a flexsurv model

How to manually calculate survival probabilities using flexsurvspline models

Manually Calculating Survival Probabilities from flexsurvspline Models A Step by Step Guide The flexsurvspline function in Rs flexsurv package provides a powerf

3 min read 29-08-2024 58
How to manually calculate survival probabilities using flexsurvspline models
How to manually calculate survival probabilities using flexsurvspline models