|
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
)
Public Shared Function Gradient (
observations As Double(),
alpha As Double,
beta As Double
) As Double()
Request Example
View SourceParameters
- 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