Learn R Programming

AutoSEARCH (version 1.01)

gedlogl: Log-likelihood of a standardised Generalised Error Distribution (GED)

Description

Compute the log-likelihood of a standardised (zero mean, unit variance) GED with shape parameter p

Usage

gedlogl(z, p = 2)

Arguments

z
numeric vector
p
numeric value, the shape parameter

Value

  • numeric, the value of the log-likelihood

See Also

gedestp

Examples

Run this code
#log-likelihood of a Gaussian series:
set.seed(123)
x <- rnorm(200)
gedlogl(x, p=2)

Run the code above in your browser using DataLab