Click or drag to resize
Accord.NET (logo)

BetaDistributionGradient Method (Double, Double, Double)

Computes the Gradient of the Log-Likelihood function for estimating Beta distributions.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static double[] Gradient(
	double[] observations,
	double alpha,
	double beta
)
Request Example View Source

Parameters

observations
Type: SystemDouble
The observed values.
alpha
Type: SystemDouble
The current alpha value.
beta
Type: SystemDouble
The current beta value.

Return Value

Type: Double
A bi-dimensional value containing the gradient w.r.t to alpha in its first position, and the gradient w.r.t to be in its second position.
See Also