Description Details Author(s) References
Generates (half-)normal plots with simulation envelopes for common diagnostics from fitted models for a range of model classes. The function hnp()
is written so that it is relatively easy to extend it to new model classes and different diagnostics that are not already implemented. A few example datasets are included. The main functions are hnp
and plot.hnp
Package: | hnp |
Type: | Package |
Version: | 1.2-6 |
Date: | 2018-05-21 |
License: | GPL version 2 or newer |
Package includes two functions, hnp
and plot.hnp
, as well as seven data sets extracted from Demétrio et al (2014).
Explanation on how to produce the half-normal plots with simulation envelopes can be found in Demétrio and Hinde (1997) and on the hnp
function documentation.
Data sets are based on entomology studies and the focus is on overdispersed data. Details on overdispersion models can be found in Hinde and Demétrio (1998).
Special thanks to FAPESP and CNPq for funding.
Rafael A. Moral, John Hinde and Clarice G. B. Demétrio
Maintainer: Rafael Moral <rafael_moral@yahoo.com.br>
Moral, R. A., Hinde, J. and Demétrio, C. G. B. (2017) Half-normal plots and overdispersed models in R: the hnp package. Journal of Statistical Software 81(10):1-23.
Demétrio, C. G. B. and Hinde, J. (1997) Half-normal plots and overdispersion. GLIM Newsletter 27:19-26.
Hinde, J. and Demétrio, C. G. B. (1998) Overdispersion: models and estimation. Computational Statistics and Data Analysis 27:151-170.
Demétrio, C. G. B., Hinde, J. and Moral, R. A. (2014) Models for overdispersed data in entomology. In Godoy, W. A. C. and Ferreira, C. P. (Eds.) Ecological modelling applied to entomology. Springer.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.