anova.uvpot: Anova Tables: Univariate Case

Description Usage Arguments Value Author(s) See Also Examples

View source: R/uvpot-gen-anova.R

Description

Computes analysis of deviance for “uvpot” object

Usage

1
2
## S3 method for class 'uvpot'
anova(object, object2, ...)

Arguments

object, object2

Two objects of class “uvpot”, most often return of the fitgpd function.

...

Other options to be passed to the anova function.

Value

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

Author(s)

Mathieu Ribatet

See Also

anova, anova.bvpot

Examples

1
2
3
4
x <- rgpd(1000, 0, 1, -0.15)
M0 <- fitgpd(x, 0, shape = -0.15)
M1 <- fitgpd(x, 0)
anova(M0, M1) 

Example output

Analysis of Variance Table

   MDf Deviance Df  Chisq Pr(>Chisq)
M0   1   1684.8                     
M1   2   1684.4  1 0.3377     0.5611

POT documentation built on May 2, 2019, 7:30 a.m.