Last chance! 50% off unlimited learning
Sale ends in
The distribution parameter object returned by functions of lmomco such as by pargpa
are typed by an attribute type
. This function checks that type
is gpa
for the Generalized Pareto distribution.
is.gpa(para)
If the type
attribute is gpa
.
If the type
is not gpa
.
A parameter list
returned from pargpa
or vec2par
.
W.H. Asquith
pargpa
para <- pargpa(lmoms(c(123,34,4,654,37,78)))
if(is.gpa(para) == TRUE) {
Q <- quagpa(0.5,para)
}
Run the code above in your browser using DataLab