Learn R Programming

emg (version 1.0.9)

emg.nllik: Negative Log Likelihood for EMG

Description

Negative log likelihood function for EMG

Usage

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.

See Also

emg.mle

Examples

Run this code
# NOT RUN {
  y <- remg(200)
  emg.nllik(y, 0, 1, 1)
# }

Run the code above in your browser using DataLab