Click or drag to resize
VariableBetaFromMeanAndVariance Method (Double, Double)
Microsoft Research
Creates a Beta-distributed random variable with specified mean and variance

Namespace: MicrosoftResearch.Infer.Models
Assembly: Infer.Compiler (in Infer.Compiler.dll) Version: 2.6.41128.1 (2.6.41128.1)
Syntax
public static Variable<double> BetaFromMeanAndVariance(
	double mean,
	double variance
)

Parameters

mean
Type: SystemDouble
The distribution's mean.
variance
Type: SystemDouble
The distribution's variance.

Return Value

Type: VariableDouble
Returns a Beta-distributed random variable whose mean and variance are specified by mean and variance.
See Also