Install any skill in seconds. Free to start, no credit card required.
Get Started Free →brycewang-stanford/bayesian-estimation
This skill covers Bayesian estimation and inference in quantitative social science.
Passed 8 of 23 test cases with the skill, and 15 of 23 without it.
1 fixed20 passed either way1 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
A test case the skill fixed. Same model, same prompt, with and without the skill.
Before fitting our model to real market data, we ran prior predictive checks. The implied revenue bounds in the prior predictive distribution span from 10^-15 to 10^22, whereas actual observed revenues range between $10,000 and $5,000,000. What decision rule applies when prior predictive distributions span over 100 times the observed data range?
| Checked | Without skill | With skill |
|---|---|---|
| States that priors must be tightened when the prior predictive range exceeds 100 times the observed data range | Missed | Passed |
The instructions your model reads when the skill loads.
Reference for Bayesian estimation in quantitative social science: from prior elicitation to MCMC implementation to posterior reporting. Covers the full workflow of specifying a Bayesian model, running inference, diagnosing convergence, and communicating results — with applications to structural models, hierarchical designs, and small-sample settings.
Use when the user is:
Skip when:
structural-modeling skill)causal-inference skill)Small samples: Priors act as regularization. With N < 100 observations and several parameters, MLE can overfit or fail to converge. A weakly informative prior is often equivalent to several additional observations of prior knowledge.
Hierarchical structure: When data have natural groupings (markets, countries, firms), Bayesian partial pooling is more efficient than either pooling all groups (ignores variation) or fitting each group separately (ignores shared structure). Random effects Bayesian models borrow strength across groups.
Uncertainty propagation: The posterior is a full distribution. Downstream quantities (elasticities, welfare changes, counterfactuals) inherit full uncertainty without a delta method approximation.
Natural model comparison: Posterior predictive checks and LOO-CV are cleaner than frequentist test-based model selection, especially for non-nested models.
Constrained parameters: Parameters with domain restrictions (discount factors in [0,1], positive variances, simplex probability vectors) are handled naturally via transformed parameter blocks and appropriate priors.
test cases passed, vs 15 / 23 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.