qua {lmomPi} | R Documentation |
Generic function for qua...
: probabilily distribution fitting with L-Moments
Description
Generic function for qua...
: probabilily distribution fitting with L-Moments
Usage
qua(
para,
f,
probability_distribution_attrname = "probability_distrib",
distrib = NA,
...
)
Arguments
f , para , ... |
L-moments and further parameters for |
probability_distribution_attrname |
attribute name for probability distribution |
distrib |
character string indicating the probability distribution, it can be used in case |
Value
A vector of quantiles. It is a list of vectors of quantiles in case of several probability parametric distribution functions (i.e. para
is a list and length(para)>1
).
See Also
pel
,quaexp
,quagam
,quagev
,quaglo
,quagpa
,quagno
,quagum
,
quakap
,qualn3
,quanor
,quape3
,
quawak
,quawei
Examples
# Sample L-moments of Ozone from the airquality data
data(airquality)
lmom <- samlmu(airquality$Ozone,nmom=6)
distrib <- c("exp","gam","gev","glo","gpa","gno","gum","kap","ln3","nor",
"pe3","wak","wei")
para_list <- pel(distrib=distrib,lmom=lmom)
f <- (1:10)/10
qua_list <- qua(para=para_list,f=f)
qua_gam <- qua(para=para_list$gam,f=f)
qua_gam2 <- qua(para=as.vector(para_list$gam),f=f,distrib="gam")
if (any(qua_gam!=qua_gam2,na.rm=TRUE)) stop("Any possible errors after 0.6.3 package updates!")
[Package lmomPi version 0.6.6 Index]