Click or drag to resize

BetaBinomialPMF Method

Computes the probability mass (PMF) at k, i.e. P(X = k).

Namespace: Altaxo.Calc.Distributions
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double PMF(
	int n,
	double a,
	double b,
	int k
)

Parameters

n  Int32
The number of Bernoulli trials n - n is a positive integer
a  Double
Shape parameter alpha of the Beta distribution. Range: a > 0.
b  Double
Shape parameter beta of the Beta distribution. Range: b > 0.
k  Int32
The location in the domain where we want to evaluate the probability mass function.

Return Value

Double
the probability mass at location k.
See Also