Jan-Ole Koslik's Avatar

Jan-Ole Koslik

@olemole.bsky.social

PhD student πŸŽ“ in Statistics at Bielefeld University interested in doubly stochastic processes and their application to ecology πŸ¦…, sports 🏈, and finance πŸ“ˆ. Website: https://janoleko.github.io GitHub: https://github.com/janoleko

308 Followers  |  454 Following  |  16 Posts  |  Joined: 23.12.2024  |  1.9031

Latest posts by olemole.bsky.social on Bluesky

Promotional image for webRios showing the app icon and an iPhone displaying the R console. The console shows example R commands with syntax highlighting: basic arithmetic (1 + 1), a print statement saying 'Hello from iOS!', a warning message in orange reading 'Uh-oh, I'm in the Apple-verse?', an error message in red with the HAL 9000 quote 'I'm sorry, Dave. I'm afraid I can't do that.', and a plot command.

Promotional image for webRios showing the app icon and an iPhone displaying the R console. The console shows example R commands with syntax highlighting: basic arithmetic (1 + 1), a print statement saying 'Hello from iOS!', a warning message in orange reading 'Uh-oh, I'm in the Apple-verse?', an error message in red with the HAL 9000 quote 'I'm sorry, Dave. I'm afraid I can't do that.', and a plot command.

webRios is live. #rstats on your iPhone and iPad.

I showed native R compilation on #iOS last week. Shipping it is another story (thanks, GPL). This version uses #webR 's #WebAssembly build instead. Different tradeoffs, but this one clears App Review.

apps.apple.com/us/app/webri...

27.01.2026 02:42 β€” πŸ‘ 81    πŸ” 30    πŸ’¬ 8    πŸ“Œ 4
Post image

We have a new preprint on covariate-driven #HMMs!
doi.org/10.48550/arX...
@olemole.bsky.social, @rolandlangrock.bsky.social
β€’ commonly used hypothetical stationary distribution can be biased⚠️
β€’ we propose 2 approaches allowing unbiased inference
β€’ simulations and case study on GalΓ‘pagos tortoisesπŸ’πŸ—ΊοΈ

07.01.2026 09:58 β€” πŸ‘ 4    πŸ” 2    πŸ’¬ 0    πŸ“Œ 1
The 'bpvars' package for Forecasting with Bayesian Panel Vector Autoregressions

The 'bpvars' package for Forecasting with Bayesian Panel Vector Autoregressions

β¬›πŸŸ¦βšͺ Two years in the making! In a fantastic collaboration with Miguel from the International Labour Organisation! πŸ–€πŸ’™ The 'bpvars' package for Forecasting with Bayesian Panel Vector Autoregressions is out on CRAN! And it's spectacular!
cran.r-project.org/package=bpvars
#bpvars #bsvars.org #rstats

11.12.2025 23:23 β€” πŸ‘ 8    πŸ” 4    πŸ’¬ 0    πŸ“Œ 0

And that assessment is totally unbiased ofc πŸ˜‚

10.12.2025 15:25 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Comparison between true state probabilities, stationary approximation, and periodically stationary distribution for three different simulated Markov Chains. The bias of the stationary distribution is severe.

Comparison between true state probabilities, stationary approximation, and periodically stationary distribution for three different simulated Markov Chains. The bias of the stationary distribution is severe.

Overall dwell-time distribution in the active state of the fruit flies in two light conditions. Both distributions deviate substantially from a geometric one.

Overall dwell-time distribution in the active state of the fruit flies in two light conditions. Both distributions deviate substantially from a geometric one.

Using #simulations and a case study on #fruitflies πŸͺ°, we show that
- the widely used stationary approximation can be severely biased! ❌
- dwell-time distributions can deviate substantially from a #geometric shape.

#HMM #MarkovChain #seasonality #diel #stats #rstats #StatisticalEcology #behaviour

10.12.2025 14:53 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Periodically stationary distribution (probability that the fly is active) as a function of the time of day.
True stationary distribution is compared to biased approximation, and we see a substantial difference.

Periodically stationary distribution (probability that the fly is active) as a function of the time of day. True stationary distribution is compared to biased approximation, and we see a substantial difference.

Our paper on #HMMs with periodically ⏰ varying transition probabilities is published! πŸŽ‰ @carlinafeldmann.bsky.social, Sina Mews, @rmichels.bsky.social @rolandlangrock.bsky.social

doi.org/10.1214/25-AOAS2107

We derive the periodically #stationary distribution and the implied dwell-time distribution

10.12.2025 14:53 β€” πŸ‘ 13    πŸ” 5    πŸ’¬ 1    πŸ“Œ 0
Screenshot of an item in the new R-devel release, that says:

x %notin% table newly in base is an idiom for !(x %in% table) and provided almost entirely for convenience and code readability, from an R-devel suggestion, after many years of private definitions mostly hidden in packages, including in R's tools package.

Screenshot of an item in the new R-devel release, that says: x %notin% table newly in base is an idiom for !(x %in% table) and provided almost entirely for convenience and code readability, from an R-devel suggestion, after many years of private definitions mostly hidden in packages, including in R's tools package.

