Marc Dotson's Avatar

Marc Dotson

@marcdotson.com.bsky.social

Causal Inference | Bayesian Statistics | Machine Learning // Husband, father, Latter-day Saint, assistant professor of data analytics, nerd. Blog: occasionaldivergences.com | GitHub: github.com/marcdotson

205 Followers  |  418 Following  |  60 Posts  |  Joined: 17.08.2023  |  2.0256

Latest posts by marcdotson.com on Bluesky

It’s been a lot of fun working on this project and connecting marketing methodology with my political science roots.

16.07.2025 19:40 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
An introduction to Python for R users – Occasional Divergences This introduction to Python assumes you know R, which is used as an analogy to explain Python for data analysis.

There are a lot of introductions to Python, but this one is mine. It includes a walkthrough of using uv for environment management, Polars for data wrangling, seaborn.objects for visualization, and scikit-learn for modeling. #rstats #python #pydata

14.06.2025 00:43 β€” πŸ‘ 55    πŸ” 8    πŸ’¬ 6    πŸ“Œ 1

Headed back home after a whirlwind visit! Logan is a gorgeous city and USU is doing really neat work with teaching data analytics

12.04.2025 18:31 β€” πŸ‘ 18    πŸ” 2    πŸ’¬ 0    πŸ“Œ 0
Post image

PyData Northern Utah is partnering with HackUSU for a special in-person meetup: An introduction to Python dashboards using polars, seaborn.objects, and Quarto: www.meetup.com/pydata-north...

21.02.2025 01:56 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

For our first PyData Northern Utah meetup of 2025, we are continuing to look at a data wrangling tools with @healthandstats.bsky.social as guide. For anyone in and around Cache Valley, join our Northern Utah chapter at www.meetup.com/pydata-north...

27.01.2025 17:14 β€” πŸ‘ 4    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

Python ignorance validated. I didn't realize there was a kernel selection option inside the Jupyter notebook. Thanks for the assist, @juliasilge.com.

09.01.2025 22:57 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Does Positron not play well with Jupyter notebooks? Β· posit-dev positron Β· Discussion #5922 This may be more Python ignorance on my part (see #4588), but I'm wondering if there is something under the hood that makes Positron not play well with Jupyter notebooks? Jupyter notebooks are not ...

This may be Python ignorance on my part, but I'm wondering if there is something under the hood that makes Positron not play well with Jupyter notebooks? @coatless.bsky.social have you seen anything like this?

github.com/posit-dev/po...

09.01.2025 17:40 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Lots of folks are discovering the relevance of decision theory to the practical problem of analyzing an A/B. A quick🧡

02.01.2025 22:38 β€” πŸ‘ 31    πŸ” 6    πŸ’¬ 1    πŸ“Œ 1

Woohoo, our paper is live!

This haiku summarizes it best:

Raw model results?
Stop! Hard to understand! Use
{marginaleffects}

02.12.2024 21:09 β€” πŸ‘ 193    πŸ” 34    πŸ’¬ 5    πŸ“Œ 1

#morepiesthanpeople

28.11.2024 01:06 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
posit conf 2024 talk recordings and workshop materials

posit conf 2024 talk recordings and workshop materials

No trick, all treats - posit::conf(2024) talks are now on YouTube! 🍬

Over a thousand people gathered in Seattle and online to dive into all things open-source data science. With 100+ talks, there's a lot to explore!

Check out the playlist: www.youtube.com/playlist?lis...

#RStats #Python

31.10.2024 14:00 β€” πŸ‘ 82    πŸ” 33    πŸ’¬ 0    πŸ“Œ 3
Preview
Data Wrangling with Polars, Wed, Nov 20, 2024, 6:00 PM | Meetup Join our first PyData Northern Utah meetup to learn about data wrangling with Polars. This will be a hands-on workshop, so come prepared to learn and ask questions. We will

For anyone in and around Utah State University, come join a new chapter of PyData and learn about data wrangling with Polars next week! #python #databs

12.11.2024 02:35 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 1

This administrative attack on the nonprofit sector fits with a pattern of authoritarian restrictions on civil society that's been going on for the past decade+ @suparnac.bsky.social and I (and others) have done a bunch of research on this from an intl/comparative perspective #nonprofitsky #polisky 🧡

