Learn R Programming

SMPracticals (version 1.4-3.1)

alofi: Daily Rainfall at Alofi

Description

Three-state data derived from daily rainfall over three years at Alofi in the Niue Island group in the Pacific Ocean. The states are 1 (no rain), 2 (up to 5mm rain), 3 (over 5mm).

Usage

data(alofi)

Arguments

References

Davison, A. C. (2003) Statistical Models. Cambridge University Press. Page 294.

Examples

Run this code
data(alofi)
fit <- MClik(alofi)
fit$df
fit$AIC
plot(fit$df,fit$AIC)  # best model has minimal AIC?

Run the code above in your browser using DataLab