pc.gevtail {INLA} | R Documentation |
tail
parameter in the GEV likelihoodFunctions to evaluate, sample, compute quantiles and
percentiles of the PC prior for the tail
parameter
in the GEV likelihood
inla.pc.rgevtail(n, lambda = 7) inla.pc.dgevtail(xi, lambda = 7, log = FALSE) inla.pc.qgevtail(p, lambda = 7) inla.pc.pgevtail(q, lambda = 7)
n |
Number of observations |
lambda |
The rate parameter in the PC-prior |
xi |
Vector of evaluation points, where |
log |
Logical. Return the density in natural or log-scale. |
p |
Vector of probabilities |
q |
Vector of quantiles |
This gives the PC prior for the tail
parameter for the GEV likelihood,
where xi=0
is the base model.
inla.pc.dgevtail
gives the density,
inla.pc.pgevtail
gives the distribution function,
inla.pc.qgevtail
gives the quantile function, and
inla.pc.rgevtail
generates random deviates.
Havard Rue hrue@r-inla.org
inla.doc("pc.gevtail")
xi = inla.pc.rgevtail(100, lambda = 7) d = inla.pc.dgevtail(xi, lambda = 7) xi = inla.pc.qgevtail(0.5, lambda = 7) inla.pc.pgevtail(xi, lambda = 7)