BetaDistribution Constructor

Initializes a new β distribution.

Definition

Namespace: Meta.Numerics.Statistics.Distributions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public BetaDistribution(
	double alpha,
	double beta
)

Parameters

alpha  Double
The left shape parameter, which controls the form of the distribution near x=0.
beta  Double
The right shape parameter, which controls the form of the distribution near x=1.

Remarks

The alpha shape parameter controls the form of the distribution near x=0. The beta shape parameter controls the form of the distribution near z=1. If a shape parameter is less than one, the PDF diverges on the side of the distribution it controls. If a shape parameter is greater than one, the PDF goes to zero on the side of the distribution it controls. If the left and right shape parameters are equal, the distribution is symmetric about x=1/2.

Exceptions

ArgumentOutOfRangeExceptionalpha or beta is non-positive.

See Also