Skip to main content

Questions tagged [brms]

brms is an R package interfacing stan for Bayesian analysis

42 questions with no upvoted or accepted answers
3 votes
0 answers
345 views

[apologies for cross posting] I’m fitting a logistic binomial model where the response variable is the sum of how many times a target picture was looked at during a certain time period out of how many ...
kathi's user avatar
  • 31
3 votes
1 answer
645 views

I have a model, the brms code is given below. It is a system of equations (I am estimating demand for two categories of goods). Economic theory tells me that the ...
Loren P Wagner's user avatar
2 votes
1 answer
88 views

I have two models exactly similar, but I’m using a Poisson distribution for one and a Bernoulli distribution for the other. Can I trust the information coming out of loo to help me choose? The ...
mountaingoat19's user avatar
2 votes
0 answers
41 views

Context Within my field (neuropsychology), there is a well-known issue for some individuals to have very unstable diagnoses overtime. My area of interest is in dementia where the ideal diagnostic ...
Billy's user avatar
  • 846
1 vote
0 answers
53 views

I am estimating repeatability (a type of intra-class correlation) from mixed models with negative binomial and beta distributions and want to confirm that the variance transformations to obtain ...
alab's user avatar
  • 11
1 vote
1 answer
109 views

I want to fit a mixed model to determine a treatment's effect on a circular response variable (the variable is an angle measured in radians). I want to know how treatment changes both the mu (mean) ...
twilightecologist's user avatar
1 vote
0 answers
70 views

I'm trying to model age-related trajectories (i.e., growth curves) of National Football League (NFL) players' fantasy points using a mixed model in R using ...
itpetersen's user avatar
1 vote
0 answers
75 views

I wonder if we should bootstrap the construction of smoothing splines? I am modelling a logistic model with smoothing term in brms (and mgcv). When performing Bootstrap, a normal replaced resampling ...
Trinh Dong's user avatar
1 vote
0 answers
68 views

I am trying to construct a model where the skew of the distribution of a random effect changes with an independent variable. I'd eventually like to fit this using ...
Jacob Weverka's user avatar
1 vote
0 answers
64 views

I asked about this question on Stan forum but no one replied so dual posting here. I'd really appreciate some insight, as I'm completely stuck. I’m trying to do hierarchical survival modeling using ...
Ville's user avatar
  • 81
1 vote
0 answers
104 views

I'm trying to fit a bayesian logistic regression model to calculate the expected goals (xG) of certain shootings data in football. My model has some simple features where I first fit a model with ...
Quinten's user avatar
  • 429
1 vote
0 answers
62 views

I am following [Greifer 2023][1] to estimate the effect size after (genetic) matching, where I am using bootstrapping to estimate the confidence intervals. Since I have a hierarchical setup with ...
guest1927's user avatar
1 vote
1 answer
414 views

I am struggling with interpreting model results from a brm() model. The first result uses scaled and centered data with command scale(df$column, scale = TRUE, center = TRUE). ...
user avatar
1 vote
0 answers
58 views

I have the following study design: stimuli: 240 pictures: 6 pictures of 40 students each (each student fixated one of six points and during each fixation one picture was taken) each stimulus was ...
Coconutts's user avatar
1 vote
2 answers
99 views

I am estimating a multilevel model in Stan, using the brms package. Specifically, I am estimating a model of the following form: m1 <- brm(y ~ 1 + (1 | year)) ...
user2018396's user avatar

15 30 50 per page