Erik Ringen's Avatar

Erik Ringen

@err-ring.bsky.social

Principal Data Scientist @ PyMC Labs PhD in Bio-Anth. Behavioral ecology, phylogenetics, statistics & causal inference. https://erikringen.github.io/

371 Followers  |  157 Following  |  16 Posts  |  Joined: 21.09.2023  |  1.7797

Latest posts by err-ring.bsky.social on Bluesky

Post image

Postdoc position open in Zurich -- Prof. Martin Tomasik and I have a joint SNF project on interpretable neural network approaches for large scale, complex item / temporal structure, online learning / cognitive development data.

Please retweet.

tinyurl.com/PostdocGNNSNF

28.05.2025 11:16 โ€” ๐Ÿ‘ 23    ๐Ÿ” 19    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1

For the XL voice messagers in her life, my wife listens on 2x speed...

09.06.2025 19:47 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
๐ŸšจNEWS: The House is set to vote Monday on H.R. 867, the โ€œIGO Anti-Boycott Act,โ€ which would punish Americans with fines of up to $1 million or prison terms up to 20 years for participating in boycotts of Israel or Israeli settlements that are promoted by international governmental organizations (IGOs), such as the UN or EU.

The bill, sponsored by pro-Israel lawmaker Rep. Mike Lawler, expands U.S. anti-boycott law to target voluntary, values-based political action by U.S. citizens. Its aim is to shield Israel from nonviolent international pressure campaigns such as BDS.

Rights groups say the legislation criminalizes constitutionally protected political expression and is part of a broader push to suppress opposition to Israeli genocide, apartheid, and illegal settlement expansion, under the guise of fighting antisemitism.

๐ŸšจNEWS: The House is set to vote Monday on H.R. 867, the โ€œIGO Anti-Boycott Act,โ€ which would punish Americans with fines of up to $1 million or prison terms up to 20 years for participating in boycotts of Israel or Israeli settlements that are promoted by international governmental organizations (IGOs), such as the UN or EU. The bill, sponsored by pro-Israel lawmaker Rep. Mike Lawler, expands U.S. anti-boycott law to target voluntary, values-based political action by U.S. citizens. Its aim is to shield Israel from nonviolent international pressure campaigns such as BDS. Rights groups say the legislation criminalizes constitutionally protected political expression and is part of a broader push to suppress opposition to Israeli genocide, apartheid, and illegal settlement expansion, under the guise of fighting antisemitism.

Iโ€™m not sure Iโ€™ve ever seen something so simultaneously absurd and disturbing: the House will vote
Monday on a bill that would punish Americans for participating in boycotts of Israel with fines of up to $1 MILLION or prison terms up to TWENTY YEARS.

03.05.2025 11:46 โ€” ๐Ÿ‘ 2612    ๐Ÿ” 1250    ๐Ÿ’ฌ 191    ๐Ÿ“Œ 509

If you calculate marginal effects at the level of the ordinal response, then it shouldn't matter whether the effect is captured by the thresholds as opposed to a predictor tho, right?

28.04.2025 13:18 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Excited to share that Iโ€™ve started a new role as Principal Data Scientist with @pymc-labs.bsky.social. Iโ€™m working with and learning from an amazing group of people to do applied Bayesian modeling and advance open-source @pymc.io libraries.

05.04.2025 13:35 โ€” ๐Ÿ‘ 9    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Maybe this is the easiest way to understand it: you are never just adding more data with these analyses. More data implies a more complex model because it adds to the tree structure/history you are modelling. So you can end up with less precision when adding more data.

02.01.2025 13:49 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Very unsure if this is a similar phenomenon, but I have seen something like this happen when simulating from phylogenetic models, where power can depend on how "tippy vs branchy" the tree. But nobody has an estimand in PCMs so power per se isn't necessarily the right way to think about it

02.01.2025 13:47 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Full Luxury Bayesian Structural Equation Modeling with brms

OK, here is a very rough draft of a tutorial for #Bayesian #SEM using #brms for #rstats. It needs work, polish, has a lot of questions in it, and I need to add a references section. But, I think a lot of folk will find this useful, so.... jebyrnes.github.io/bayesian_sem... (use issues for comments!)

21.12.2024 19:49 โ€” ๐Ÿ‘ 226    ๐Ÿ” 61    ๐Ÿ’ฌ 9    ๐Ÿ“Œ 1
Post image Post image

Ah, I found what I was looking for! From Imai et al.'s "Unpacking the Black Box of Causality" (2011). This is coming from the angle of two experiments in which you identify A -> B and B -> C and why you cannot infer the average causal mediation effect from that.

06.12.2024 15:24 โ€” ๐Ÿ‘ 30    ๐Ÿ” 7    ๐Ÿ’ฌ 5    ๐Ÿ“Œ 3
Post image

my recommenders are bi-modal since becoming a parent

06.12.2024 14:49 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@solomonkurz.bsky.social's post is a much better introduction to OLREs, mine had a narrower aim of reminding ppl that trusting the default behavior of any stats software will burn you, even when the defaults are good.

