Click or drag to resize
Accord.NET (logo)

BetaDistributionLogLikelihood Method (Double, Double, Double, Double, Double)

Computes 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 LogLikelihood(
	double sum1,
	double sum2,
	double n,
	double alpha,
	double beta
)
Request Example View Source

Parameters

sum1
Type: SystemDouble
The sum of log(y), where y refers to all observed values.
sum2
Type: SystemDouble
The sum of log(1 - y), where y refers to all observed values.
n
Type: SystemDouble
The total number of observed values.
alpha
Type: SystemDouble
The current alpha value.
beta
Type: SystemDouble
The current beta value.

Return Value

Type: Double
The log-likelihood value for the given observations and given Beta parameters.
See Also