11.11.2024 20:19 β€” πŸ‘ 39    πŸ” 23    πŸ’¬ 2    πŸ“Œ 2
Post image 03.11.2024 15:32 β€” πŸ‘ 20925    πŸ” 2833    πŸ’¬ 126    πŸ“Œ 58
First look at Positron, exploring orca encounters
YouTube video by Julia Silge First look at Positron, exploring orca encounters

My first screencast in quite a while! Take a first look at how to use #Positron, the new data science IDE I have been working on, for data analysis with #rstats, using this week's #TidyTuesday dataset on orca encounters 🐳
youtu.be/5BojM5EciPs

14.10.2024 17:57 β€” πŸ‘ 70    πŸ” 14    πŸ’¬ 2    πŸ“Œ 1
Positron A next-generation data science IDE

We've got a brand new, baby website for Positron! Take a look if you are interested in getting started, and please let us know how it goes:
positron.posit.co

28.10.2024 16:40 β€” πŸ‘ 121    πŸ” 44    πŸ’¬ 4    πŸ“Œ 3
Four scatterplots showing the same relationship four four datasets, all showing a slope of 1, but in reality they all have different true slopes that can only be uncovered through proper statistical adjustment

Four scatterplots showing the same relationship four four datasets, all showing a slope of 1, but in reality they all have different true slopes that can only be uncovered through proper statistical adjustment

Four common DAGs: a collider, a confounder, a mediator, and M-bias

Four common DAGs: a collider, a confounder, a mediator, and M-bias

Just discovered the Causal Quartet by @lucystats.bsky.social, @travisgerke.bsky.social, and @malcolmbarrett.malco.io: four datasets that have the same unadjusted casaul relationship between treatment/outcome but different true effects. This is great for teaching DAG-based causal inference! #rstats

06.09.2024 20:51 β€” πŸ‘ 150    πŸ” 40    πŸ’¬ 11    πŸ“Œ 5

Okay, I’ll bite: How do you read so much?!

15.08.2024 18:09 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
GitHub - r-wasm/quarto-drop: Drop down an interactive R or Python console, code editor, and plotting window from the top of your Quarto slides. Drop down an interactive R or Python console, code editor, and plotting window from the top of your Quarto slides. - r-wasm/quarto-drop

George Stagg just released a new #quarto extension that allows for an embedded full feature code editor inside of Quarto slide deck! It supports both #rstats via #webr and #python via #pyodide.

Announcement: mastodon.social/@gws@mstdn.s...

Extension:
github.com/r-wasm/quart...

23.07.2024 17:37 β€” πŸ‘ 16    πŸ” 3    πŸ’¬ 0    πŸ“Œ 1

You're on fire.🀞

23.07.2024 17:50 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

President Venn Diagram xkcd.com/2962

23.07.2024 00:03 β€” πŸ‘ 6920    πŸ” 1451    πŸ’¬ 58    πŸ“Œ 70
Cover of Statistical Rethinking

Cover of Statistical Rethinking

Winners of the DeGroot Prize

2021
Nicolas Chopin and Omiros Papaspiliopoulos (2020). An Introduction to Sequential Monte Carlo. Springer.

2019
Subhashis Ghosal and Aad van der Vaart. Fundamentals of Nonparametric Bayesian Inference. Cambridge University Press.

2017
David Banks, Jesus Rios, and David Rios Insua.  Adversarial Risk Analysis.  CRC Press.

2015
Andrew Gelman, John B. Carlin, Hal S. Stern, David B. Dunson, Aki Vehtari, and Donald B. Rubin.  Bayesian Data Analysis, Third Edition.  CRC Press.

2013
Noel Cressie and Christopher Wikle (2011).  Statistics for Spatio-Temporal Data.  John Wiley and Sons.

Kevin P. Murphy (2012). Machine Learning: A Probabilistic Perspective. MIT Press.

2011
Jay Kadane (2011).  Principles of Uncertainty.  CRC Press.

2009
Giovanni Parmigiani and Lurdes Inoue (2009). Decision Theory: Principles and Approaches. John Wiley and Sons.

