betafunctions (version 1.2.2)

pBetaMS: Probability of Some Specific Observation under the Standard Beta PDD with Specific Mean and Variance.

Description

Calculates the probability of some specific observation falling under a specified interval ([0, x] or [x, 1]) under the Standard Beta probability density distribution with defined mean and variance or standard deviation.

Usage

pBetaMS(q, mean, var = NULL, sd = NULL, lt = TRUE)

Arguments

q

A specific point on the x-axis of the Standard Beta probability density distribution with a defined mean and variance.

mean

The mean of the target Standard Beta probability density distribution.

var

The variance of the target Standard Beta probability density distribution.

sd

The standard deviation of the target Standard Beta probability density distribution.

lt

Whether the density that should be considered is between the lower-end (i.e., [0 -> x]) or the higher-end of the distribution (i.e., [x -> 1]).

Value

A value representing the probability of a random draw from the Standard Beta probability density distribution with a defined mean and variance being from one of two defined intervals (i.e., [0 -> x] or [x -> 1]).

Examples

Run this code
# NOT RUN {
# To compute the proportion of the density under the lower-end tail of a
# point along the Standard (two-parameter) PDD (e.g., .5) with mean of .6
# and variance of .04:
pBetaMS(q = .5, mean = .6, var = .04)
# }

Run the code above in your browser using DataCamp Workspace