Mattias Villani
banner
matvil.bsky.social
Mattias Villani
@matvil.bsky.social
Professor of Statistics at Stockholm University.
25+ years of Bayes and still excited.
Big fan of Julialang, Observable and Linux.
🇮🇹+🇸🇪
Reposted by Mattias Villani
We are recruiting a PhD student at Chalmers University of Technology, Gothenburg, Sweden.
The project explores Bayesian Experimental Design for real-time, risk-aware trajectory planning in autonomous driving, combining Bayesian inference and optimal control

Apply by November 30
tinyurl.com/4mr6u79y
Vacancies
www.chalmers.se
November 4, 2025 at 2:01 PM
Do this, if you can! Your work will reach thousands of thankful Bayesians.
Now I'm also looking for a research software engineer to implement a pile of research results to R packages loo, posterior, bayesplot, projpred, priorsense, brms or/and Python packages ArviZ, Bambi and Kulprit. Apply by email with no specific deadline (see contact info at users.aalto.fi/~ave/)
I'm now also looking for a postdoc with strong Bayesian background and interest in developing Bayesian cross-validation theory, methods and software. Apply by email with no specific deadline (see contact information at users.aalto.fi/~ave/).

Others, please share
November 3, 2025 at 10:13 PM
Photo of me after an intensive Bayes lecture at the blackboard.
November 1, 2025 at 12:32 PM
Very nice 70 page intro to Julia in these notes. Well done!
I'm having a blast teaching a new 400-level computational physics class this semester. I've been writing up and posting my lecture notes as I go, and wanted to share them -- feedback and comments are more than welcome!

www.dmsussman.org/teaching/phy...
PHYS 436: Advanced computational physics | Sussman Lab
Theoretical, computational, and data-driven soft matter research
www.dmsussman.org
October 12, 2025 at 8:52 PM
Great to see the forecast package from R in native Julia.
One less use case for RCall.jl in my workflow.
September 28, 2025 at 12:10 PM
This is a wonderful side-by-side comparison!
Scientific Modeling Cheatsheet: #MATLAB vs #Python vs #Julialang

Side-by-side comparison for:
• Differential equations
• Optimization
• Automatic differentiation
• Symbolic computing
• More!

Highlights ecosystem differences & best practices.

sciml.github.io/Scientific_M...
Scientific Modeling Cheatsheet – MATLAB – Python – Julia Quick Reference
sciml.github.io
September 24, 2025 at 3:31 PM
So me and my buddy chatGPT are now into using Lua filters in the Quarto YAML to hook into the pandoc AST to modify the inline LaTeX at compile time to convert LaTeX syntax to things that render correctly to html.

It works, that is all I can tell you.
September 24, 2025 at 12:20 PM
"Spotify for Linux is a labor of love from our engineers that wanted to listen to Spotify on their Linux development machines. They work on it in their spare time and it is currently not a platform that we actively support."

Honest, but weird when you have the money and passionate people.

#linux
September 22, 2025 at 9:18 AM
Reposted by Mattias Villani
We also wish a pleasant weekend to the couriers who transform our parcels in their own way, #stats!
September 19, 2025 at 3:02 PM
An excellent way to feel like a complete loser is to try to do something semi-advanced with LaTeX.

It is also a great way to waste an afternoon.
September 10, 2025 at 2:23 PM
Reposted by Mattias Villani
If you're interested in learning #JuliaLang and are currently an #RStats user (or even if you're not!), then here's a little introduction to getting started! 📊

Blog post: nrennie.rbind.io/blog/introdu...

#QuartoPub #Julia @tidierjl.bsky.social
Introduction to Julia for R users – Nicola Rennie
This blog post will give R users an overview of what Julia is and why they might want to use it, introduce some data processing Julia packages, and show how they can incorporate Julia into existing R ...
nrennie.rbind.io
August 18, 2025 at 8:12 PM
Reposted by Mattias Villani
My Bayesian Data Analysis course at Aalto is starting in 20mins. There are now 375 registered students, but as the course is not compulsory for most, I expect about 230 students to finish it. All the course material is available online at avehtari.github.io/BDA_course_A...
Bayesian Data Analysis course
avehtari.github.io
September 1, 2025 at 10:54 AM
Dusting of my old Lenovo ThinkPad X220, bought 14 years ago.
Still snappy after a fresh Linux install!
#linux
August 11, 2025 at 10:09 AM
Hmm, I can't quite pin it down, but something seems missing here?
"I believe #rstats is an orchestrator. It's the language that binds your data to all the other tools."

