A Sankey diagram shows how a population divides as it passes through a sequence of categories, with...
Data Science
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...
Static charts are great for printed reports and PDFs. But when your audience is viewing your work...
When you write a policy brief, you’re making an argument backed by evidence. Data visualization is one...
Large language models have become useful tools for data analysis tasks, from generating code to suggesting statistical...
Now we focus specifically on choropleth maps: maps where geographic areas are shaded according to a data...
For most cases of geographic mapping in social science research, we need demographic data: who lives where...
This post covers loading and visualizing spatial data in Python 🗺️ Setting Up Your Environment We’ll use...
Place shapes life outcomes. Decades of social work research have documented how neighborhood characteristics affect health, educational...
