Skip to contents

Compute return levels along with credible bounds for a Poisson-GP model with Bayesian inference results, "Poor Man's version".

Usage

# S3 method for poisGPBayes0
RL(
  object,
  period,
  level = 0.7,
  credintType = c("HPD", "eqtail"),
  smooth = TRUE,
  ...
)

Arguments

object

The poisGPBayes0 object to use.

period

See RL.poisGPBayes.

level

See RL.poisGPBayes.

credintType

The type of credible interval wanted. See credInt.

smooth

See RL.poisGPBayes.

...

Other arguments to be passed to RL.poisGPBayes.

Value

An object with class "RL.poisGPBayes" inheriting from "data.frame".

Details

When in the MCMC object the rate of the Poisson process is not sampled (hence there is no column "lambda" in the matrix of MCMC iterates) a new suitable column is added by sampling from the marginal posterior, and the RL method for the "poisGPBayes" class is used.