powered by
Smix returns the survival function at x for the discrete extreme value mixture distribution.
Smix
Smix(x, u, xi1, xi2, sig, geo, phi, log = FALSE)
A numeric vector of the same length as x
Vector of positive integers
Scalar, positive integer threshold
Scalar, shape parameter for values below or equal to u
Scalar, shape parameter of integer generalised Pareto distribution (IGPD), for values above u
Scalar, scale parameter of IGPD, for values above u
Boolean. If 'TRUE', the geometric distribution is used for the values below u. If 'FALSE', the discrete power law is used.
Scalar, exceedance probability of u, between 0.0 and 1.0 exclusive
Boolean (default 'FALSE'), whether the survival function should be returned on the log scale.
dmix for the corresponding probability mass function, Supp for the survival function of the discrete power law.
dmix
Supp
Smix(10:15, 12, 2.0, 0.5, 1.0, TRUE, 0.2) Smix(10:15, 12, 2.0, 0.5, 1.0, FALSE, 0.2)
Run the code above in your browser using DataLab