Sign in

Tyson Barrett

@healthandstats.bsky.social
2.3K followers 1.4K following 188 posts

Husband | Father | Associate Professor in Data Analytics | PhD | Researcher | Meditator | he/him | #rstats #rdatatable 🏳️‍🌈 🧗‍♂️ tysonbarrett.com

PostsRepliesMedia
Reposted by Tyson Barrett
Carlos Scheidegger @cscheid.net · 07/10/2026
quick screencap of qmd->docx->qmd comment flow in quarto 2/quarto-hub
1317
Reposted by Tyson Barrett
Christopher Julian @chrisajulian.bsky.social · 09/10/2026
I reanalyzed the CDC data behind the LGB “free fall” headline. It rests on a change in bisexual identification among one grade, in one wave, of one survey. Gay or lesbian identification did not change significantly. Calling it a "free fall" is sensational and just gives bad actors talking points.
Six small line charts showing the percent of U.S. high school students choosing each sexual identity response option by grade (9th to 12th), 2015 to 2025, with 95% confidence intervals. Heterosexual falls from about 85 to 90 percent before 2021 to about 73 percent in 2021 and 2023, then rises to about 78 to 80 percent in 2025. Gay or lesbian stays between about 2 and 5 percent throughout. Bisexual rises to about 12 percent in 2021 in every grade, then among 9th graders falls to about 7 percent in 2025, its 2019 level, while other grades stay near 10 percent. “Some other way,” added in 2021, falls from about 4 percent to about 2.5 percent. “Not sure” stays near 3 to 5 percent. A dotted line marks 2021, when CDC changed the response options.
27640286
Tyson Barrett @healthandstats.bsky.social · 08/10/2026
😐
000
Tyson Barrett @healthandstats.bsky.social · 07/10/2026
Outside of the obvious open source problems with vibe coding, there is soooo much truth in the “now I have to read/review all of this stuff with my brain power when you used almost none at all” across all layers of work now. Feel this in my bones 😭
2489
Reposted by Tyson Barrett
Polars @pola.rs · 06/10/2026
We just released Polars 2.0. It removed many of our legacy decisions makes the streaming engine our default and promotes SQL to a first class citizen within Polars. pola.rs/posts/releas...
pola.rs
Release of Polars 2.0
DataFrames for the new era
06115
Reposted by Tyson Barrett
Isabella Velásquez @ivelasq3.bsky.social · 06/10/2026
{renv}, {rix}, rv, uvr, ir... so many new #RStats tools! I wrote up a blog post if you've want to unpack (haha) how they work and how they are different. Inspired by @rpodcast.bsky.social's wonderful Data Science Lab episode (thank you, Eric!). Check out the post here: rworks.dev/posts/r-mana...
rworks.dev
{renv}, {rix}, rv, uvr, ir: An explosion of R package and environment managers – R Works
There has been an explosion of package/environment/platform managers in the R ecosystem recently. Here, we explore {renv}, {rix}, rv, uvr, and ir.
25915
Reposted by Tyson Barrett
R Consortium @rconsortium.bsky.social · 05/10/2026
New from the R Consortium’s nlmixr2 Working Group: model diagrams and equations, straight from the code. See how a fitted model can generate its own diagram and equations: r-consortium.org/posts/nlmixr... #RStats #Pharmacometrics
"Code to Math"
0122
Reposted by Tyson Barrett
Mina Kimes @minakimes.bsky.social · 02/10/2026
The problem isn’t that they’re moving past it—it’s that they’re trying to rehabilitate it. Would be better for everyone if people who don’t want to engage with the facts just talked about the play on the field and left it at that.
1043782592
Reposted by Tyson Barrett
Posit @posit.co · 01/10/2026
Python Polars: The Definitive Cheatsheet condenses a nearly 500-page book into 2 free pages of @pola.rs fundamentals and expressions. It’s built as a quick desk reference for anyone working with DataFrames in #Python. Check it out here: opensource.posit.co/resources/ch...
opensource.posit.co
Python Polars: The Definitive Cheatsheet
Quick reference guide for transforming, analyzing, and visualizing data with Python Polars.
0163
Reposted by Tyson Barrett
Aaron Rupar @atrupar.com · 29/09/2026
Jack Smith: "History teaches that the rule of law is rarely destroyed all at once. It's often weakened by attacks on the institutions and the public servants sworn to uphold it. Since January 2025, we have witnessed precisely such an effort."
694279539556
Reposted by Tyson Barrett
Grant McDermott @gmcd.bsky.social · 28/09/2026
𝐭𝐢𝐧𝐲𝐩𝐥𝐨𝐭 v0.8.0 now available on CRAN 🎉 grantmcdermott.com/tinyplot/ This is another big release: new plot types, finer facet & axis control, smarter handling of categorical data, and lots more. Same tiny footprint, though. Short highlight thread below 🧵 #rstats
Heatmap of the mtcars dataset, scaled within each column. Code: https://github.com/grantmcdermott/tinyplot/blob/main/vignettes/gallery_figs/heatmap-mtcars.RHistogram of New York temperatures, with bars coloured by their own x values. Code: plt(~ Temp | Temp, data = airquality, type = "hist", theme = "classic")Hexbin plot of 20,000 bivariate normal draws. Code: https://github.com/grantmcdermott/tinyplot/blob/main/vignettes/gallery_figs/hexbin.RStacked area plot of telephones in use by world region, 1956-1961. Code: plt(WorldPhones[-1, ], type = type_area(stack = TRUE, byord = "end"))
13513
Tyson Barrett @healthandstats.bsky.social · 28/09/2026
The writers of the current plotline are getting lazy. As if anyone would believe that *Canada* of all places could even be accused of this, even by someone with dementia. Think we need some new faces in the writers room.
010
Reposted by Tyson Barrett
Mike Boylan-Kolchin @mbkplus.bsky.social · 27/09/2026
Once again, I gotta say: you cannot treat anything you’re feeding into an AI as anonymous. There are enormous ethics implications for, e.g. referees who are clearly uploading others’ unpublished papers without consent, let alone health care professionals or law enforcement
14754276
Reposted by Tyson Barrett
Joey Politano🏳️‍🌈 @josephpolitano.bsky.social · 27/09/2026
NEW from me: Over the last 4 years, America has lost more than 200k jobs in creative fields like publishing, film, TV, or graphic design. It's the worst stretch for arts jobs outside of recessions. How much is AI to blame? And can the arts' business model survive?🧵 www.apricitas.io/p/ai-and-the...
apricitas.io
AI and the Fall? of the Creative Class
America is Losing Hundreds of Thousands of Jobs in Media, Film & the Arts. How Much is AI to Blame?
17720230
Tyson Barrett @healthandstats.bsky.social · 26/09/2026
How ppl don’t see how this will imprison us, I will never understand. Offloading all of our thinking is certainly the worse possible direction tech could go.
040
Reposted by Tyson Barrett
Emil Hvitfeldt @emilhvitfeldt.bsky.social · 23/09/2026
I think I have cracked one of the final things that kept people in keynote over quarto revealjs slides. Introducing ✨️ quarto-revealjs-magic-move ✨️ emilhvitfeldt.com/post/quarto-... #quarto #slidecrafting
25410
Reposted by Tyson Barrett
ViCBiostat @vicbiostat.bsky.social · 23/09/2026
Seminar announcement Dianne (Di) Cook: Practical Tools for Data Exploration in Biostatistics 15 October, 4-5pm AEST via Zoom Further details: www.vicbiostat.org.au/event/practi... @visnut.bsky.social
01610
Tyson Barrett @healthandstats.bsky.social · 20/09/2026
This I think is the real danger of AI, ppl using it uncritically and trusting outputs bc they look good
110
Reposted by Tyson Barrett
Sarah Andersen @sarahseeandersen.bsky.social · 19/09/2026
The image is of a four panel comic.
The first panel shows a brain. The brain is saying "I'm 30 and YOUNG! I only recently fully developed!"
The second panel shows a heart. The heart says "I hear ya! I can keep going for DECADES more!"
The third panel shows a spine's face. It weakly says, "I am old".
We zoom out and the spine is using a walker. It continues, "so very old".
101142782790
Tyson Barrett @healthandstats.bsky.social · 19/09/2026
Finally (😅) updated my personal website to quarto! It’s been a long time coming but #positconf gave me the motivation I needed to finally just do it. Really pleased with the final layout and the info should be all up to date. Big thanks to those quarto devs out there Tysonbarrett.com
Website screenshot of Tyson Barrett’s headshot and links to GitHub and other of Tyson’s profiles.
2251
Reposted by Tyson Barrett
Matt Henderson @matthen.com · 16/09/2026
Trying to forecast the future on a Galton board
1657880
Tyson Barrett @healthandstats.bsky.social · 17/09/2026
This talk was so fun to give at my fav conference #positconf2026 and honestly if I can demystify anything for Kelly, I’ve outdone myself. I’ll post the recording when it is available but for now, enjoy some slides tysonbarrett.com/assets/posit...
0100
Reposted by Tyson Barrett
Kelly Bodwin @kellybodwin.com · 16/09/2026
Not @healthandstats.bsky.social finally demystifying what a "skill" is in the last talk of #positconf2026, after it's been mentioned in 1000 times in the last 2 days, and I kept nodding and smiling like "oh yes I definitely know what that is". 😅
Tyson stands by a projected slide with a caution sign.Slide with a snipped of a workflow in a skill.md file.
4111
Reposted by Tyson Barrett
Sharon Machlis @smachlis.bsky.social · 16/09/2026
Tyson Barrett ( @healthandstats.bsky.social ) shared some useful tips on things to add to a CLAUDE.md file or a skills file in his "Teach Once Use Often: Building AI Skills for Data Analysis" #PositConf2026 talk. Slides: tysonbarrett.com/assets/posit...
A zoomed dark panel highlights text from CLAUDE.md:

