I am trying to fit a simple Bayesian regression model in R version 4.0.2. but the message stays in “Compiling Stan program…” and never proceeds to the outcomes. I know that brm models are slower compared to other models but I am not able to get any outcomes; I was even waiting for hours. To your reference, I use Windows 10 and a computer with an 8 GB memory, while there is plenty of free space in my hard disk (more than 200 GB). The code is the following:
Sys.setenv(LOCAL_CPPFLAGS = ‘-march=native -mtune=native’)
options (mc.cores=parallel::detectCores ())
prior <- set_prior(“student_t(3,0,2.5)”, class = “b”)
fit <- brm(response ~ contrast + syllable + english.use + syllable : contrast + (1 | subject), data = test, family = bernoulli(“logit”), prior = prior, sample_prior = “yes”, control = list(adapt_delta = 0.95))
Compiling Stan program…
I would really appreciate it if you could give me a solution on this issue.