pearson7.objective {pearson7}R Documentation

Compute the negative log likelihood for a sample.

Description

Compute the negative log likelihood for a sample.

Usage

pearson7.objective(params, y)

Arguments

params

a vector of parameter values.

y

a vector of observations.

Details

This function computes the negative log likelihood for (\mu,\sigma) given a sample. This function can be optimized using optim, but it is better to use pearson7.fit.

Value

the negative log likelihood.

See Also

dpearson7, pearson7.fit


[Package pearson7 version 1.0-3 Index]