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
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.
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
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.
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
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.
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
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)!
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
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 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
#rstats
October 21, 2025 at 12:41 PM
Look what arrived in the mail today! It's my copy of the pink book of marginaleffects by @vincentab.bsky.social
#rstats
#rstats
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...
doi.org/10.1097/0000...
October 14, 2025 at 8:21 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...
doi.org/10.1097/0000...
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
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!
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
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.
And to you. Best day in the calendar.
October 4, 2025 at 6:43 AM
And to you. Best day in the calendar.
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
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.
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
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.
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
Erittäin totta. Heikon edustavuuden lisäksi avoimet kyselyt ovat herkkiä silkalle sabotaasille. Kyselytutkimuksen lippulaiva Pew teki tästä hiljattain kokeenkin.
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
Reading a history of the social sciences and it contains this not too veiled insult of social psychology.
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/?...
improbable.com/ig/winners/?...
September 19, 2025 at 6:06 PM
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/?...
improbable.com/ig/winners/?...
Mandatory absolute unit:
September 18, 2025 at 6:05 AM
Mandatory absolute unit:
TIL that rstanarm has a secret* dev version that includes a stan_surv function for Bayesian survival modelling in #rstats
*not actually secret
*not actually secret
September 17, 2025 at 6:16 PM
TIL that rstanarm has a secret* dev version that includes a stan_surv function for Bayesian survival modelling in #rstats
*not actually secret
*not actually secret
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
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.
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
For my workflows I expect the dictionary approach to be how this new feature finds its way to my plots. Satisfying.
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
#rstats
September 11, 2025 at 11:49 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
#rstats