Learn R Programming

POT (version 1.1-11)

anova.uvpot: Anova Tables: Univariate Case

Description

Computes analysis of deviance for ``uvpot'' object

Usage

# S3 method for uvpot
anova(object, object2, ...)

Value

This function returns an object of class anova. These objects represent analysis-of-deviance tables.

Arguments

object, object2

Two objects of class ``uvpot'', most often return of the fitgpd function.

...

Other options to be passed to the anova function.

Author

Mathieu Ribatet

See Also

anova, anova.bvpot

Examples

Run this code
x <- rgpd(1000, 0, 1, -0.15)
M0 <- fitgpd(x, 0, shape = -0.15)
M1 <- fitgpd(x, 0)
anova(M0, M1) 

Run the code above in your browser using DataLab