X <- rBeta_ab(30, a = 0, b = 1, shape1 = 2, shape2 = 10)
# Determining the best distribution from the list of candidate distributions for the data X
Best.Dist <- bestDist(X, candDist = c("Laplace","Normal","Beta_ab"), criterion = "logLik")
# Printing the parameter estimates of the best distribution
attributes(Best.Dist)$best.dist.par
Run the code above in your browser using DataLab