- Simon Urbanek, #user2025

(+ bonus silly AI illustration just because I can!)
August 9, 2025 at 3:56 PM
Reposted by Mattias Villani
Remember to follow the official rebuttal guide.
July 27, 2025 at 7:08 AM
Yes, the interoperability between Julia and many other languages is amazing! I often work in the other direction, calling for example these from within Julia code:
- R (github.com/JuliaInterop...)
- Python (github.com/JuliaPy/PyCa...)
- Matlab (github.com/JuliaInterop...) from Julia.
#julialang
June 7, 2025 at 6:50 PM
Reposted by Mattias Villani
Contemplating starting a side business where I make academics' #rstats ggplot charts non-ugly for $25 a pop.
May 16, 2025 at 10:10 PM
RCall.jl is really useful. Take any function that you like from R and turn into a Julia function without any hassle. I use this a lot when benchmarking my research coded in Julia with established methods in R.
Want to run R code inside Julia? With RCall.jl, you can seamlessly pass variables between #R and Julia. Learn how to set up RCall in the Julia IDE and run R code from the Julia REPL. youtu.be/-2dqum5inEM?...
#JuliaLang #RStats #DataScience #programming
Using RCall to run R code in Julia
YouTube video by JuliaHub
youtu.be
May 14, 2025 at 7:09 PM
Reposted by Mattias Villani
Hello Friends!

I'm on the job market now!

I have a oodles of knowledge for all the software performance engineering tricks in Rust, Julia and other systems languages and would love to work with teams that are looking to skill up in those respects, from back ends to big data crunching!
May 9, 2025 at 6:03 PM
Amazing run-through, from new packages all the way down to the bare compiled metal.

Everyone knows this, but still: @chrisrackauckas.bsky.social is an amazing talent in explaining complicated technical details with such ease, knowledge, enthusiasm and wit. Brilliant!

youtube.com/watch?v=17aN...
This month in Julia world 2025-02 with the Julia Dispatch hosts
YouTube video by Julia Dispatch
youtube.com
May 8, 2025 at 5:45 PM
Data Science/ML/Stats academics:

We are hiring a senior lecturer to contribute to research and the new (hugely popular) master's in Data Science, Statistics and Decision Analysis: bit.ly/3GZj0N9

Excellent job security, health care, pensions and all that.

Reposts appreciated!

bit.ly/435VTYW
Senior Lecturer in Statistics, specialized in Data Science
For more information about us, please visit: Department of Statistics Subject/subject description Data science is a multidisciplinary academic field that uses scientific methods, algorithms and system
bit.ly
May 8, 2025 at 10:14 AM
A wonderful upcoming Turing.jl talk:

github.com/TuringLang/T...

This is part of

learnbayes.se

with seminars from Andrew Gelman, Frank Harrell and Aki Vehtari and more.

Bayes and Julia, the best things in life are free!

#julialang
github.com
May 8, 2025 at 9:22 AM
Reposted by Mattias Villani
Want to participate in #TidyTuesday but #julialang is more your speed? Check out #TidierTuesday!

github.com/TidierOrg/Ti...

Big shout out to @jonthegeek.com , @frankiethull.bsky.social , and the folks behind @tidierjl.bsky.social for their work making this happen.
GitHub - TidierOrg/TidierTuesday.jl: A Julia package to download TidyTuesday datasets
A Julia package to download TidyTuesday datasets. Contribute to TidierOrg/TidierTuesday.jl development by creating an account on GitHub.
github.com
April 29, 2025 at 2:50 PM
Reposted by Mattias Villani
Why choose between Julia and R when you can use both? With RCall.jl, you can tap into R’s ecosystem—like classInt—directly from Julia. Learn how to bridge both worlds and expand your analytical toolbox: medium.com/@technocrat/...
#JuliaLang #DataScience #RStats #Interop #programming #analytics
Using R from within Julia
English is promiscuous. If it likes a word or expression, it steals it. “Not invented here” is no objection. Official French is the…
medium.com
April 24, 2025 at 1:56 PM