RSS.Social

Andrew Heiss's blog

follow: @[email protected]

Posts

How to open a folder as a Positron project with macOS Quick Actions

How to use Positron’s Connections Pane with DuckDB

Use Positron to run R inside a Docker image through SSH

Open files in external programs with Positron or Visual Studio Code

How to use a histogram as a legend in {ggplot2}

How to move Crimea from Russia to Ukraine in maps with R

Using USAID data to make fancy world maps with Observable Plot

Guide to comparing sample and population proportions with CPS data, both classically and Bayesianly

Apple Music Wrapped with R

Guide to generating and rendering computational markdown content programmatically with Quarto

Fun with Positron

Calculating the proportion of US state borders that are coastlines

Calculating birthday probabilities with R instead of math

Visualizing {dplyr}’s mutate(), summarize(), group_by(), and ungroup() with animations

Demystifying causal inference estimands: ATE, ATT, and ATU

DIY API with Make and {plumber}

How to create separate bibliographies in a Quarto document

Guide to understanding the intuition behind the Dirichlet distribution

Manually generate predicted values for logistic regression with matrix multiplication in R

The ultimate practical guide to multilevel multinomial conjoint analysis with R

How to fill maps with density gradients with R, {ggplot2}, and {sf}

The ultimate practical guide to conjoint analysis with R

Road trip analysis! How to use and play with Google Location History in R

How to make fancy road trip maps with R and OpenStreetMap

A guide to Bayesian proportion tests with R and {brms}

Making Middle Earth maps with R

How old was Aragorn in regular human years?

One Simple Trick™ to create inline bibliography entries with Markdown and pandoc

How to migrate from BibDesk to Zotero for pandoc-based writing

How to use natural and base 10 log scales in ggplot2

Marginal and conditional effects for GLMMs with {marginaleffects}

Visualizing the differences between Bayesian posterior predictions, linear predictions, and the expectation of posterior predictions

Quick and easy ways to deal with long labels in ggplot2

Marginalia: A guide to figuring out what the heck marginal effects, marginal slopes, average marginal effects, marginal effects at the mean, and all these other marginal things are

A guide to modeling outcomes that have lots of zeros with Bayesian hurdle lognormal and hurdle Gaussian regression models

How to create a(n almost) fully Bayesian outcome model with inverse probability weights

How to use Bayesian propensity scores and inverse probability weights

A guide to working with country-year panel data and Bayesian multilevel models

A guide to correctly calculating posterior predictions and average marginal effects with multilievel Bayesian models

A guide to modeling proportions with Bayesian beta and zero-inflated beta regression models

Do-calculus adventures! Exploring the three rules of do-calculus in plain language and deriving the backdoor adjustment formula by hand

How to automatically convert TikZ images to SVG (with fonts!) from knitr

Exploring Pamela Jakiela’s simple TWFE diagnostics with R

Exploring R² and regression variance with Euler/Venn diagrams

AFC Richmond / Ted Lasso cross stitch pattern

Hex sticker/logo cross stitch pattern

Bayesian (cross stitch) sampler

Marginal structural models for panel data with GEE and multilevel models

Generating inverse probability weights for marginal structural models with time-series cross-sectional panel data

Generating inverse probability weights for both binary and continuous treatments

Emergency online teaching resources

Ways to close backdoors in DAGs

Automatically zip up subdirectories with Make

Create a dynamic dashboard with R, flexdashboard, and Shiny

Convert Markdown to rich text (with syntax highlighting!) in any macOS app

Chidi’s budget and utility: doing algebra and calculus with R and yacas

Half a dozen frequentist and Bayesian ways to measure the difference in means in two groups

The academic job search finally comes to an end

How to test any hypothesis with the infer package

Create a cheap, disposable supercomputer with R, DigitalOcean, and future