# Make Errors Visible

Never drop NAs
Create checks after any major data step
Do not change the data to pass a check without asking.
Don’t overwrite raw data.
Don’t delete files or outputs without asking.
When updating a file, create a backup so no other changes get lost.

[Alt text by ChatGPT]
161
Reposted by Tyson Barrett
Andrew Heiss @andrew.heiss.phd · 08/07/2026
Latest version of Positron can open xlsx files in the data viewer(!) and it has a dropdown menu now for previewing different formats of #QuartoPub documents And—most importantly, but also from a few weeks ago, so less new—the plots panel can pick up dimensions from chunk options!!!! #rstats
An excel file of R's penguins data loaded into the data viewer in PositronA "Preview Format…" dropdown menuA screenshot of an image set to be 5x3 in the Quarto chunk options, automatically displaying as 5x3 in the plot panel
312516
Reposted by Tyson Barrett
Camille Wynn @camillewynn.bsky.social · 11/06/2026
We've never been able to find a validated person-reported measure of conversational success. So our team created one. Developed and validated with help from over 900 participants. Can be used in both research and clinical settings. Check it out! rdcu.be/fnFs0 @healthandstats.bsky.social
rdcu.be
The Person-Reported Outcome of Conversational Success (PROCS): Tool development and psychometric validation
1196
Reposted by Tyson Barrett
tj mahr 🤘 @tjmahr.com · 30/04/2026
migrated a note about plotting probability allocations from ordinal regression models www.tjmahr.com/notes/2022-0...
tjmahr.com
Visualizing ordinal model probabilities with ribbons
Here is a ggplot2 recipe for plotting cumulative probabilities from ordinal regression models.
1185
Reposted by Tyson Barrett
Grant McDermott @gmcd.bsky.social · 29/04/2026
Happy to see that `jgd` is now up on CRAN. An alternative #rstats graphics device that's fast and lightweight (mostly pure C). Try it out with our VS Code extension or Deno server. More details: github.com/grantmcdermo... Joint work with the indefatigable @eitsupi.bsky.social.
2396
Reposted by Tyson Barrett
Nicola Rennie @nrennie.bsky.social · 12/04/2026
A question for the #RStats hivemind! Assuming you know the basics of parameterised reporting with #QuartoPub, what would you want to know about that topic next? What took a while to get your head around? What still doesn't make sense about Quarto?
351
Reposted by Tyson Barrett
Stephen Wild @stephenjwild.bsky.social · 09/04/2026
Hey, survey nerds!
051
Reposted by Tyson Barrett
Andrew Heiss @andrew.heiss.phd · 04/04/2026
yesss this rules #rstats
Screenshot from Positron of a targets pipeline, with a hovering dialog showing that the selected target schedule_file is defined in a file and has three downstream dependencies
1242
Reposted by Tyson Barrett
Andrew Heiss @andrew.heiss.phd · 04/04/2026
Woohoo this essentially replaces my whole hacky workaround here! www.andrewheiss.com/blog/2025/07...
andrewheiss.com
Use Positron to run R inside a Docker image through SSH | Andrew Heiss
Running R in Docker containers is great for reproducible projects, but writing and running code in the container can be a hassle. Use Positron to SSH into local Docker containers instead!
4252
Reposted by Tyson Barrett
Andrew Heiss @andrew.heiss.phd · 06/03/2026
Finally got around to adding fancy links to my different interactive teaching websites for showing things like p-hacking, p-value interpretations, and (still-in-draft-form) DAGs at www.andrewheiss.com/teaching/ #rstats #QuartoPub #statsky
Interactive resources