%notin% is coming to Base R! Heck to the yes.

We are truly blessed on this day, thank you R Core. 🀩

#rstats

09.12.2025 20:32 β€” πŸ‘ 55    πŸ” 7    πŸ’¬ 4    πŸ“Œ 2
Preview
Tools to Make Developing R Packages Easier Collection of package development tools.

Day 2: devtools - Essential Development Workflow πŸ”§

The devtools package streamlines your package development workflow with key functions! ⚑

πŸ’‘ Pro Tip: Use Ctrl/Cmd + Shift + L in RStudio to quickly run load_all().

πŸ“š Resources: devtools.r-lib.org

#RPackageDev #RStats #devtools #RPackageAdvent2025

03.12.2025 11:01 β€” πŸ‘ 10    πŸ” 3    πŸ’¬ 1    πŸ“Œ 0
Figure with two panels. Left panel: visualisation of a 3D movement track. Right panel: visualisation of the 3D direction of movement as two angles (one horizontal angle and one vertical angle).

Figure with two panels. Left panel: visualisation of a 3D movement track. Right panel: visualisation of the 3D direction of movement as two angles (one horizontal angle and one vertical angle).

We have a preprint about modelling three-dimensional movement tracks, led by @njklappstein.bsky.social.

The model takes the form of a step selection function and, just like in 2D, it can include directional persistence, attraction to targets, and habitat selection.

doi.org/10.1101/2025...

02.12.2025 15:07 β€” πŸ‘ 15    πŸ” 6    πŸ’¬ 0    πŸ“Œ 1
Version history of moveHMM R package, showing version 1.0 dated 2015-10-23

Version history of moveHMM R package, showing version 1.0 dated 2015-10-23

moveHMM version 1.0 turns 10 today πŸŽ‰ Such a fun 10 years; exchanging with folks who use the package (and its extensions) has been one of the best parts of my job!

23.10.2025 13:18 β€” πŸ‘ 17    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0
Fast Numerical Maximum Likelihood Estimation for Latent Markov Models A variety of latent Markov models, including hidden Markov models, hidden semi-Markov models, state-space models and continuous-time variants can be formulated and estimated within the same framework ...

The LaMa package provides a versatile framework for inference with latent Markov models, designed to make building such models fun and efficient.

Check out the vignettes and start building models! πŸ› οΈ
πŸ‘‰ janoleko.github.io/LaMa/

05.09.2025 12:10 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Our review paper on latent Markov models is now published in Statistical Modelling! πŸŽ‰ @rolandlangrock.bsky.social @SinaMews.

We discuss choosing the right time and space formulation and provide the R package πŸ“¦ LaMa for fast ⚑and flexible estimation.

πŸ“„ Paper: journals.sagepub.com/eprint/UETXX...

05.09.2025 12:06 β€” πŸ‘ 11    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0
Fast Numerical Maximum Likelihood Estimation for Latent Markov Models A variety of latent Markov models, including hidden Markov models, hidden semi-Markov models, state-space models and continuous-time variants can be formulated and estimated within the same framework ...

All the relevant methodology is fully implemented πŸ› οΈ in my R package LaMa πŸ¦™:

janoleko.github.io/LaMa/

19.03.2025 16:35 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Hidden semi-Markov models with inhomogeneous state dwell-time distributions The well-established methodology for the estimation of hidden semi-Markov models (HSMMs) as hidden Markov models (HMMs) with extended state spaces is …

My paper is out! πŸŽ‰ I explore hidden semi-Markov models with covariate-dependent state dwell-time distributions β€” because sometimes Markov just isn’t enough.
Case study: Arctic muskox movement! πŸ¦¬πŸ“Š
πŸ”— www.sciencedirect.com/science/arti...

#stats #TimeSeries #HSMM #StatisticalEcology #rstats

19.03.2025 16:35 β€” πŸ‘ 8    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0
Post image Post image

Rdatasets is a collection of 2300 free and documented datasets in CSV format. It's a great resource for teaching and exploration!

The new `get_dataset()` function from the {marginaleffects} πŸ“¦ allows you to search and load them directly in #Rstats.

vincentarelbundock.github.io/Rdatasets/ar...

14.02.2025 12:54 β€” πŸ‘ 101    πŸ” 28    πŸ’¬ 2    πŸ“Œ 0
Popular meme format, grandma labeled with "bluesky's public launch was one year ago today." Younger person helping her labeled with "sure grandma let's get you to bed."

Popular meme format, grandma labeled with "bluesky's public launch was one year ago today." Younger person helping her labeled with "sure grandma let's get you to bed."

happy first birthday to Bluesky, and what a year it's been!

with every day, the need for an open network that puts people first becomes increasingly clear. we're glad to be building this with you. after all, the heart of a social network is the people.

06.02.2025 17:49 β€” πŸ‘ 153735    πŸ” 13887    πŸ’¬ 3479    πŸ“Œ 1666
Post image

The world is on πŸ”₯ -- and here's my first publication in an astronomy journal: iopscience.iop.org/article/10.3...

We combine Gaussian processes + hidden Markov models to efficiently detect stellar flares in one modelling step. πŸ§ͺ

