A Sankey diagram shows how a population divides as it passes through a sequence of categories, with...
Stata
margins is how most applied papers turn a logit model into predicted probabilities and average marginal effects....
Regression coefficients answer how much the outcome changes with each predictor, holding the others constant. They do...
A common step in applied work is to fit a model with the exposure of interest, add...
Social work and health studies often test one exposure against several outcomes: access to care, use of...
A regression table with three models and a dozen covariates is hard to read, and a coefficient...
Logistic regression runs into trouble when an outcome is rare or a subgroup is small. If every...
Decomposition methods split a difference in an outcome between two groups into two parts: the part that...
Mediation analysis helps us understand the “how” or the “why” behind a relationship between an independent variable...
Survey weighting is a statistical technique employed to adjust survey data to better represent the target population....
Macros let you store and manipulate text or numbers for later use. They help automate repetitive tasks...
US government-provided datasets, such as the Behavioral Risk Factor Surveillance System (BRFSS) and Youth Risk Behavior Surveillance...
Data management in statistical analysis often requires consistent documentation across multiple datasets. Variable labels in Stata carry...
This post goes through several graphing options in Stata using the NHANES2 dataset. The National Health and...
Instrumental Variables Instrumental variable regression is a statistical method used when you suspect that there’s a hidden...
