# NOT RUN {
# Calculations for the generalized multivariate Lomax with parameters:
# a = 5, theta1 = 1, theta2 = 2, l1 = 4, l2 = 5
# Vector of quantiles: c(5, 6)
dmvglomax(x = c(5, 6), parm1 = 5, parm2 = c(1, 2), parm3 = c(4, 5)) # Density
# Cumulative Probability using adaptive multivariate integral
pmvglomax(q = c(5, 6), parm1 = 5, parm2 = c(1, 2), parm3 = c(4, 5))
# }
# NOT RUN {
# Cumulative Probability using Monte Carlo method
pmvglomax(q = c(5, 6), parm1 = 5, parm2 = c(1, 2), parm3 = c(4, 5), algorithm = "MC")
# }
# NOT RUN {
# }
# NOT RUN {
# Equicoordinate quantile of cumulative probability 0.5
qmvglomax(p = 0.5, parm1 = 5, parm2 = c(1, 2), parm3 = c(4, 5))
# }
# NOT RUN {
# Random numbers generation with sample size 100
rmvglomax(n = 100, parm1 = 5, parm2 = c(1, 2), parm3 = c(4, 5))
smvglomax(q = c(5, 6), parm1 = 5, parm2 = c(1, 2), parm3 = c(4, 5)) # Survival function
# }
Run the code above in your browser using DataLab