Carl Edward Rasmussen and Christopher K. I. Williams (2006). Gaussian Processes for Machine Learning (freely availa

Winners of the DeGroot Prize 2021 Nicolas Chopin and Omiros Papaspiliopoulos (2020). An Introduction to Sequential Monte Carlo. Springer. 2019 Subhashis Ghosal and Aad van der Vaart. Fundamentals of Nonparametric Bayesian Inference. Cambridge University Press. 2017 David Banks, Jesus Rios, and David Rios Insua. Adversarial Risk Analysis. CRC Press. 2015 Andrew Gelman, John B. Carlin, Hal S. Stern, David B. Dunson, Aki Vehtari, and Donald B. Rubin. Bayesian Data Analysis, Third Edition. CRC Press. 2013 Noel Cressie and Christopher Wikle (2011). Statistics for Spatio-Temporal Data. John Wiley and Sons. Kevin P. Murphy (2012). Machine Learning: A Probabilistic Perspective. MIT Press. 2011 Jay Kadane (2011). Principles of Uncertainty. CRC Press. 2009 Giovanni Parmigiani and Lurdes Inoue (2009). Decision Theory: Principles and Approaches. John Wiley and Sons. Carl Edward Rasmussen and Christopher K. I. Williams (2006). Gaussian Processes for Machine Learning (freely availa

The International Society for Bayesian Analysis tells me Statistical Rethinking has won the 2024 DeGroot Prize for its contributions to "statistical inference, decision theory and statistical applications". This is huge honor especially given the previous winners who have influenced me so much.

16.07.2024 11:54 β€” πŸ‘ 149    πŸ” 15    πŸ’¬ 14    πŸ“Œ 2
Preview
Announcement: Stan R Packages Repo Deprecated - Moving to R-Universe Hello to the Stan R community! This post is to announce that we will be deprecating our custom R-packages repo ("https://mc-stan.org/r-packages/") and instead using R-Universe for building and distri...

@tjmahr.com Did you see the new way to install {cmdstanr} and other Stan friends with {renv} now? No more custom repo entry is neededβ€”it just uses R-Universe now discourse.mc-stan.org/t/announceme...

08.07.2024 16:21 β€” πŸ‘ 11    πŸ” 4    πŸ’¬ 0    πŸ“Œ 0
Preview
Fun with Positron | Andrew Heiss Combine the best of RStudio and Visual Studio Code in Posit’s new Positron IDE

New blog post! Read about Posit's new Positron editor, see some of the neat new features it has, and check out the settings and extensions I use. It includes a bonus workaround for connecting to a remote server with SSH! #rstats

08.07.2024 13:51 β€” πŸ‘ 42    πŸ” 16    πŸ’¬ 1    πŸ“Œ 1
A screenshot showing the Positron IDE GitHub Release page with new tag updates since it was just released.

A screenshot showing the Positron IDE GitHub Release page with new tag updates since it was just released.

#positron IDE beta has been updated since last week! Two nice changes:

1. Quarto Extension (not the CLI) is now bundled; and,
2. Prelim support for #polars in data explorer

A full list of changes can be viewed using GitHub's compare url with tags.

github.com/posit-dev/po...

03.07.2024 17:35 β€” πŸ‘ 3    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

You tried to hold us back, but humanity has *got* to be free to explore!

03.07.2024 01:51 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Positron doing Data Analysis with R (Public Beta)
Timeline00:00 Intro00:25 Select R as the interpreter from the upper right corner.00:40 View the usual R startup message in the lower-left window.00:50 Discus... Positron doing Data Analysis with R (Public Beta)

Some dueling long-haul (~30min+) videos exploring the #Positron IDE for data wrangling and visualization. Both videos look at the new data explorer, plotting capabilities, projects, and graph support.

#rstats: www.youtube.com/watch?v=-jhT...

#Python: www.youtube.com/watch?v=izaZ...

02.07.2024 18:44 β€” πŸ‘ 11    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0

Yeah, this was my whole reason for writing that blog post. It's simple, but just me trying to grok all this as an RStudio user.

02.07.2024 17:34 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Sure thing! It's not much, but hopefully it's helpful.

02.07.2024 17:13 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Coding in R and Python with Positron – Occasional Divergences Positron is a β€œnext-generation data science IDE.” If RStudio is too specific and VS Code is too general, is Positron just right?

Curious about Positron, @posit.co's new IDE? I try and summarize how it appears to bring together the best of RStudio and VS Code. #rstats #pydata #positron occasionaldivergences.com/posts/positr...

02.07.2024 06:25 β€” πŸ‘ 4    πŸ” 1    πŸ’¬ 1    πŸ“Œ 1

@marcdotson.com is following 20 prominent accounts