diff --git a/Data/dat_cs2.rda b/Data/dat_cs2.rda new file mode 100644 index 0000000..b1194cf Binary files /dev/null and b/Data/dat_cs2.rda differ diff --git a/Report/case_study_1.html b/Report/case_study_1.html index 236c58e..ee16563 100644 --- a/Report/case_study_1.html +++ b/Report/case_study_1.html @@ -171,7 +171,7 @@

Illustrative case study 1

Thomas Debray

-

This report was generated on 03 oktober, 2022

+

This report was generated on 11 oktober, 2022

@@ -604,7 +604,7 @@

Results

-0.33 0.07 -0.46 ; -0.20 -0.00 +0.01 DSR NNM @@ -612,7 +612,7 @@

Results

0.02 0.08 -0.14 ; 0.17 -0.06 +0.08 DSR OFM @@ -620,7 +620,7 @@

Results

0.07 0.06 -0.06 ; 0.19 -2.62 +2.78 DSR IPW @@ -636,7 +636,7 @@

Results

0.04 0.06 -0.08 ; 0.17 -0.06 +0.04 diff --git a/Report/case_study_2.Rmd b/Report/case_study_2.Rmd index d2d82bc..d780d44 100644 --- a/Report/case_study_2.Rmd +++ b/Report/case_study_2.Rmd @@ -20,14 +20,15 @@ library(ggplot2) library(rms) ``` - +# Data source ```{r} ################################################################################ # Prepare data ################################################################################ # Fetch IST v2.0 from the web -d <- read.csv("https://datashare.ed.ac.uk/bitstream/handle/10283/124/IST%20dataset%20supp1%20%281%29%20trials%202011.csv?sequence=4&isAllowed=y") +#d <- read.csv("https://datashare.ed.ac.uk/bitstream/handle/10283/124/IST%20dataset%20supp1%20%281%29%20trials%202011.csv?sequence=4&isAllowed=y") +load("../Data/dat_cs2.rda") dat <- data.frame(HOSPNUM = d$HOSPNUM, OCCODE = d$OCCODE, diff --git a/Report/case_study_2.html b/Report/case_study_2.html index 6ae1790..8a606bc 100644 --- a/Report/case_study_2.html +++ b/Report/case_study_2.html @@ -171,11 +171,13 @@

Illustrative case study 2

Thomas Debray

-

This report was generated on 29 september, 2022

+

This report was generated on 11 oktober, 2022

+
+

Data source

The International Stroke Trial (IST) was a large, multi-center, randomized, placebo-controlled trial including 19435 stroke patients. Individual participant data are available from Edinburgh DataShare. The IST evaluated the effect of Aspirin on a primary composite outcome of death or dependency (i.e. absence of autonomy) at 6 months (binary outcome). In this illustrative case study, we focus on 9148 patients from IST database version 2 that were randomized to receive Aspirin.

We excluded patients with

+

Estimation of the treatment effect

We consider the Expanded Disability Status Scale (EDSS) measured 36 weeks after baseline as the primary outcome. Subsequently, we estimate the ATT in the simulated observation study using five approaches:

@@ -617,21 +620,21 @@

Results

-0.01 0.01 -0.04 ; 0.01 -1.07 +1.19 DSR OFM 0.00 0.01 -0.02 ; 0.02 -73.26 +83.33 DSR IPW -0.01 0.01 -0.03 ; 0.01 -0.08 +0.10 DSR TDW