Negative Log Likelihood for EMG

Share:

Description

Negative log likelihood function for EMG

Usage

1
  emg.nllik(x, mu, sigma, lambda)

Arguments

x

vector of observations

mu

mu of normal

sigma

sigma of normal

lambda

lambda of exponential

Value

A single real value of the negative log likelihood that the given parameters explain the observations.

Author(s)

Shawn Garbett

See Also

emg.mle

Examples

1
2
  y <- remg(200)
  emg.nllik(y, 0, 1, 1)