Adam Peterson's Avatar

Adam Peterson

@xstreetvalidated.bsky.social

Statistician. R-user. Write at apetersonsite.org about statistics and the built environment.

196 Followers  |  1,805 Following  |  10 Posts  |  Joined: 20.10.2024
Posts Following

Posts by Adam Peterson (@xstreetvalidated.bsky.social)

@yimbydenver.bsky.social do you know if the gubernatorial debate this Saturday is going to be live streamed?

19.02.2026 19:18 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@bendaniels.bsky.social

23.12.2025 16:08 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
A personal history of the tidyverse

Great retrospective from Hadley:

A personal history of the tidyverse share.google/aeyQ5fWyKjTk...

29.10.2025 03:57 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Line chart titled β€˜Weekly Runs of RStudio IDE’ showing usage data from 2023 to 2025. The y-axis ranges from 2,000,000 to 6,000,000 weekly runs. The chart displays a cyclical pattern with regular peaks around 5,000,000-6,000,000 runs and dramatic drops to approximately 2,000,000 runs that occur periodically during holiday periods.

Line chart titled β€˜Weekly Runs of RStudio IDE’ showing usage data from 2023 to 2025. The y-axis ranges from 2,000,000 to 6,000,000 weekly runs. The chart displays a cyclical pattern with regular peaks around 5,000,000-6,000,000 runs and dramatic drops to approximately 2,000,000 runs that occur periodically during holiday periods.

Is #rstats dead? I don’t think so.

10.06.2025 18:36 β€” πŸ‘ 182    πŸ” 29    πŸ’¬ 17    πŸ“Œ 10
Video thumbnail

Netflix got the rights for 'Sesame Street'. New episodes later this year.

19.05.2025 13:45 β€” πŸ‘ 573    πŸ” 74    πŸ’¬ 28    πŸ“Œ 19
The hex sticker for the chores package: A cartoon illustration of a light orange potato character with rosy cheeks, holding a clipboard with a checklist in one hand and several small cards in the other. The potato is set against a purple hexagon outlined in a lighter orange. The word 'chores' is written diagonally in white in the upper right of the purple hexagon.

The hex sticker for the chores package: A cartoon illustration of a light orange potato character with rosy cheeks, holding a clipboard with a checklist in one hand and several small cards in the other. The potato is set against a purple hexagon outlined in a lighter orange. The word 'chores' is written diagonally in white in the upper right of the purple hexagon.

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...

08.04.2025 14:03 β€” πŸ‘ 49    πŸ” 12    πŸ’¬ 2    πŸ“Œ 1
Post image

Tariffs xkcd.com/3073

08.04.2025 00:03 β€” πŸ‘ 31374    πŸ” 8767    πŸ’¬ 258    πŸ“Œ 466
Preview
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) ...

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...

20.03.2025 13:40 β€” πŸ‘ 454    πŸ” 138    πŸ’¬ 27    πŸ“Œ 20

"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.'

10.03.2025 16:00 β€” πŸ‘ 207    πŸ” 41    πŸ’¬ 8    πŸ“Œ 1
The Postal Service - Nothing Better
YouTube video by Sub Pop The Postal Service - Nothing Better

nothing better. www.youtube.com/watch?v=yiFL...

24.02.2025 12:55 β€” πŸ‘ 22    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0
America, It's Just Like Riding a Bike
YouTube video by The War on Cars America, It's Just Like Riding a Bike

Love this

www.youtube.com/watch?v=_0MV...

22.02.2025 17:44 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Air, an extremely fast R formatter We are thrilled to announce Air, a new R formatter.

@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...

21.02.2025 15:10 β€” πŸ‘ 362    πŸ” 121    πŸ’¬ 20    πŸ“Œ 20
Post image

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...

19.02.2025 22:09 β€” πŸ‘ 44    πŸ” 12    πŸ’¬ 0    πŸ“Œ 0

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

