Skip to content
Prev 18135 / 20628 Next

bam model selection with 3 million data

Thanks Cesko.
I tried your suggestion (using the select argument) and got to a reasonable
optimal model in which I keep all the main effects and interactions except
for one main effect.
I tried, however, to do model selection using the buildbam function
(buildmer library) and I get a different optimal model, where all effects
are highly significant. I?m not sure why. According to the buildmer package
documentation:

 "As bam uses PQL, only crit='deviance' is supported."
where
crit=Character string or vector determining the criterion used to test
terms for elimination. Possible options are 'LRT' (likelihood-ratio test;
this is the default), 'LL' (use the raw -2 log likelihood), 'AIC' (Akaike
Information Criterion), 'BIC' (Bayesian Information Criterion), and
'deviance' (explained deviance ? note that this is not a formal test)

I?m not sure if you are familiar with buildmer package though.

Thanks,

David

El lun., 3 feb. 2020 a las 13:09, Voeten, C.C. (<
c.c.voeten at hum.leidenuniv.nl>) escribi?: