powered by
dmix returns the PMF at x for the discrete extreme value mixture distribution.
dmix
dmix(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 PMF should be returned on the log scale.
Smix for the corresponding survival function, dupp for the probability mass function of the discrete power law.
Smix
dupp
dmix(10:15, 12, 2.0, 0.5, 1.0, TRUE, 0.2) dmix(10:15, 12, 2.0, 0.5, 1.0, FALSE, 0.2) dmix(10:15, 12, 2.0, 0.5, 1.0, FALSE, 0.2, TRUE)
Run the code above in your browser using DataLab