Konsta Happonen
banner
konsta.happonen.eu
Konsta Happonen
@konsta.happonen.eu
Youth researcher. Bayesian surveyor of inner worlds. Tired baritone.
Went to see Alexander Ekman's COW at the National Ballet yesterday. Most fun I've had in a while! A delightful tongue-in-cheek performance that nonetheless left me thinking about some of the more serious themes presented.
November 1, 2025 at 12:33 PM
I recently smashed our last coffee server against the kitchen sink, so we were forced to buy a new one. This one's not as functional as the Hario server I destroyed, but just looking at it sparks joy every morning.
October 30, 2025 at 10:50 AM
m2 on the other hand is a Bayesian model with weakly informative N(0;5) priors. The model is identified despite one group (group = A & y = TRUE) being completely empty, and shows an OK fit to the data.
October 28, 2025 at 1:42 PM
Take a look at these univariate logistic regression examples. The sample size is 81, but group A only has observations of y == FALSE. m1 is a frequentist maximum likelihod fit to the data. Look at the standard errors (1193 logit units :D)!
October 28, 2025 at 1:42 PM
I understand why the city does this. Maple leaves are tough and don't decompose especially quickly. Still, it seems criminal to deliberately turn a beautiful yellow blanket into brown goo.
October 27, 2025 at 12:05 PM
Toisaalta
October 24, 2025 at 8:47 AM
set.seed(42) has xkcd random number generator vibes.

xkcd.com/221/
October 22, 2025 at 8:02 PM
Look what arrived in the mail today! It's my copy of the pink book of marginaleffects by @vincentab.bsky.social

#rstats
October 21, 2025 at 12:41 PM
Archie (1981) seems to have called it classical algebraic coupling of two variables, which is a mouthful, but could be maybe shortened to something useful.

doi.org/10.1097/0000...
October 14, 2025 at 8:21 PM
More seriously, I try to manage my caffeine intake by sometimes swapping coffee for chinese tea at work. Added bonus: brewing the tea is fun!
October 7, 2025 at 2:35 PM
Looks cool! I already almost finished this poster, but maybe next time. Strange coincidence, but getting the bibliography to format properly was one of the great struggles of today.
October 6, 2025 at 6:16 PM
And to you. Best day in the calendar.
October 4, 2025 at 6:43 AM
It's a case of Jensen's inequality: the average weighted variance is not equal to the variance function evaluated at the average sample size. Not sure how well this example scales to more complex cases, but this is how I've tried to build intuition.
September 28, 2025 at 11:03 AM
However, because the variance of the mean is not linearly related to sample size, the variance of a population estimate for the mean with n_A = n_B = 50 is not equal to an estimate using unequal group sizes.
September 28, 2025 at 11:03 AM
Erittäin totta. Heikon edustavuuden lisäksi avoimet kyselyt ovat herkkiä silkalle sabotaasille. Kyselytutkimuksen lippulaiva Pew teki tästä hiljattain kokeenkin.
September 23, 2025 at 7:53 AM
Reading a history of the social sciences and it contains this not too veiled insult of social psychology.
September 23, 2025 at 6:43 AM
I have just discovered discrete time markov chain models and am *enthralled* #rstats
September 21, 2025 at 9:29 AM
I totally missed that the #IgNobel prizes were awarded yesterday! My favorite one is probably the nutrition prize, for observing that rainbow lizards prefer quattro formaggi over other types of pizza.

improbable.com/ig/winners/?...
September 19, 2025 at 6:06 PM
Mandatory absolute unit:
September 18, 2025 at 6:05 AM
TIL that rstanarm has a secret* dev version that includes a stan_surv function for Bayesian survival modelling in #rstats

*not actually secret
September 17, 2025 at 6:16 PM
Phew!
September 17, 2025 at 8:36 AM
September 13, 2025 at 4:34 AM
Hey #rstats and especially {targets} peeps! What are some good ways to modularise long _targets.R files? I'm generating all figures for a book in one script and it's getting a bit unwieldy. I'm thinking of breaking the script into shorter subscripts by e.g. chapter to make it more readable.
September 12, 2025 at 1:14 PM
For my workflows I expect the dictionary approach to be how this new feature finds its way to my plots. Satisfying.
September 12, 2025 at 10:43 AM
My sick leave ends tomorrow so I'm slowly trying to ease into working on computers again. Two things I've remembered today while doing that: 1) base R graphics can be so crisp and beautiful (and {tinyplot} simplifies making them), 2) writing Stan code is FUN.

#rstats
September 11, 2025 at 11:49 AM