Mario Angst · @mario_angst_sci
590 followers · 420 posts · Server fediscience.org

We have a new paper out in Policy Studies Journal.

onlinelibrary.wiley.com/doi/10

In a nutshell, it's about governance networks in ten Swiss wetlands and looking at which actors within these networks are satisfied with their inclusion.
--------
Meta 1:
My studies community seems largely stuck on X ๐Ÿคฎ, so two technical things that might be interesting beyond the content:
- There's DAGs and models and and <3.
- Reproducibility via a Docker container, a first for me.

#rstats #brms #bayesian #policy

Last updated 1 year ago

Andrew Heiss :rstats: · @andrew
3810 followers · 1445 posts · Server fediscience.org
Matthew Kay · @mjskay
1715 followers · 678 posts · Server fediscience.org

wrote some raw stan code for the first time in awhile (usually just it these days), please clap

#rstats #brms

Last updated 1 year ago

Matti Vuorre ๐Ÿ–– · @matti
798 followers · 89 posts · Server bayes.club

() question: Say you measured participants' reaction times in two conditions A and B (within-person); how would you estimate different between-person variances for conditions A and B in a multilevel model?

#rstats #brms

Last updated 1 year ago

Peter McMahan · @peter_mcmahan
344 followers · 526 posts · Server mas.to

Me 24 hours before my scheduled conference presentation:

#bayesian #brms #stan

Last updated 1 year ago

Peter McMahan · @peter_mcmahan
347 followers · 568 posts · Server mas.to

Me 24 hours before my scheduled conference presentation:

#bayesian #brms #stan

Last updated 1 year ago

Is it just me who doesn't like to be repeatedly told to: "Adjust [my] expectations accordingly"? Feels like an oddly intrusive thing for my console to be telling me to do, especially when using an imperative and an exclamation mark!

#brms #bayesian #rstats

Last updated 1 year ago

Andrew Heiss :rstats: · @andrew
3560 followers · 1081 posts · Server fediscience.org

ahhh this new ordered beta regression model family (package: github.com/saudiwin/ordbetareg; paper: doi.org/10.1017/pan.2022.20) is so so neat! I have an outcome bounded at 1 and 32, and the model successfully predicts discrete 1s and 32s, as well as a continuous range in between!

#statsodon #brms #rstats #bayesian

Last updated 1 year ago

Michael Franke · @michael_franke
111 followers · 45 posts · Server fediscience.org

Here is material for an intermediate course on modeling using : michael-franke.github.io/Bayes

Covers:

- prior / posterior model checking
- generalized linear & non-linear models
- mixture and distributional models
- MCMC methods (some Stan)
- model comparison
- causal inference

#brms #regression #bayesian

Last updated 1 year ago

Stan · @mcmc_stan
1173 followers · 60 posts · Server bayes.club

Stan developer Mitzi Morris gave R-Ladies NYC talk on how you can quickly build robust models for data analysis and prediction using `brms` and Stan, quick review of multi-level regression, and how to fit, visualize, and test the goodness of the model and resulting estimates. Video is available at youtube.com/watch?v=A1NWoKQhgJ

#rladies #brms #bayes #stan

Last updated 1 year ago

todd ellis · @tootstorm
206 followers · 141 posts · Server eldritch.cafe

issues I'm struggling with that seem impossible to Google: Building a {brms} model within the {tidymodels} framework using {bayesian}.

The formula is inherently too complex (including splines and random effects) for the typical tidymodels workflow that involves recipes &c., so it must be added in at a later step. Two things:

