Learn R Programming

hnp (version 1.0)

hnp-package: Half-Normal Plots with Simulation Envelopes

Description

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

Arguments

encoding

UTF-8

Details

ll{ Package: hnp Type: Package Version: 1.0 Date: 2014-08-12 License: GPL version 2 or newer } Package includes two functions, hnp and plot.hnp, as well as seven data sets extracted from Demétrio{Demetrio} et al (2014). Explanation on how to produce the half-normal plots with simulation envelopes can be found in Demétrio{Demetrio} 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{Demetrio} (1998).

References

Demétrio{Demetrio}, C. G. B. and Hinde, J. (1997) Half-normal plots and overdispersion. GLIM Newsletter 27:19-26. Hinde, J. and Demétrio{Demetrio}, C. G. B. (1998) Overdispersion: models and estimation. Computational Statistics and Data Analysis 27:151-170. Demétrio{Demetrio}, 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.