12.02.2025 01:32 β€” πŸ‘ 1    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Screenshot of blog post at https://dirk.eddelbuettel.com/blog/2025/02/06#rcpparmadillo_14.2.3-1 describing release 14.2.3-1 of CRAN package RcppArmadillo

Screenshot of blog post at https://dirk.eddelbuettel.com/blog/2025/02/06#rcpparmadillo_14.2.3-1 describing release 14.2.3-1 of CRAN package RcppArmadillo

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

06.02.2025 15:40 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
● completed target site [1.122 minutes, 1.028 gigabytes]
β–Ά dispatched target deploy_site
βœ” Website uploaded to https://evalsp25.classes.andrewheiss.com/
● completed target deploy_site [3.15 seconds, 63 bytes]
β–Ά ended pipeline [1.375 minutes]

● completed target site [1.122 minutes, 1.028 gigabytes] β–Ά dispatched target deploy_site βœ” Website uploaded to https://evalsp25.classes.andrewheiss.com/ ● completed target deploy_site [3.15 seconds, 63 bytes] β–Ά ended pipeline [1.375 minutes]

tar_target(deploy_site, {
    # Force dependencies
    site
    if (Sys.getenv("UPLOAD_WEBSITES") == "TRUE") {
      processx::run(paste0("./", deploy_script))
      cli::cli_alert_success(paste0("Website uploaded to ", base_url))
    }
  })

tar_target(deploy_site, { # Force dependencies site if (Sys.getenv("UPLOAD_WEBSITES") == "TRUE") { processx::run(paste0("./", deploy_script)) cli::cli_alert_success(paste0("Website uploaded to ", base_url)) } })

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

23.01.2025 23:18 β€” πŸ‘ 30    πŸ” 2    πŸ’¬ 2    πŸ“Œ 0

Should I talk to Jack about getting access to the data? I was looking through the paper this past weekend and trying some different things with what they published in the paper. Interested in what the permitting nums look like for the other hoods, e.g. shadyside, squirrel Hill.

22.01.2025 17:06 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 3    πŸ“Œ 0
Post image 21.01.2025 23:02 β€” πŸ‘ 7137    πŸ” 392    πŸ’¬ 29    πŸ“Œ 16
Preview
Stats and Urban Econ Notes - New Updates An easier way to get updates on stats and built environment ideas

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-...

31.12.2024 16:32 β€” πŸ‘ 7    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Post image Post image

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...

16.12.2024 16:45 β€” πŸ‘ 37    πŸ” 6    πŸ’¬ 1    πŸ“Œ 3

Markets gonna market!

15.12.2024 05:28 β€” πŸ‘ 22    πŸ” 4    πŸ’¬ 1    πŸ“Œ 0
Tidymodel prediction workflows inside databases with orbital and Snowflake
YouTube video by Posit PBC Tidymodel prediction workflows inside databases with orbital and Snowflake

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?...

10.12.2024 19:24 β€” πŸ‘ 38    πŸ” 9    πŸ’¬ 0    πŸ“Œ 1

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...

07.12.2024 22:39 β€” πŸ‘ 79    πŸ” 19    πŸ’¬ 2    πŸ“Œ 1

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

05.12.2024 16:34 β€” πŸ‘ 0    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Getting started with elmer

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...

29.11.2024 15:45 β€” πŸ‘ 265    πŸ” 64    πŸ’¬ 10    πŸ“Œ 1
Post image

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)

26.11.2024 13:38 β€” πŸ‘ 125    πŸ” 47    πŸ’¬ 7    πŸ“Œ 6

Could you share the source? Always trying to find data for these things

26.11.2024 02:46 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@bendaniels.bsky.social

25.11.2024 04:30 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

D&D Combinatorics xkcd.com/3015

23.11.2024 00:59 β€” πŸ‘ 26877    πŸ” 2155    πŸ’¬ 201    πŸ“Œ 109