Skip to content
StatsOtter A workspace for causal thinking
Method library WORKFLOW / 043
Research workflow/5 steps

An observational ATE you can defend (balance → estimate → sensitivity)

01
The method workspace

Follow the analysis.

Select a node to explore the method

Method mapInput → 5 steps → output
START WITHInput data
ARRIVE ATResults
Read step 01
Inside the methodReasoning, equations & implementation
Step 1 of 5
01
Data prep

Treatment, covariates, outcome

Data preparation — shapes the raw inputs into what the estimator expects.

What happens here

Assemble the design matrix; keep the outcome sealed until matching is done.

Reads fromNot specified Feeds intoNot specified
Key code
data("lalonde", package = "MatchIt")
Discussion on this step (0)
StatsOtterDiscussion starter · Editorial note

Before using this step, make its assumptions and its output explicit. A useful peer note explains what you would check, what could go wrong, or what would change your interpretation.

Questions to explore
  1. Which assumption matters most here, and what evidence could challenge it?
  2. What would you check before passing this output to the next step?

Peer discussion

  • Bring your experience, a question, or a different perspective.
02
Data contract

Inputs & data

A binary treatment, the covariates to adjust for, and an outcome (e.g. the Lalonde job-training data).

Show data format & exampleHide example

Format — one row per unit: treatment W ∈ {0,1}, covariates X, outcome Y.

  W  age educ   race   re74  re78
  1   37   11  black     0  9930
  0   30   12  white  4100  4400
03
Read the evidence

Results & interpretation

2 figures Workflow discussion 0
01FigureA Love plot of |standardized mean difference| per covariate, adjusted vs unadjusted, against the 0.1 threshold.
02FigureSensitivity contour: how strong a confounder must be (vs observed covariates) to drive the estimate to zero.

Figures reproduced from the package's official documentation — unofficial community showcase; all credit to the original authors.

Context & interpretation

Personal recipe — figures are from each package's public docs; this is my own composition, not affiliated with the package authors.

Selection-on-observables is an assumption, not a fact. This is the pipeline I actually run so the estimate survives review: design first (matching, outcome-blind), show balance, estimate, then state how strong an unobserved confounder would have to be to overturn it.

Peer notes

Discuss the workflow (0)

  • No comments yet — start the conversation.
IN THE MARGINS

Peer discussion