With the power of OJS and Quarto, I’ve created a few interactive websites to illustrate trickier statistical concepts when teaching. Check them out (and adapt and copy as much as you want!)

With links to three different websites (accessible at the main link in the post)
112921
Reposted by Tyson Barrett
Gabe Ortíz @tusk81.bsky.social · 01/03/2026
“Dolly Parton Children’s Hospital did not share how much Parton donated as part of the naming announcement. But Matt Schaefer, its president and CEO, said her support would ensure ‘every child who walks through our doors receives the treatment they deserve.’” GOD BLESS DOLLY PARTON
telegraphherald.com
A children's hospital is renamed for Dolly Parton and hopes to transform pediatric care in Tennessee
Dolly Parton’s name might inspire full-throated sing-a-longs to her working woman’s anthem “9 to 5,” or evoke memories of thrilling days spent at her Dollywood theme park.
227138383076
Reposted by Tyson Barrett
Georgia Tomova @georgiatomova.bsky.social · 28/01/2026
Users of survey data, lovers of DAGs, and general methodological enthusiasts, gather round! I'm so excited to share this new paper, joint work with my brilliant colleagues @rjsilverwood.bsky.social, @pwgtennant.bsky.social, and Liam Wright. 🧵
academic.oup.com
How can the use of different modes of survey data collection introduce bias? An introduction to mode effects using directed acyclic graphs (DAGs)
Abstract. Survey data are self-reported data collected directly from respondents by a questionnaire or an interview and are commonly used in epidemiology.
47230
Reposted by Tyson Barrett
Rod Hilton @rodhilton.bsky.social · 28/02/2026
Anthropic: We lost a contract because we refuse to build Skynet. OpenAI: We'll do it
681570510
Reposted by Tyson Barrett
Kevin M. Kruse @kevinmkruse.bsky.social · 27/02/2026
In my time at Princeton, we've had several Army officers in our doctoral program. They've all done excellent work. When this former Princeton undergrad says we're actually teaching them "the enemy's wicked ideology" I have no idea what the hell he's talking about but, of course, neither does he.
1803364721
Reposted by Tyson Barrett
Grace @gracekind.net · 26/02/2026
👍
Regardless, these threats do not change our position: we cannot in good conscience accede to their request.
124928
Tyson Barrett @healthandstats.bsky.social · 25/01/2026
Wow, Bugonia was such a fascinating movie. If you are looking for something beautifully unique with incredible performances and a great score, watch it
Clip from the movie Bugonia showing one of the main characters.
030
Reposted by Tyson Barrett
Max Berger @maxberger.bsky.social · 24/01/2026
The federal government is executing American citizens in the middle of the street for exercising their constitutional right to freedom of speech. This is tyranny. No free people can accept this kind of government. We need to bring an end to the Trump regime.
28698432592
Reposted by Tyson Barrett
Mina Kimes @minakimes.bsky.social · 24/01/2026
A nurse. A researcher. A helper.
470243533923
Reposted by Tyson Barrett
Omar Wasow @owasow.bsky.social · 16/01/2026
Evergreen: “The men who were less-skilled at the game and performing worse relative peers—made frequent, nasty comments to female gamers. In other words, sexist dudes are literally losers.” www.washingtonpost.com/news/the-int...
washingtonpost.com
Men who harass women online are quite literally losers, new study finds
Researchers watched how men treated women during 163 plays of the video game Halo 3.
422395755
Reposted by Tyson Barrett
Conrad Hackett @conradhackett.bsky.social · 17/01/2026
Please share: Pew Research Center will provide $3,000 each for 19 new papers using our recent global datasets. We encourage reuse of our Pew-Templeton Global Religious Futures data! www.pewresearch.org/2026/01/16/seek…
To encourage reuse of our data, Pew Research Center, with support from the John Templeton Foundation, invites researchers to submit proposals for new research publications that use one or more of the following datasets (collectively, Datasets) from the Global Religious Futures (GRF) project:  Global Restrictions on Religion 2007-2022 dataset. This cumulative dataset includes measures of government restrictions on religion and social hostilities involving religion in nearly 200 countries and territories. Spring 2024 Survey. This dataset includes measures of religion and spirituality in 35 countries. (Comparable data was also collected in 2023 and 2024 for the United States. The downloadable materials which accompany the international dataset include additional information about U.S. data.) Dataset of Global Religious Composition Estimates for 2010 and 2020. This dataset includes estimates of the size of seven major religious groups in more than 200 countries and territories. We encourag
1136108
Reposted by Tyson Barrett
Andrew Heiss @andrew.heiss.phd · 16/01/2026
Either Causal Inference in R www.r-causal.org or The Effect! www.theeffectbook.net/index.html
1266
Reposted by Tyson Barrett
shauna @goldengateblond.bsky.social · 12/01/2026
if you put this in a script even erin brockovitch would be like “too on the nose, dial it back”
Breaking News
The E.P.A. will stop considering lives saved when setting pollution limits and instead calculate only the cost to businesses.
20770272213
Tyson Barrett @healthandstats.bsky.social · 01/01/2026
Appreciate #strangerthings for distracting me from the other stuff in life for a few hours tonight. Really likes how they wrapped it all up
000
Reposted by Tyson Barrett
Acyn @acyn.bsky.social · 31/12/2025
Question: But the president’s statements that he believed the election was rife with fraud—those are statements protected by the First Amendment, correct? Smith: Absolutely not. If they are made to target a lawful government function and are made with knowing falsity, then no, they are not.
490215246976
Reposted by Tyson Barrett
John Holbein @johnholbein1.bsky.social · 25/12/2025
DOGE was A LOT less likely to cancel contracts from companies that donated money to Republicans than companies that donated to Democrats.
7034721260
Tyson Barrett @healthandstats.bsky.social · 23/12/2025
Noticed that the {revdepcheck} package no longer has the "not being actively maintained" message (looks like it was removed a year ago, just didn't notice). This is such a nice package, thanks to @gaborcsardi.org @hadley.nz and co for keeping it alive 🎉
140
Reposted by Tyson Barrett
Don Moynihan @donmoyn.bsky.social · 22/12/2025
New, at Can We Still Govern? Poverty is not some insurmountable problem, we can fix it. A group of National Academies of Science researchers review the temporary expansion of the Child Tax Credit during the pandemic, showing it cut child poverty in half. 🧵 donmoynihan.substack.com/p/what-have-...
donmoynihan.substack.com
What have we learned about child poverty in America?
Members of a National Academy of Sciences committee share insights
8517197