I keep getting this in a loop:

SAMPLING FOR MODEL ‘8c349b2a7e185059d867bb3fe6b8746e’ NOW (CHAIN 1).

Rejecting initial value:

Error evaluating the log probability at the initial value.

Exception: lognormal_lpdf: Random variable[1] is -1.56634, but must be >= 0! (in ‘model120c70da6cea_8c349b2a7e185059d867bb3fe6b8746e’ at line 49)Rejecting initial value:

Error evaluating the log probability at the initial value.

Exception: beta_lpdf: Second shape parameter[1] is 0, but must be > 0! (in ‘model120c70da6cea_8c349b2a7e185059d867bb3fe6b8746e’ at line 58)

I ran:

priors <- c(set_prior(“lognormal(0.01494647, 0.00937701)”, class = “b”, coef = “Temp”))

ins_month <- brm(use2 ~ Temp + (1+Temp|Month.f),

data = dpa.ins.home, family = Beta(), warmup = 1000, iter = 3000, chains = 2,

inits = “random”, control = list(adapt_delta = .95, max_treedepth = 12),

prior = priors, cores = getOption(“mc.cores”, 4L), sample_prior = TRUE))

Can someone provide me with some advice to fix this…

- Operating System: Windows 10
- brms Version: 2.5