# NOT RUN {
# Calculations for the Mardia's multivariate Pareto Type I with parameters:
# a = 5, theta1 = 1, theta2 = 2, theta3 = 3
# Vector of quantiles: c(2, 1, 1)
dmvmpareto1(x = c(2, 1, 1), parm1 = 5, parm2 = c(1, 2, 3)) # Density
pmvmpareto1(q = c(2, 1, 1), parm1 = 5, parm2 = c(1, 2, 3)) # Cumulative Probability
# Equicoordinate quantile of cumulative probability 0.5
qmvmpareto1(p = 0.5, parm1 = 5, parm2 = c(1, 2, 3))
# Random numbers generation with sample size 100
rmvmpareto1(n = 100, parm1 = 5, parm2 = c(1, 2, 3))
smvmpareto1(q = c(2, 1, 1), parm1 = 5, parm2 = c(1, 2, 3)) # Survival function
# }
Run the code above in your browser using DataLab