generated from IQSS/dss-template-quarto
-
Notifications
You must be signed in to change notification settings - Fork 1
/
running.qmd
19 lines (10 loc) · 1.49 KB
/
running.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Basic Steps {#sec-running}
In this section, we describe how to run a matching or weighting analysis. First, we describe the steps and the choices one must make in each step, and then we provide some examples for how to run the described analysis using R.
The basic steps of the analysis are as follows:
1. Conceptual step - Selecting the desired estimand, assessing whether the assumptions can be met, and selecting the variables that must be adjusted for.
2. Conditioning step - Performing the matching, weighting, or subclassification, which may involve estimating a propensity score or selecting parameters that govern the conditioning specification (e.g., the number of matches if doing matching).
3. Assessing quality - Assessing to what degree the conditioning step was successful in achieving balance in the distribution of confounders while retaining the target estimand and maintaining precision of the estimate.
4. Respecification - If quality of the conditioning can be improved, respecifying the conditioning step and assessing quality again. This is done repeatedly until a good quality specification is found.
5. Estimate the treatment effect - Using the output of the final conditioning specification, estimating the treatment effect in a robust way that optimizes precision.
6. Assess sensitivity - Assessing the degree to which unmeasured confounding could affect inferences and deciding whether such confounding is a realistic threat.
We will go through these steps in the next sections.