Description Usage Arguments Value Author(s) References Examples
This function is used to calculate the WAIC of the models fitted in Bariod et al. (in prep).
1 | waicTicks(mcmcList, TicksData, TicksConst)
|
mcmcList |
An object of class |
TicksData |
The list containing the data passed to |
TicksConst |
The list containing the constants passed to |
A list containing the following elements:
lppd |
the log predictive pointwise density for each fawn in the dataset |
pwaic |
the contribution of each fawn to the WAIC in the dataset |
waic |
the value of the WAIC as well as its standard error |
Clement Calenge clement.calenge@ofb.gouv.fr
Bariod L., Said S., Calenge C., Chabot S., Badeaud V. \& Bourgoin G. in prep. Infection of Roe Deer Fawns by Ticks from 1992 to 2018 in the Trois-Fontaines Forest (France).
1 2 3 4 5 6 7 8 | ## Not run:
## WAIC for the model with humidity
withHumidity <- waicTicks(resultsModel$samples, TicksData, TicksConst)
## WAIC for the model without humidity
withoutHumidity <- waicTicks(resultsModel0$samples, TicksData0, TicksConst)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.