Skip to main content
Notice removed Draw attention by Dylan_Gomes
Bounty Ended with Demetri Pananos's answer chosen by Dylan_Gomes
corrected typos / grammar
Link
Dylan_Gomes
  • 269
  • 1
  • 14

Why doesdo model selection (AIC and LOO) outcomes differ between ML and bayesian approaches

added 21 characters in body
Source Link
Dylan_Gomes
  • 269
  • 1
  • 14
library(lme4)
library(rstanarm)
library(bayesplot)
library(DHARMa)

lmm <- lmer(Area ~ dB.s + Temp.s + (1 | SITE), data = SPt)
glmm <- glmer(Area ~ dB.s + Temp.s + (1 | SITE), 
              family = Gamma(link = "log"), data = SPt)
plot(simulateResiduals(lmm))
library(lme4)
library(rstanarm)
library(bayesplot)

lmm <- lmer(Area ~ dB.s + Temp.s + (1 | SITE), data = SPt)
glmm <- glmer(Area ~ dB.s + Temp.s + (1 | SITE), 
              family = Gamma(link = "log"), data = SPt)
plot(simulateResiduals(lmm))
library(lme4)
library(rstanarm)
library(bayesplot)
library(DHARMa)

lmm <- lmer(Area ~ dB.s + Temp.s + (1 | SITE), data = SPt)
glmm <- glmer(Area ~ dB.s + Temp.s + (1 | SITE), 
              family = Gamma(link = "log"), data = SPt)
plot(simulateResiduals(lmm))
adding more relevant tags
Link
Dylan_Gomes
  • 269
  • 1
  • 14
deleted 120 characters in body
Source Link
Dimitris Rizopoulos
  • 21.5k
  • 2
  • 25
  • 51
Loading
edited tags
Link
Richard Hardy
  • 69.5k
  • 13
  • 126
  • 278
Loading
Tweeted twitter.com/StackStats/status/1266202730324004869
Notice added Draw attention by Dylan_Gomes
Bounty Started worth 50 reputation by Dylan_Gomes
Source Link
Dylan_Gomes
  • 269
  • 1
  • 14
Loading