pearson7.objective: Compute the negative log likelihood for a sample.

Description Usage Arguments Details Value See Also

View source: R/pearson7.R

Description

Compute the negative log likelihood for a sample.

Usage

1
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 (μ,σ) 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


pearson7 documentation built on July 2, 2020, 3:59 a.m.