1. Complex {brms} multivariate formulas seem to not be possible using {tidymodels}. E.g., literally multivariate or including phi after my formula via brms::bf(). It simply errors. :( This may just need some tweaking of {bayesian}'s scripts or waiting for an update since it's still fairly young.

2. Using {mgcv} random effect syntax like s(cat1, cat2, bs = "re") seems to not pick up as random effects in the model...I think? And I have never figured out if this is creating hierarchical random effects or not -- or if multilevel random effects just aren't possible in this syntax(?).

3. Using {lme4} random effect like (1 | cat1 / cat2) to ensure the hierarchy is preserved *does* retain random effects I can pull out of the model later using `ranef`, but for some absurd reason I cannot run this model through cross-validation or a myriad of other steps later because it seems to force-create a complex web of interacting factor levels that don't exist. E.g., if my random effects are '(1 | realm / biome)', this eventually fails because it'll look for tundra biome types in Africa for some absurd reason.*

Noticed this while trying to solve *separate* issues within broom.mixed:::tidy.brmsfit() -- that it seems to delete the names of all the fixed effects and return them as 'NULL' character strings (???), and its reliance on 'ranef' means it doesn't find the random effects using {mgcv} syntax.

That's my rambling mess of an essay for the day. Not sure how many of these are real issues or me simply not understanding how these packages differ or wot.

* Almost wondering if this might even be a separate {tidymodels} issue right now. Every recipe no matter what seems to factor every single character column regardless of how the recipe is built. Hmmmm.

#rstats #brms #mgcv #tidymodels

Last updated 1 year ago

Physalia-courses · @PhysaliaCourses
403 followers · 196 posts · Server mas.to

Big shoutout to our instructor @SolomonKurz & this interactive group of attendees for a fantastic course on Bayesian statistics using brms and the tidyverse๐Ÿ™Œ๐Ÿ“ˆ

#rstats #tidyverse #brms #bayesianstatistics

Last updated 1 year ago

Martin Modrรกk · @modrak_m
374 followers · 428 posts · Server fediscience.org

I am looking for
a) examples of tools that let you build statistical models more complex then just variations of a single model class (like most stat packages - brms, laavan, ...) but less complex than fully fledged probabilistic programming languages
b) Probabilistic programming languages that neatly support composing non-trivial submodels together

Does anyone have recs?
In both cases I am coming up almost empty handed...

#brms #ProbabilisticProgramming #ppl #Stan

Last updated 1 year ago

Maximilian Scholz · @scholzmx
76 followers · 82 posts · Server fediscience.org

After a small thing involving Bayesfactors, I am now convinced that they are the main reason for the opinion that Bayesian statistics is subjective mumbo jumbo and I can totally understand the opinion from that perspective ๐Ÿ˜‚

#brms #bayes #Stan

Last updated 1 year ago

Maximilian Scholz · @scholzmx
75 followers · 80 posts · Server fediscience.org

We have experimental Support for the symlog-normal distribution in bayesfam. A continuous unbounded transformed normal distribution using the symlog link from arxiv.org/abs/2301.04104 .
Seems to be able to fit skewed- as well as pointy assymetric-laplace style data.
github.com/sims1253/bayesfam/p

@rstats

#Stan #brms

Last updated 1 year ago

nope · @stacked_automation
129 followers · 7144 posts · Server mastodon.social
Physalia-courses · @PhysaliaCourses
381 followers · 135 posts · Server mas.to
Ste Coretta · @scoretta
111 followers · 76 posts · Server mstdn-social.social.shrimpcam.pw

Very happy to announce that the third edition of the school will be held from June 5th to June 9th in Verona, Italy!

And I will be teaching an introduction to Bayesian linear models.

Info here: sites.hss.univr.it/bayeshsc

#brms #RStats #bayesian #bayeshsc

Last updated 2 years ago

Ste Coretta · @scoretta
111 followers · 76 posts · Server mstdn.social

Very happy to announce that the third edition of the school will be held from June 5th to June 9th in Verona, Italy!

And I will be teaching an introduction to Bayesian linear models.

Info here: sites.hss.univr.it/bayeshsc

#brms #RStats #bayesian #bayeshsc

Last updated 2 years ago

Christoph · @ChristophB
470 followers · 157 posts · Server fediscience.org

@wviechtb @mccarthymg should probably do that for switching from to ๐Ÿ˜ฌ

#PyMC #brms

Last updated 2 years ago