Peter EJ Kemp
banner
peterejkemp.bsky.social
Peter EJ Kemp
@peterejkemp.bsky.social
Senior Lecturer KCL; @scaricomp; education stats; PISA; digital media research; @3Dami; wikibooks; ex TeachFirst (05); Dr, but not one who could fix your knee
Reposted by Peter EJ Kemp
Thinking about odds ratios...

An odds is a ratio of events to non-events. For example, if the event is survival, the odds of survival is the number of survivors per death. If the event is getting a disease, the odds is the number of diseased individuals per healthy individual.
April 24, 2025 at 3:51 PM
New article: Children’s Perception of the World of Technology: Through the Lens of Heidegger

Children found technology distracted them from connecting with nature, relating to others and themselves

@drjessicahamer.bsky.social
supported by @nuffieldfoundation.org
link.springer.com/article/10.1...
Children’s Perception of the World of Technology: Through the Lens of Heidegger - Philosophy & Technology
Analysis of student engagement with technology has mainly focused on physical and mental health, predominantly overlooking deeper philosophical issues. Through the analysis of four focus groups (child...
link.springer.com
September 18, 2025 at 8:55 AM
Reposted by Peter EJ Kemp
Teachers! Send us your computing girls!

Online - so all welcome
Please share 👇
www.kcl.ac.uk/events/unloc...

@crestem.bsky.social @peterejkemp.bsky.social @drjessicahamer.bsky.social @jobrodie.bsky.social
September 11, 2025 at 3:06 PM
Reposted by Peter EJ Kemp
I am beyond excited to announce that ggplot2 4.0.0 has just landed on CRAN.

It's not every day we have a new major #ggplot2 release but it is a fitting 18 year birthday present for the package.

Get an overview of the release in this blog post and be on the lookout for more in-depth posts #rstats
ggplot2 4.0.0
A new major version of ggplot2 has been released on CRAN. Find out what is new here.
www.tidyverse.org
September 11, 2025 at 11:20 AM
Reposted by Peter EJ Kemp
If you are preparing your bachelor statistics course and would like to add optional material for students to better understand statistics on a conceptual level (see topics in the screenshot) my free textbook provides a state of the art overview. lakens.github.io/statistical_...
August 25, 2025 at 4:54 AM
Reposted by Peter EJ Kemp
Like this?
August 25, 2025 at 3:50 PM
Reposted by Peter EJ Kemp
I’m about halfway through this update (first 11 tutorials are done). I think they’re a lot better. Using a consistent @easystats.github.io workflow throughout will - I think - massively reduce the cognitive load for students. Looking forward to road testing in autumn term.
Probably no-one except me uses my R tutorials in their teaching, but if you do, I'm re-writing them over the next 6-9 months. My goal is to streamline them based on 5 years of using them in class, but if you have (polite) requests/suggestsions let me have them. www.discovr.rocks/discovr/
discovr: a package of interactive tutorials | discovr
Statistics education
www.discovr.rocks
August 20, 2025 at 10:19 PM
Reposted by Peter EJ Kemp
When teaching at UCLA, I always start with this principle: “All models are wrong, but some are useful.” The key is knowing how a model is wrong—bias, variance, scope—and when it still adds value.

#DataScience #MachineLearning #AI #RStats
August 12, 2025 at 7:05 PM
Reposted by Peter EJ Kemp
Today is my annual reminder that read_csv() is vectorized and you can just pass a vector of file paths and it will read and append the datasets.

No need to use map or for loops to read in multiple files.

#rstats
August 6, 2025 at 11:05 AM
US CS degrees 1964-2022, female uptake getting better for bachelor degrees (peak 1984), MA and PhD have never been as well balanced as now (from a low base) #rstats #DataScience #python #csed #edusky
July 28, 2025 at 11:52 AM
Reposted by Peter EJ Kemp
when they close it all up, I do believe this will go down as the funniest video on the internet
July 24, 2025 at 7:51 PM
Reposted by Peter EJ Kemp
Running a workshop tomorrow on reproducible workflows in R at the King's Open Research Summer School.

📽️ Slides: ewancarr.github.io/reproducible-r
👩‍💻 Practical: ewancarr.github.io/reproducible-r/practical

Mildly terrified that Git on Windows will be my downfall—but we'll see. 😅

#rstats #opensci
Reproducible workflows in R
ewancarr.github.io
July 24, 2025 at 8:26 PM
Reposted by Peter EJ Kemp
#tidyverse purrr 1.1.0 is out - now with parallel processing!

Scale your #rstats map operations reliably and efficiently across multiple cores and even distributed systems.

Powered by the mirai framework, this unlocks new levels of performance.

Read more at:
www.tidyverse.org/blog/2025/07...
Parallel processing in purrr 1.1.0
The functional programming toolkit for R gains new capabilities for parallel processing and distributed computing using mirai.
www.tidyverse.org
July 10, 2025 at 10:35 PM
Reposted by Peter EJ Kemp
New version 0.3.1 of tidyplots.org now on CRAN 🚀

🍒 Paired comparisons in `add_test_*()`
📋 Selected comparisons in `add_test_*()`
🌍 Global options for all tidyplots
🐣 New `add_ellipse()` function
👀 Functions to rename, reorder, sort, reverse now end in `*_levels()`

#tidyplots #rstats #dataviz #phd
July 7, 2025 at 6:31 AM
Reposted by Peter EJ Kemp
A short #rstats post about generating quarto syntax (e.g., for wrapping several plots in a tabset) within the R code chunk itself. I am entirely unsure if this is useful. Some feedback would be appreciated
Generating quarto syntax within R – Notes from a data witch
To quote Cassian Andor, “It’s harder than it looks”
blog.djnavarro.net
July 4, 2025 at 11:04 PM
Reposted by Peter EJ Kemp
At Posit, we've been busy making async first class within #RStats with mirai.

Now it's time to make High-Performance Computing a first class option for distributed computing within mirai!

mirai 2.4.0 includes a cluster launcher for: Slurm, SGE, Torque, PBS, LSF.

shikokuchuo.net/posts/27-mir...
shikokuchuo{net}: mirai 2.4.0
First Class Async and High-Performance Computing
shikokuchuo.net
June 26, 2025 at 4:00 PM
Reposted by Peter EJ Kemp
Bleeding edge update for the #tidyverse purrr package with even more seamless #rstats parallel maps.

Introducing our shiniest new adverb: `in_parallel()`. Just wrap your function to take advantage of blazing fast parallel processing via mirai.

pak::pak("tidyverse/purrr")

purrr.tidyverse.org/dev/
Functional Programming Tools
A complete and consistent functional programming toolkit for R.
purrr.tidyverse.org
June 13, 2025 at 3:32 PM
Reposted by Peter EJ Kemp
This is how you can sort data in #tidyplots 🏆

#rstats #dataviz #phd
May 21, 2025 at 8:10 PM
Reposted by Peter EJ Kemp
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 11, 2025 at 5:34 AM
Reposted by Peter EJ Kemp
🚨 All staff for NSF’s Division of Equity for Excellence in STEM (EES) have just been fired.

In email to grantees: “the entire Division of Equity for Excellence in STEM has just been dissolved and the entire staff fired.”

High time for scientists, public, Congress, YOU to take action to #SaveNSF
Take Action | Save NSF
www.savensf.com
May 9, 2025 at 5:35 PM
Reposted by Peter EJ Kemp
New unhinged #rstats rant about NSE just dropped:

🔗 kbodwin.github.io/paRticles/po...

tl;dr - some cute (?) tricks for iterating over unquoted columns

see below to skip the stream-of-consiousness blog and go straight to code snippets
Punctuation and Other Problems – paRticles
kbodwin.github.io
April 25, 2025 at 6:30 AM
Reposted by Peter EJ Kemp
TIL: The 2000s piracy PSA used a font designed by the fantastic Just van Rossum, whose brother Guido created the Python programming language.
“Piracy. It’s a Crime.” PSA
From Wikipedia: “You Wouldn’t Steal a Car” is the first sentence and commonly used name of a public service announcement that debuted on July 12, 2004 in cinemas, and July 27 on home media, which wa...
fontsinuse.com
April 20, 2025 at 1:14 AM
📚 How Does Ofsted Spell "Shakespeare" and its derivatives?
There is debate over how William Shakespeare—the only writer in England's National Curriculum(?)—spelled his own surname. Even his gravestone (Shakspeare) differs from his wife’s (Shakespeare). Today, we’ve largely settled on "Shakespeare"
April 4, 2025 at 3:24 PM
Reposted by Peter EJ Kemp
The MA STEM quantitative methods in educational research module started a few weeks ago and students are already producing lovely work in R using ggplot and PISA 2022 data. First is a post from Jon Snell on home studying and maths scores: richardabrock.github.io/mastemquantb...
mastemquantblog
richardabrock.github.io
January 28, 2025 at 10:26 AM