Kylie Ainslie, PhD
banner
kylieainslie.bsky.social
Kylie Ainslie, PhD
@kylieainslie.bsky.social
Modelling for Policy Lead @thedohertyinst.bsky.social @unimelb.bsky.social | Organizer @rladiesamsterdam.bsky.social | Crazy dog lady 🐶 🌈 (she/her)

🌐: https://kylieainslie.github.io/
Linkedin: https://www.linkedin.com/in/kylieainslie

#rstats #rladies
We also developed {mitey}, an R 📦 implementing our methods for serial interval (pubmed.ncbi.nlm.nih.gov/25294601/) and Rt (pubmed.ncbi.nlm.nih.gov/17476782/) estimation.

It's validated against historical outbreaks and applicable to other infectious diseases too.
🔗 github.com/kylieainslie/mitey
November 28, 2025 at 3:57 AM
Key findings:
📍 Serial interval: ranged 98-167 days across studies w pooled mean 123 days
📍Annual growth rate: 0.25 (95% CI: 0.2, 0.3)
📍 R₀ = 1.09 (1.07, 1.11) ➡️ preventing 8% of secondary infections could control epidemic growth.
📍 Transmission peaks in summer (July), consultations peak in fall
November 28, 2025 at 3:57 AM
Enjoying spring in Melbourne 🇦🇺
September 28, 2025 at 11:45 AM
That's a wrap on my first #TidyDevDay, complete with ringing the gong! I was intimidated going into it, but everyone was super supportive. I had a great time and learned a lot. Thanks to all the folks @posit.co for organizing, especially @jennybryan.bsky.social - everyone's favorite Git therapist 😂
September 19, 2025 at 9:22 PM
One week to go until #positconf2025!

Tired of scattered analysis files and "which version is final?" anxiety?
I'll be speaking about how R package structure can enhance ANY data project.
A simple framework for data scientists that turns messy folders into transparent, reproducible work.

#RStats
September 10, 2025 at 3:49 PM
🎉 Excited to announce that {mitey} is now on CRAN (my very first CRAN submission)!

📦 A lightweight #rstats package for estimating infectious disease parameters:
✅ Serial intervals
✅ Time-varying case reproduction numbers
✅ Synthetic epidemic generation

cran.r-project.org/package=mitey
September 8, 2025 at 1:44 PM
Instead of doing what I should be doing, I procrastinated by updating the "About" page of my website with a scrollytelling career timeline, some fun stats, and a card grid of hobbies! It's amazing what you can do with @quarto.org!

kylieainslie.github.io/about.html

#rstats #AcademicSky
September 5, 2025 at 12:18 PM
Thank you! 😊 My inspiration was the @hertieschool.bsky.social Coding Club website: www.hertiecodingclub.com which I found on the @quarto.org Gallery: quarto.org/docs/gallery/
June 24, 2025 at 10:00 AM
Perfect! 👇 Thanks @jonthegeek.com
June 19, 2025 at 7:36 PM
I'm still not sure exactly what an API is (explanations welcome), but I looked at the number of APIs in each category on apis.guru for this week's #TidyTuesday.

Top 3 API categories:
☁️ Cloud: 34.4%
🎬 Media: 12.3%
📊 Open Data: 11.5%

Code: github.com/kylieainslie...

#pydytuesday @dslc.io
June 19, 2025 at 4:46 PM
I decided to change up my working conditions and camped out at Amsterdam's Marineterrein.

Here is an action shot of my call with @seabbs.bsky.social 👇
June 18, 2025 at 11:06 AM
📚 This week's #TidyTuesday: Project Gutenberg authors!

By visualizing 8 centuries of literary lifespans we can see that
authors lived progressively longer

A surprising finding: works from authors born in 19th century (orange) completely dominates the collection 🧡

#pydytuesday #dataviz @dslc.io
June 3, 2025 at 7:34 PM
I'm finally back at #pydytuesday this week and it's a doozy.

We looked at NSF grant terminations (so far) by state by the Trump administration. Total funding terminations across all states were >$600 million

Top 3 states:
1. CA ~$70 mil
2. NY ~$57 mil
3. TX ~$42 mil

#rstats #TidyTuesday @dslc.io
May 6, 2025 at 6:15 PM
We played with penguins data for this week's #TidyTuesday. I accepted @jonthegeek.com's challenge to recreate an existing plot. I recreated @allisonhorst.bsky.social's plot in #python using #plotnine. Can you guess which is the original?

Code here: github.com/kylieainslie...

#pydytuesday
April 17, 2025 at 6:50 AM
Key findings:
• Serial interval varies widely across studies
• Pooled mean serial interval ≈ 123 days
• Scabies incidence in NL increased steadily from 2011–2023
• Rt peaked in late summer
• Interventions preventing ~8% of transmission could tip R below 1
(3/4)
April 13, 2025 at 7:10 AM
Scabies affects >400 million people annually, yet basic quantities like the serial interval and reproduction number have remained unknown. (2/4)

We used outbreak and surveillance data to estimate:
🕒 Serial interval
📈 Growth rate
🦠 R₀ and Rt over time
April 13, 2025 at 7:10 AM
I didn't have much time for #TidyTuesday, so I took a different approach: back to (statistical) basics.

I made @quarto.org report determining the distn that best fits time spent in ED. A crucial step *before* a model can be fit.

Code here: github.com/kylieainslie...

#pydytuesday @dslc.io #rstats
April 13, 2025 at 6:54 AM
For #TidyTuesday we explored Pokemon data! I took it a step further & combined the data w evolution info from @emilhvitfeldt.bsky.social.
The result: Evolutionary trees for different Pokemon families.
Each Pokemon is represented by their image - thanks @libbyheeren.bsky.social for the💡

#pydytuesday
April 4, 2025 at 12:05 PM
Proof arrived in Amsterdam! The perfect way to spend a sunny afternoon! ☀️ 📚
@adamjkucharski.bsky.social
March 21, 2025 at 5:01 PM
This week's #tidytuesday was all about palm trees 🌴 and my #pydytuesday mission was using #plotnine 🚀

I made my first few plots using matplotlib and seaborn, but plotnine is waaaay more intuitive as a longtime #rstats user transitioning to #python.

🌴 heights and fruit color vary by palm subfamily!
March 20, 2025 at 5:58 PM
My office will henceforth be known as Leon's Lounge.
🐶 😴 ☀️

#dogsofbluesky
March 13, 2025 at 11:33 AM
For this week's #TidyTuesday I was interested in public response (critics scores) to Pixar films over time. There was a notable dip in ratings from 2011-14. 🤔
I wonder if this dip was due to the 2008 financial crisis (Pixar films take an avg of 4-6 years to be made).

#PydyTuesday #Rstats #PyData
March 12, 2025 at 4:02 PM
Correcting the lack of pup pics lately.

Leon chasing her beloved ball with the last rays of sunlight.

#dogsofbluesky
March 9, 2025 at 6:18 PM
☀️ Happy Saturday ☀️
☕ 🐶
March 8, 2025 at 12:49 PM
This is not the most sophisticated plot in the world, but it's my first ever in Python! I'm using #PydyTuesday as a way to teach myself Python. 🐍

I made life harder by using #positron and venv for the first time too! 🤷‍♀️

Code here: github.com/kylieainslie...

#TidyTuesday #python
March 7, 2025 at 3:11 PM