library(orders)
# A sample of size 10 of the 3-th order statistics from
# a Generalized Beta Exponential Distribution
order_gbg(10,"exp",1,1,1,k=3,n=50,p=0.5,alpha=0.02)
# A sample of size 10 of the 3-th order statistics from
# a Generalized Beta Normal Distribution
order_gbg(10,"norm",1,1,1,k=3,n=50,p=0.5)
# A sample of size 10 of the 3-th order statistics from
# a Generalized Beta Log-normal Distribution
order_gbg(10,"lnorm",1,1,1,k=3,n=50,p=0.5)
# A sample of size 10 of the 3-th order statistics from
# a Generalized Beta Chi-square Distribution
order_gbg(10,"chisq",1,1,1,k=3,n=50,p=0.5,df=3)
Run the code above in your browser using DataLab