View source: R/betafunctions.R
dBetaMS | R Documentation |
Calculates the density under specific points of the Standard Beta probability density distribution with defined mean and variance or standard deviation.
dBetaMS(x, mean, variance = NULL, sd = NULL, l = 0, u = 1)
x |
A specific point on the x-axis of the Standard Beta Probability Density Distribution. |
mean |
The mean of the target Standard Beta probability density distribution. |
variance |
The variance of the target Standard Beta probability density distribution. |
sd |
The standard deviation of the target Standard Beta probability density distribution. |
l |
The lower-bound location parameter. Default set to 0 (the standard Beta distribution). |
u |
The upper-bound location parameter. Default set to 1 (the standard Beta distribution). |
A numeric value representing the required value for the beta Shape-parameter in order to produce a Standard Beta probability density distribution with the target mean and variance.
# To compute the density at a specific point (e.g., 0.5) along the Standard
# (two-parameter) Probability Density Distribution with mean of 0.6 and variance of 0.04:
dBetaMS(x = 0.5, mean = 0.6, variance = 0.04)
# To compute the density at a specific point (e.g., 50) along the four-
# parameter Beta distribution with a mean of 60, variance of 400, and lower-
# bound of 0 and upper-bound of 100:
dBetaMS(x = 50, mean = 60, variance = 400, l = 0, u = 100)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.