powered by
Returns an BETA distribution object that produce random numbers from a beta distribution using the rbeta function
rbeta
new_BETA(p_shape1, p_shape2, p_dimnames = "rvar")new_BETA_lci(p_mean, p_lci, p_uci, p_dimnames = "rvar")new_BETA_lci2(p_mean, p_lci, p_uci, p_dimnames = "rvar")
new_BETA_lci(p_mean, p_lci, p_uci, p_dimnames = "rvar")
new_BETA_lci2(p_mean, p_lci, p_uci, p_dimnames = "rvar")
An object of class DISTRIBUTION, BETA
DISTRIBUTION
BETA
non-negative parameters of the Beta distribution
A character that represents the name of the dimension
A numeric that represents the expected value of the proportion
A numeric for the lower 95% confidence interval
A numeric for the upper 95% confidence interval
new_BETA_lci(): Constructor based on confidence intervals. Preserve expected value.
new_BETA_lci()
new_BETA_lci2(): Constructor based on ML confidence intervals
new_BETA_lci2()
John J. Aponte
myDistr <- new_BETA(1,1) myDistr$rfunc(10) myDistr <- new_BETA_lci(0.30,0.25,0.35) myDistr$rfunc(10)
Run the code above in your browser using DataLab