tail parameter in the GEV likelihoodpc.gevtail.RdFunctions 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)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.
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)
#> [1] 0.5