gedestp: Estimate and compute log-likelihood of the standardised...

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/gedestp.R

Description

gedestp and gedlogl are auxiliary functions called by gets.mean and gets.vol.

The gedestp function estimates the shape parameter of a standardised (zero mean, unit variance) GED. The estimation method is based on an index of kurtosis approach, and the code is based on the estimatep function from the normalp package by Angelo M. Mineo.

The gedlogl function computes the log-likelihood of a standardised GED with shape parameter p.

Usage

1
2
gedestp(x, method = c("inverse", "direct"))
gedlogl(z, p = 2)

Arguments

x

numeric vector

z

numeric vector

method

"inverse" or "direct"

p

numeric value, the shape parameter

Value

numeric, either an estimate of the shape parameter or the log-likelihood

Author(s)

Genaro Sucarrat (http://www.sucarrat.net/)

References

Mineo, A.M. (1994): 'Un nuovo metodo di stima di p per una corretta valutazione dei parametri diintensita e di scala di una curva normale di ordine p', Atti della XXXVII Riunione Scientifica della Societa Italiana di Statistica, San Remo, Vol. 2, pp. 147-154

See Also

gets.mean, gets.vol

Examples

1
2
3
4
5
6
7
#estimate p of a standard normal:
set.seed(123)
x <- rnorm(200)
gedestp(x)

#log-likelihood of the standard normal series:
gedlogl(x, p=2)

AutoSEARCH documentation built on May 1, 2019, 10:31 p.m.