Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides researchers in model selection, experimental design, causal inference, and feature engineering for defensible conclusions.
Use this skill ↓59% 68%+9 ptsof test cases passed
Passed 15 of 22 test cases with the skill, and 13 of 22 without it.
When performing propensity score matching between treated and control groups, how does setting a maximum propensity score distance caliper threshold affect the matched dataset and quality control?
Recommends running standardized mean difference checks on covariates post-matching
3 of 3 safety checks passed
A skill for strategic statistical modeling applied to academic research. Covers advanced modeling decisions, experimental design, causal inference, feature engineering, and the critical thinking required to move from data to defensible conclusions.
Senior data scientists distinguish themselves not by knowing more algorithms but by asking better questions, designing cleaner experiments, and being honest about what the data can and cannot tell them. This skill translates that professional discipline into a research context, helping academics apply modern data science practices to their empirical work. It covers the strategic decisions that matter most: when to use simple models versus complex ones, how to establish causality rather than mere correlation, and how to communicate uncertainty honestly.
The skill is particularly useful for researchers working with observational data who need causal inference techniques, those designing randomized experiments who need proper power calculations and analysis plans, and anyone building predictive models who needs to avoid common overfitting and leakage pitfalls.
Decision Framework:
1. Start with the simplest model that could answer your question
2. Add complexity only when diagnostics reveal inadequacy
3. Prefer interpretable models unless prediction accuracy is the sole goal
4. Always have a baseline (mean, majority class, last observation)
Model Complexity Ladder:
Level 1: Descriptive statistics, cross-tabulations
Level 2: Linear/logistic regression
Level 3: Regularized regression (Lasso, Ridge, Elastic Net)
Level 4: Tree ensembles (Random Forest, Gradient Boosting)
Level 5: Deep learning (only with sufficient data and clear justification)
import pandas as pd
import numpy as np
def engineer_features(df: pd.DataFrame, config: dict) -> pd.DataFrame:
"""
Apply systematic feature engineering based on domain knowledge.
config example:
Next to this one in the catalogue, plus more from the same author.