Bayesian Regression Modeling with rstanarm
Jake Thompson
Psychometrician, ATLAS, University of Kansas
1: There were 15 divergent transitions after warmup. Increasing adapt_delta
above 0.8 may help.
stan_model <- stan_glm(popularity ~ song_age, data = songs,
control = list(adapt_delta = 0.95))
stan_model <- stan_glm(popularity ~ song_age, data = songs,
control = list(adapt_delta = 0.99))
Chain 1 reached the maximum tree depth
stan_model <- stan_glm(popularity ~ song_age, data = songs,
control = list(max_treedepth = 10))
stan_model <- stan_glm(popularity ~ song_age, data = songs,
control = list(max_treedepth = 15))
Bayesian Regression Modeling with rstanarm