Learn R Programming

ExtremeRisks (version 0.0.5)

Bqgpd_d: Bayesian predictive quantile for discrete generalized Pareto distribution

Description

WARNING: this function will not be exported in a future version of the package.

Usage

Bqgpd_d(p, post, lower, upper)

Value

a vector of quantiles of the same length as p

Arguments

p

probability levels

post

matrix of posterior samples

lower

lower bound for the search for the quantile

upper

upper bound for the region over which to search for the quantile