Skip to content

The repository contains R scripts we used for the master thesis "Risk Prediction Model: Assessing the evolution of risk factors to use in the calculation of new dynamic risk scores".

Notifications You must be signed in to change notification settings

adhithya-unni/Risk_Prediction_Model-R_Script

Repository files navigation

Risk_Prediction_Model-R_Script

The repository contains R scripts we used for the master thesis "Risk Prediction Model: Assessing the evolution of risk factors to use in the calculation of new dynamic risk scores". The source code can be access via this Githut link https://github.com/adhithya-unni/Risk_Prediction_Model-R_Script/tree/main.

Data extractions and preprocessing

"Data_extraction.R" file contains all the extractions we have done from the IMA database. Make sure to run this file first.

Cohort analysis

"Cohort_analysis.R" file contains a step-by-step analysis of the target cohort and this file should be run after the "Data_extraction.R".

Exploratory analysis

"Exploratory_analysis.R" contains all the visualizations and exploration. Make sure to run this file after "Cohort_analysis.R".

Imputation

The missing data exploration, assumption testing, imputation, and analysis are performed in the file " Imputation_30%.R". Make sure to run this file after "Cohort_analysis.R"

Models and Predictions

Please make sure to run "Data Processing for Analysis.R" script before running "Survival Analysis.R", "Final JM Men.R" and "Final JM Women.R"

About

The repository contains R scripts we used for the master thesis "Risk Prediction Model: Assessing the evolution of risk factors to use in the calculation of new dynamic risk scores".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages