Open mbcann01 opened 1 year ago
CC models can be really useful, and Malcolm Barrett developed an R package we can use to create them. Let's first walk through creating a SCC pie, and then discuss how we can use it to reason about causal inference.
# Load the packages we will need below
library(dplyr, warn.conflicts = FALSE)
library(causalpie)
Overview
In the Fall of 2023, I moved over a bunch of stuff from PowerPoint slides (nearly) verbatim. I was in a rush, so I told myself to move it just move it over and improve it later.
This chapter needs a lot of beefing up. Maybe just start with translating chapter 3 of Modern Epidemiology.
The causalpie package
Currently, the causalpie package isn't working. I submitted and issue here. If I get time, I may try to fix it myself. For now, I will have to just use the PowerPoint slides.
Left off at
2023-10-06: Moved over the PP slides. There is still a lot of cleaning up to do.
Tasks