Rich Morris
banner
sometimesdata.bsky.social
Rich Morris
@sometimesdata.bsky.social
Senior research scientist in mental health and wellbeing, looking for an excuse to #rstats
Reposted by Rich Morris
America is great when kids can't play soccer because the secret police may steal their parents
October 12, 2025 at 6:46 PM
I feel like we are in a golden age of AI right now, like when google first appeared and you could get your search results without adverts. How long before AI results start incorporating ads?
August 1, 2025 at 5:30 PM
"Either politics throws open the doors, or it won’t be long before they’re kicked in by angry citizens as they smash every last stick of furniture and walk out with the chandelier of power" -this was released two years before Jan 6th

open.spotify.com/track/4Sw9Xa...
Steve And Fatima
Deadbeat · Wax Poetic For This Our Great Resolve · Song · 2018
open.spotify.com
July 28, 2025 at 7:17 PM
Reposted by Rich Morris
Yeah so there's no way anyone is coming here for World Cup or Olympics. if you can bag up the son of one of the most famous boxers to ever live, you can do that to anyone.
espn.com ESPN @espn.com · Jul 3
Mexican boxer Julio Cesar Chavez Jr., who fought Jake Paul on Saturday in CA, has been arrested by U.S. immigration officers and is being processed for expedited removal from the country, the Department of Homeland Security said in a statement Thursday.
DHS: Mexican boxer Chavez Jr. arrested by ICE
The Department of Homeland Security said Mexican boxer Julio Cesar Chavez Jr. has been arrested by U.S. immigration officers and is being processed for expedited removal from the country.
spr.ly
July 3, 2025 at 7:39 PM
protip for Gen Z working with older colleagues: if discussing data or studies which occurred entirely after the year 2000, you can refer to them as *21st Century*. It will sound futuristic and sci-fi to anyone who grew up on Buck Rogers, Flash Gordon (i.e., Gen X, Boomers) - very impressive!
July 3, 2025 at 6:13 PM
This is a neat summary of the history of applied statistics I’ve read
July 3, 2025 at 1:25 PM
Reposted by Rich Morris
We constantly empower people that have no interest in the truth whatsoever and I struggle to understand what can be done about that.
July 3, 2025 at 11:25 AM
Reposted by Rich Morris
New blog post:
You can outsource the grunt work to an LLM, not expertise

brodrigues.co/posts/2025-0...
July 3, 2025 at 8:13 AM
Add this to my reading list: “For “random intercept” models, adding the group-level averages of all included variables as regressors (or a variety of equivalent procedures such as group-wise centering) relieves the bias otherwise induced by this regularization”
July 3, 2025 at 12:57 PM
Spoke to Jen a few weeks ago because I am also trying to pivot out of academia. Can confirm Jen is a great person to help you focus on what’s important (to anyone else who is in a similar situation). She would be a great asset to any community building enterprise
A bit of an update thread: I resigned from my academic position at UNSW a few months ago now and have been taking a break to rest, reflect, and work out what I want the next half of my career to look like.

1/9
June 23, 2025 at 9:32 AM
Reposted by Rich Morris
After two weeks, I'm finally done!

In this post, I explain different approaches for solving linear regression in R: directly, using QR, singular value and Cholesky decompositions, and do some benchmarking for comparison with in-built approaches.

thomvolker.github.io/blog/2506_re...
June 18, 2025 at 2:22 PM
Reposted by Rich Morris
A lawsuit in Rockland County, NY, alleges election irregularities in the 2024 Presidential and Senate races.

The plaintiffs claim statistical anomalies and uncounted votes.

But do these claims hold up?

I analyzed the data and I don't think they do: christophertkenny.com/posts/2025-0...
https://christophertkenny.com/posts/2025-06-17-rockland-sare/🧵1/8
June 17, 2025 at 1:56 PM
Lord save me! Where do people get the idea the y-axis must always include zero, and every panel in a collection of panels must have the same y-axis scale? These a fine “rules of thumb” but they are not stone commandments handed down by the #dataviz gods!!! #rstats
June 12, 2025 at 12:56 PM
Reposted by Rich Morris
The quarto-preprint extension v0.16 (github.com/mvuorre/quar...) now enables full-width content in two-column #quartopub #typst documents (and more!; via github.com/christopherk...). Hope this makes Quarto a bit more useful for writing well-typeset reproducible #rstats manuscripts 💙
June 4, 2025 at 2:35 PM
Reposted by Rich Morris
When your past is questionable—revise it! #CalvinandHobbes #FakeHistory
June 2, 2025 at 11:01 PM
One of my pet peeves with dplyr verbs in R is filter(). It should remove the rows which meet the condition(s). What is the most readable way to remove rows which meet a joint condition? e.g., remove rows where col_a == "x" & col_b > y? #rstats
May 27, 2025 at 1:01 AM
Bluesky snark at its finest. Just learnt so much from the linked responses. The debate is alive! :-)
May 26, 2025 at 1:24 AM
Reposted by Rich Morris
Trying to keep an open mind only to end up confirming my prejudices
May 18, 2025 at 7:42 AM
Just had a terrible experience at BMC Public Health. According to @springernature.com Australian universities can publish in their OA journals for free, so you might *think* an OA journal such as BMC Public Health would be covered...

you would be wrong. Over $5000 wrong!
May 15, 2025 at 3:21 AM
The UCLA stats group do fantastic work explaining things.

This tutorial on SEM in R is gold: stats.oarc.ucla.edu/r/seminars/r...
Introduction to Structural Equation Modeling (SEM) in R with lavaan
stats.oarc.ucla.edu
May 15, 2025 at 12:30 AM
I should really read the fcuking paper before butting in on expert discussion here!
May 12, 2025 at 11:57 PM
TIL the difference between interaction and effect modification: "[An] interaction is the effect of 2 interventions whereas effect modification is the effect of one intervention varying across strata of a second variable." I think this means things like sex cannot interact with other variables...
Thanks to everybody who chimed in!

I arrived at the conclusion that (1) there's a lot of interesting stuff about interactions and (2) the figure I was looking for does not exist.

So, I made it myself! Here's a simple illustration of how to control for confounding in interactions:>
May 12, 2025 at 12:52 PM
Reposted by Rich Morris
Spent more time exploring {scales} for #ggplot2. I found the `label_dictionary()` function to be useful for relabeling the values of a discrete scale using a lookup table: scales.r-lib.org/reference/la...

Here's what I came up with, using some NCAA basketball data from the #rstats {hoopR} package👇
May 11, 2025 at 5:10 AM
Reporting observational research: www.auajournals.org/doi/full/10....

Some simple guidelines and good recommendations for language in intro, method and discussion.
Guidelines for Reporting Observational Research in Urology: The Importance of Clear Reference to Causality | Journal of Urology
www.auajournals.org
May 9, 2025 at 12:01 PM
stringr::str_wrap(width = ...) is fantastic! Works for facet headings as well: facet_wrap(~str_wrap(myfacet, width = 10)
One of my favourite #ggplot tricks is wrapping long axis labels so they don't take up so much space on your chart

Image 1 - Without wrapping
Image 2 - With wrapping
Image 3 - Code

#rstats
May 7, 2025 at 12:59 AM