Hi everybody,
I’m really new in R-/Stan-coding and want to conduct a Three-Level-Meta-Analysis in brms. But there is the following error in:
“Chain 1: Rejecting initial value:
Chain 1: Error evaluating the log probability at the initial value.
Chain 1: Exception: normal_lpdf: Scale parameter[3] is 0, but must be > 0! (in ‘model2f243c61550a_bcf717c53c8e740f935e13413bc27e34’ at line 48)”
```# set priors
priors <- c(prior(normal(0, .5), class = Intercept),
prior(cauchy(0, .5), class = sd))
# fit three-level-model
fit_sbi <- brm(r |se(SE) ~ 1 + (1|Study_ID/ES_ID),
data = dataset,
prior = priors,
iter = 4000,
warmup = 2000)
Data are structured as follows:
![Data_Meta-Analysis|690x392](upload://f2uXseSoL5PZd6RUOeaiGpglOhL.jpeg)
Please also provide the following information in addition to your question:
* Operating System: Windows 10, 64 bit
* brms Version: 2. 16.2
Thank you so much for your help!
Kind regards,
Hanna