31.01.2025 02:26 β€” πŸ‘ 40    πŸ” 9    πŸ’¬ 2    πŸ“Œ 1
Video thumbnail

Could watch this animation all day 😍

Did you know that you can create GIFs with gganimate()? They can even be embedded in a latex PDF file and played via Adobe Acorbat Reader πŸ’₯

#ggplot #gganimate #datavisualisation #statisticalmodelling #finance #economics #quants

21.01.2025 13:56 β€” πŸ‘ 7    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0
Post image Post image

I'm just saying this is syntatically correct #rstats code

16.01.2025 16:38 β€” πŸ‘ 119    πŸ” 21    πŸ’¬ 16    πŸ“Œ 10
Post image Post image

2024 @copernicusecmwf.bsky.social #climate data out today:

πŸ“ˆ 2024 - first year more than 1.5Β°C above pre-industrial; for ERA5 it was 1.6ΒΊC
🌑️ the past 10 years were the 10 warmest years on record
πŸ“ˆ 2024 was warmest year for all continental regions, except Antarctica and Australasia

🌍🌑️πŸ§ͺβš’οΈπŸŒŠ

10.01.2025 06:20 β€” πŸ‘ 156    πŸ” 107    πŸ’¬ 6    πŸ“Œ 6
On Theoretical Foundations of Diffusion Models
YouTube video by C3 Digital Transformation Institute On Theoretical Foundations of Diffusion Models

Quite a nice watch:
youtu.be/TE4R8bumI-Q?...

06.01.2025 21:01 β€” πŸ‘ 36    πŸ” 4    πŸ’¬ 0    πŸ“Œ 0
HMMotion: Using tracking data to predict coverage Explore and run machine learning code with Kaggle Notebooks | Using data from multiple data sources

Full kaggle notebook:

www.kaggle.com/code/rouvenm...

07.01.2025 14:10 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image Post image

In this yearβ€˜s NFL Big Data Bowl 🏈 submission, @rmichels.bsky.social, Robert Bajons, and I employ hidden Markov models to uncover πŸ”Žguarding assignments and use this additional information to improve the prediction of defensive strategies. πŸ“Š
#bigdatabowl #rstats

07.01.2025 14:10 β€” πŸ‘ 8    πŸ” 1    πŸ’¬ 3    πŸ“Œ 0

Big Data Bowl submissions are due tomorrow

🚨🚨

The deadline is 11:59 PM UTC, which is 6:59 PM EST

🚨🚨

#BigDataBowl

06.01.2025 02:39 β€” πŸ‘ 9    πŸ” 2    πŸ’¬ 2    πŸ“Œ 0
Example

With a matrix

> x <- matrix(rnorm(20 * 500), nrow = 20, ncol = 500)
it is many times faster to calculate medians column by column using

> mu <- matrixStats::colMedians(x)
than using

> mu <- apply(x, MARGIN = 2, FUN = median)
Moreover, if performing calculations on a subset of rows and/or columns, using

> mu <- colMedians(x, rows = 33:158, cols = 1001:3000)
is much faster and more memory efficient than

> mu <- apply(x[33:158, 1001:3000], MARGIN = 2, FUN = median)

Example With a matrix > x <- matrix(rnorm(20 * 500), nrow = 20, ncol = 500) it is many times faster to calculate medians column by column using > mu <- matrixStats::colMedians(x) than using > mu <- apply(x, MARGIN = 2, FUN = median) Moreover, if performing calculations on a subset of rows and/or columns, using > mu <- colMedians(x, rows = 33:158, cols = 1001:3000) is much faster and more memory efficient than > mu <- apply(x[33:158, 1001:3000], MARGIN = 2, FUN = median)

The {matrixStats} #RStats πŸ“¦ β€œprovides highly optimized functions for computing common summaries over rows and columns of matrices, e.g. rowQuantiles(). There are also functions that operate on vectors.”
By @henrikbengtsson.bsky.social
github.com/HenrikBengts...

03.01.2025 12:43 β€” πŸ‘ 18    πŸ” 4    πŸ’¬ 0    πŸ“Œ 0

I crunch a lot of numbers to ultimately tell people β€žyeah this thing may or may not happen idkβ€œ.

30.12.2024 22:25 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

πŸ₯²πŸ₯²πŸ₯²

30.12.2024 19:37 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
2024 In Review - Bluesky It’s been a big year for Bluesky! Let's take a look back at everything that’s happened in the past year.

What a year! Bluesky opened its doors just last February. Since then, we opened federation, launched video, rolled out trending topics, and a whole lot more.

Happy New Year, and here’s to a great year ahead! πŸŽ‰

30.12.2024 19:08 β€” πŸ‘ 51311    πŸ” 5509    πŸ’¬ 1675    πŸ“Œ 364

Oh yeah, hurts every time πŸ˜‚

30.12.2024 16:41 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

Every time it’s called a classifier, somewhere, a statistician dies. πŸ˜΅β€πŸ’«
#stats #ML

30.12.2024 14:10 β€” πŸ‘ 15    πŸ” 1    πŸ’¬ 5    πŸ“Œ 0

@olemole is following 20 prominent accounts