Adam Peterson
xstreetvalidated.bsky.social
Adam Peterson
@xstreetvalidated.bsky.social
Statistician. R-user. Write at apetersonsite.org about statistics and the built environment.
Great retrospective from Hadley:

A personal history of the tidyverse share.google/aeyQ5fWyKjTk...
A personal history of the tidyverse
share.google
October 29, 2025 at 3:57 AM
Reposted by Adam Peterson
Is #rstats dead? I don’t think so.
June 10, 2025 at 6:36 PM
Reposted by Adam Peterson
Netflix got the rights for 'Sesame Street'. New episodes later this year.
May 19, 2025 at 1:45 PM
Reposted by Adam Peterson
Introducing chores, a package that uses LLMs to help with repetitive, hard-to-automate coding tasks!

Manage prompts as markdown, select a chore, and let LLMs handle your tedious #RStats work.

@simonpcouch.com introduces chores and shows how it cuts roxygen2 boilerplate: posit.co/blog/introdu...
April 8, 2025 at 2:03 PM
Reposted by Adam Peterson
April 8, 2025 at 12:03 AM
Reposted by Adam Peterson
New blog post! In which I explain the issue with mediation analysis and sketch out one way to deal with the underlying causal inference problem -- in just a bit over 1,000 words!

If you have never found the time to read up on this, now is your chance.

www.the100.ci/2025/03/20/r...
Reviewer notes: That’s a very nice mediation analysis you have there. It would be a shame if something happened to it.
Mediation analysis has gotten a lot of flak, including classic titles such as “Yes, but what’s the mechanism? (Don’t expect an easy answer)” (Bullock et al., 2010), “What mediation analysis can (not) ...
www.the100.ci
March 20, 2025 at 1:40 PM
Reposted by Adam Peterson
"We're gonna win so much, you may even get tired of winning. And you'll say, 'Please, please. It's too much winning. We can't take it anymore. Mr. President, it's too much.'
Good morning S&P 500
March 10, 2025 at 4:00 PM
Reposted by Adam Peterson
The Postal Service - Nothing Better
YouTube video by Sub Pop
www.youtube.com
February 24, 2025 at 12:55 PM
Reposted by Adam Peterson
@lionelhenry.bsky.social and I are so excited to finally announce Air - an extremely fast R code formatter! 🎉

With Air, you'll never need to worry about styling your #rstats code ever again. All you need to do is save, and Air takes care of the rest.

www.tidyverse.org/blog/2025/02...
Air, an extremely fast R formatter
We are thrilled to announce Air, a new R formatter.
www.tidyverse.org
February 21, 2025 at 3:10 PM
Reposted by Adam Peterson
The latest release of the {mvgam} #rstats 📦 has hit CRAN. Plenty of exciting new features including Joint Species Distribution Models, support for the full range of Gaussian Process kernels available in the {brms} 📦 and plenty more nicholasjclark.github.io/mvgam/news/i...
February 19, 2025 at 10:09 PM
Reposted by Adam Peterson
link 📈🤖
Stationary Kernels and Gaussian Processes on Lie Groups and their Homogeneous Spaces I: the compact case () Gaussian processes are arguably the most important class of spatiotemporal
models within machine learning. They encode prior information about the modeled
function and can be used f
February 12, 2025 at 1:32 AM
Reposted by Adam Peterson
RcppArmadillo 14.2.3-1 on CRAN: Small Upstream Fix
R bindings to powerful and expressive C++ matrix library
dirk.eddelbuettel.com/blog/2025/02...
#rstats #rcpp
February 6, 2025 at 3:40 PM
Reposted by Adam Peterson
Fun little #rstats thing I've been doing with {targets}—you can use the {cli} package (cli.r-lib.org) to add nicely formatted messages to your targets pipeline output, like the "Website uploaded…" message here with cli_alert_success()

Works for anything, really, not just {targets} things
January 23, 2025 at 11:18 PM
Reposted by Adam Peterson
January 21, 2025 at 11:02 PM
New quick review on Alain Bertraud's "Order Without Design" and sharing my notes on
@tslumley.bsky.social's excellent survey book and #rstats software.

Link to both in this post as well as topics I'll be writing on going forward:
substack.com/home/post/p-...
Stats and Urban Econ Notes - New Updates
An easier way to get updates on stats and built environment ideas
substack.com
December 31, 2024 at 4:32 PM
Reposted by Adam Peterson
The zoning process is more than just a map & a code. Many projects require special hearings & city council review.

In new research @urbaninstitute.bsky.social, I show that in Chicago, 58% of permitted housing units undergo that sort of discretionary review.

www.urban.org/urban-wire/c...
December 16, 2024 at 4:45 PM
Reposted by Adam Peterson
Markets gonna market!
Every student in Iowa will be eligible for a voucher next year, regardless of income. That amount is $7,826 this year.

So these Iowa private elementary schools increased tuition from $4780 in 2022-23 to $11,100 in 2025-26 - a 132% increase in just 3 years.
As school vouchers become available to all Iowa families, parents at a large private school operator in Dubuque are experiencing tuition sticker shock.
December 15, 2024 at 5:28 AM
Reposted by Adam Peterson
At posit::conf(2024), we introduced the orbital package, allowing you to seamlessly translate tidymodels workflows into SQL backends.

Nick Pelikan walks through an end-to-end tidymodel prediction workflow using orbital and Snowflake, now available on YouTube!

youtu.be/pnEjYNgOG9c?...
Tidymodel prediction workflows inside databases with orbital and Snowflake
YouTube video by Posit PBC
youtu.be
December 10, 2024 at 7:24 PM
Reposted by Adam Peterson
Highways are really awful barriers to the urban fabric, as we can all intuitively grasp

A cool paper this year used smartphone data to show that highways create a meaningful distortion in how people move around cities, especially for non-work trips
siying-w.github.io/assets/JMP_D...
December 7, 2024 at 10:39 PM
Reposted by Adam Peterson
link 📈🤖
Visualisation for Exploratory Modelling Analysis of Bayesian Hierarchical Models (Akinfenwa, Cahill, Hurley) When developing Bayesian hierarchical models, selecting the most appropriate hierarchical structure can be a challenging task, and visualisation remains an underutilised tool in th
December 5, 2024 at 4:34 PM
Reposted by Adam Peterson
If you're interested in trying out LLMs in #rstats but don't know where to begin, I've added a few two vignettes to elmer: elmer.tidyverse.org/articles/elm... and elmer.tidyverse.org/articles/pro...
Getting started with elmer
elmer.tidyverse.org
November 29, 2024 at 3:45 PM
Reposted by Adam Peterson
Does #randomization ensures balance of risk factors between groups? Consider this:

In Denmark 860 individuals were randomly allocated to either intervention or control. Individuals were unaware of their allocation. No intervention took place. Mortality was higher in the intervention group (p=0.003)
November 26, 2024 at 1:38 PM
Reposted by Adam Peterson
D&D Combinatorics xkcd.com/3015
November 23, 2024 at 12:59 AM