predict.poolgrp: Flood quantiles estimated at the target of a pooling group

Description Usage Arguments References Examples

Description

Predict the flood quantile of a given return period for its target sites.

Usage

1
2
3
## S3 method for class 'poolgrp'
predict(obj, q = c(0.5, 0.8, 0.9, 0.95, 0.98, 0.99),
  indx = NULL, ci = FALSE, nsim = 5000, alpha = 0.05)

Arguments

obj

Pooling group object.

q

Probability associated to the flood quantiles.

indx

Index flood factor. By default the sample average of the target.

ci

Logical. Should the confident intervals and the standard deviation be evaluated?

nsim

Number of simulation used for approximating the confident intervals.

alpha

Significance level.

References

Hosking, J. R. M., & Wallis, J. R. (1997). Regional frequency analysis: an approach based on L-moments. Cambridge Univ Pr.

Examples

1
2
3
4
5
6
7
8
isite <- Intersite(ams ~ id + year, flowAtlantic$ams,
                   distance = flowAtlantic$distance,
                   smooth = TRUE)

fit <- PoolGroup(isite, distance = 2, nk = 30)

predict(fit, c(.3,.7))
predict(fit, ci = TRUE)

martindurocher/floodStat documentation built on May 31, 2019, 12:42 a.m.