prior<-c(set_prior("cauchy(0, 2.5)",class = "b", coef = ""),set_prior("cauchy(0, 10)", class = "Intercept", coef = ""))m1<-brm(DV~IV+(1|Subject), data = data, family="gaussian", prior = prior, warmup = 1000, iter = 2000, chains = 20
h1 <- hypothesis(data, "IV = 0")
Hypothesis Tests for class b:Estimate Est.Error l-95% CI u-95% CI Evid.Ratio Star(IV) = 0 -0.2 0.46 -1.12 0.72 NA---'*': The expected value under the hypothesis lies outside the 95% CI.
bayes_factor(fit1, fit2)
--
You received this message because you are subscribed to the Google Groups "brms-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brms-users+unsubscribe@googlegroups.com.
To post to this group, send email to brms-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brms-users/8c44da10-0bd2-4e40-89dd-2b9bc93eaf23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
m1<-brm(DV~IV+(1|Subject), data = data, family="gaussian", prior = prior, warmup = 1000, iter = 2000, chains = 20, save_all_pars = TRUE)m0<-brm(DV~(1|Subject), data = data, family="gaussian", prior = prior, warmup = 1000, iter = 2000, chains = 20, save_all_pars = TRUE)test<-bayes_factor(h1, h0)
To unsubscribe from this group and stop receiving emails from it, send an email to brms-users+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to brms-users+unsubscribe@googlegroups.com.
To post to this group, send email to brms-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brms-users/c32b98de-f250-437c-8b04-b1aa1711de13%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to brms-users+unsubscribe@googlegroups.com.
To post to this group, send email to brms-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brms-users/4a01a15c-ff76-4035-91f0-b389cd7fa388%40googlegroups.com.
m1<-brm(DV~IV+(1|Subject), data = data, family="gaussian", prior = prior, warmup = 1000, iter = 2000, chains = 20, save_all_pars = TRUE)m0<-brm(DV~(1|Subject), data = data, family="gaussian", prior = prior, warmup = 1000, iter = 2000, chains = 20, save_all_pars = TRUE)test<-bayes_factor(h1, h0)
The above method gives P(H0|D) = .70. Just based on an eye test, this doesn't seem to be true; however, maybe I am making a mistake and that is a reasonable probability?
To unsubscribe from this group and stop receiving emails from it, send an email to brms-users+unsubscribe@googlegroups.com.
To post to this group, send email to brms-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brms-users/98a13378-bea7-4427-adf8-8a8098268fda%40googlegroups.com.