Rich Morris reposted
Rich Morris
Rich Morris
@sometimesdata.bsky.social
Senior research scientist in mental health and wellbeing, looking for an excuse to #rstats
185 followers419 following183 posts
“Every student learns that correlation does not imply causation. Few learn the converse: absence of correlation does not imply absence of causation. Both mistakes are common in applied work, and understanding why reveals something fundamental about what causal inference requires.”
“Correlation does *not* imply causation” is not the last word—it’s only the beginning. Cesar Chavez tracks how modern economics has been approaching causality (and the causality fallacy… and its reverse): bit.ly/4cpiLsm
Mental health interventions are now digital but over 50% of the variance in effectiveness for stress is due to differences in design and features. Expert design is needed and throwing everything at the wall is not helpful: www.jmir.org/2025/1/e71253/
Rich Morris reposted
We are responding to this call for evidence: ec.europa.eu/info/law/bet... Do you have concrete examples of the added value of #Rstats in the public or private sectors? Include the most important factors (risk, lock-in, security, innovation...) to assess the added value. Thanks!
tagging @rkwilkins.bsky.social because #HILDA is a great resource for fertility researchers but I don't know where to find them!
Rich Morris reposted
"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...
Rich Morris reposted
Rich Morris reposted
New blog post: You can outsource the grunt work to an LLM, not expertise brodrigues.co/posts/2025-0...
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”
A paper I find extremely interesting on the equivalence between fixed effects models and "tweaked" random effects models: doi.org/10.1017/pan....
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
Rich Morris reposted
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...
Having the time of my life writing a blog post about different ways to perform linear regression. It contains all the good stuff: a small piece on gradient descent, QR and singular value decompositions and R code.
Rich Morris reposted
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...
Rich Morris reposted
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 💙
Rich Morris reposted
Rich Morris reposted
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!
The UCLA stats group do fantastic work explaining things. This tutorial on SEM in R is gold: stats.oarc.ucla.edu/r/seminars/r...
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:>
Rich Morris reposted
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👇
Reporting observational research: www.auajournals.org/doi/full/10.... Some simple guidelines and good recommendations for language in intro, method and discussion.
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
Rich Morris reposted
Rich Morris reposted