03.12.2024 18:06 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Common marmosets use body posture as multi-functional signal to solicit, maintain, and modify social play Social play is a highly active social interaction, characterized by rapid exchanges of various behaviors with multiple partners. Many primates use bodily expressions during social play, yet the potent...

In @drjessieadriaense.bsky.social 's paper we use a mixture model. You could call it a partially-Hidden Marko Model, bc some states known exactly others inferred. www.biorxiv.org/content/10.1...

Technical supplement not online it looks like, but code here: github.com/ErikRingen/m...

03.12.2024 12:23 โ€” ๐Ÿ‘ 1    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Not yet. My context is seeking principled way to deal with the spaces between behavior. Often ambiguous whether the dead time between behaviors is a distinct "rest" state or instead just a short pause. Matters a lot for Markov models if A -> B or A -> Rest -> B.

03.12.2024 12:19 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

And was humbled again recently implementing latent multi-state (competing hazards) models in Stan

03.12.2024 11:14 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Time-to-event analyses taught me more about statistics than any other modelling exercise.

03.12.2024 11:11 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
UZH: PhD position in evolutionary anthropology and medicine The Human Ecology Group of the Institute of Evolutionary Medicine (IEM) Institute of Evolutionary Medicine at the University of Zurich, led by Prof. Adrian Jaeggi, is inviting applications from prospe...

๐Ÿšจ JOB ALERT!! We're looking for a PhD student to join our group! Are you interested in evolutionary medicine / anthropology? Already have a master's? Apply with your own project ideas! See link: jobs.uzh.ch/job-vacancie... #EvMed @bioanth.org @ehbea.bsky.social Please RT!

02.12.2024 13:10 โ€” ๐Ÿ‘ 40    ๐Ÿ” 51    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 2
Post image

Our JSS article is out!

And now I get to focus on {marginaleffects} 1.0.0. Stay tuned.

www.jstatsoft.org/article/view...

02.12.2024 04:00 โ€” ๐Ÿ‘ 382    ๐Ÿ” 115    ๐Ÿ’ฌ 13    ๐Ÿ“Œ 15
Preview
Expert-elicitation method for non-parametric joint priors using normalizing flows We propose an expert-elicitation method for learning non-parametric joint prior distributions using normalizing flows. Normalizing flows are a class of generative models that enable exact, single-step...

Prior specification is one of the hardest tasks in Bayesian modeling.

In our new paper, we (Florence Bockting, @stefanradev.bsky.social and me) develop a method for expert prior elicitation using generative neural networks and simulation-based learning.

arxiv.org/abs/2411.15826

26.11.2024 07:11 โ€” ๐Ÿ‘ 147    ๐Ÿ” 31    ๐Ÿ’ฌ 5    ๐Ÿ“Œ 0
Post image Post image

Our updated EcoEvoRxiv preprint "Estimating (non)linear selection on reaction norms: A general framework for labile traits" is now live. Work done in collaboration with Yimen Araya-Ajoy, Niels Dingemanse, @ali--wilson.bsky.social, and David Westneat. ecoevorxiv.org/repository/v...

26.11.2024 11:26 โ€” ๐Ÿ‘ 30    ๐Ÿ” 12    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1

Conversely, the tools of โ€œexploratoryโ€ data analysis lend more credibility and clarity to scientific claims than statistical testing ever could.

24.11.2024 18:33 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image Post image Post image Post image

๐š๐š’๐š—๐šข๐š๐šŠ๐š‹๐š•๐šŽ 0.6.1 for #Rstats is out!

It's an ultra simple, super flexible, and 0-dependency package to draw beautiful tables in HTML, LaTeX, Typst, Word, PDF, and PNG.

And for those who โค๏ธ documentation, ๐š๐š’๐š—๐šข๐š๐šŠ๐š‹๐š•๐šŽ ships with a billion pages of tutorials:

vincentarelbundock.github.io/tinytable/

21.11.2024 14:38 โ€” ๐Ÿ‘ 330    ๐Ÿ” 88    ๐Ÿ’ฌ 7    ๐Ÿ“Œ 10

It me

18.11.2024 22:10 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
The right way to do predictive checks with observation-level random effects โ€“ Erik J. Ringen, PhD

New blog post (and uh, new blog!)

If you use observation-level random effects (e.g., for over-dispersed counts), your predictive checks are probably wrong. Here's how to do it the right way in both #brms and #PyMC.

tl;dr: you need to sample new levels of the OLRE to avoid a false goodness-of-fit

18.11.2024 08:50 โ€” ๐Ÿ‘ 33    ๐Ÿ” 11    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1
Post image

This primer on between/within effects (using Mundlak device) is the paper I pull-up more often than any other during stats consultations. Better approaches exist (latent mean centering) but the explanations and figures here are top notch.

www.sciencedirect.com/science/arti...

25.09.2023 12:50 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

Teaching statistics to grad students this semester. Reading Freedman's anti-regression piece "Statistical Models and Shoe Leather" (paper brought to my attention by @edhagen.net) next week to calibrate expectations. Tag urself on his ordinal scale of pessimism.

22.09.2023 13:28 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@err-ring is following 19 prominent accounts