epicmodel
is short for “Causal Modeling in Epidemiology” and wants
to offer all necessary tools for a causal modeling workflow in R for
epidemiologists. Causal modeling describes a structured process of
making causal assumptions based on which an epidemiological study is
conducted and its results are interpreted. We are always making causal
assumptions, at least implicitly. Causal modeling is about doing so
explicitly. Did you ever wonder what to measure, how to define your
variables, or how to model your outcome of interest? If yes, chances are
you need to think about your causal model in more detail.
Causal models are created by making causal assumptions (i.e., that
variable A causes variable B) within a causal modeling framework.
The current version of epicmodel
focuses on one of these frameworks,
sufficient-component cause (SCC) models, and offers a way to create them
using R. SCC models describe, which sets of causes are in combination
sufficient for the outcome of interest to occur.
The package documentation contains many terms with a specific meaning in
the context of this package. Check the glossary for an overview:
vignette("glossary")
.
Creating SCC models follows a three-step workflow (see
vignette("epicmodel")
for an overview):
vignette("steplist")
for
details.epicmodel
create the SCC model from the steplistUse the SCC model, e.g., for:
Estimating standardized effect size
For the latest release:
install.packages("epicmodel")
For the development version:
# install.packages("devtools")
devtools::install_github("forsterepi/epicmodel")
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.