|
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
)
Public Shared Function LogLikelihood (
sum1 As Double,
sum2 As Double,
n As Double,
alpha As Double,
beta As Double
) As Double
Request Example
View SourceParameters
- 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:
DoubleThe log-likelihood value for the given observations and given Beta parameters.
See Also