The birthday problem is the fact that only 23 people are needed in a class for the probability that at least two students sharing the same birthday is at least 50%. It is a problem familiar to most people interested in statistics and probability theory. (And you only need 23 people in a statistics class […]
Year: 2025
Assorted links #37
1334. My Life in Weeks ↪ An interesting way to visualise … life. I have never been a huge fan of the week as a unit, but maybe for the same reasons I find such a visualisation interesting. I guess it is also interesting what kind of non-personal events you find relevant to include in […]
Use use() in R
In R there is now a function to load packages called use() (from version 4.4.0 onwards). There are of course already library() and require(), but I strongly recommend using use(), or at least understand why it exists and adjust how you use library() accordingly. To understand the usefulness of use(), let us work with an example […]
Introduktion til R #4
Der er gode og dårlige nyheder i forhold til min introduktionsbog til R, Introduktion til R. Lad os begynde med de gode nyheder. Bogen er taget i brug på flere uddannelsesinstitutioner (blandt andet på sociologi, hvilket jeg er ekstra glad for at høre). Hans Reitzels Forlag har således ytret interesse i at udgive en 3. […]
Should you use polars in R?
If you work with big data in a tabular format in Python, it is difficult to avoid polars in the current environment. There are many good reasons to use polars in Python (performance and the API are the two most relevant ones), and for R users the question is whether polars is worth considering as […]