Learn R Programming

ExtDist (version 0.6-3)

eDist: S3 methods for manipulating eDist objects.

Description

S3 methods for manipulating eDist objects

Usage

"logLik"(object, ...)
"AIC"(object, ..., k = 2)
AICc(object)
"AICc"(object, ...)
"vcov"(object, ..., corr = FALSE)
BIC(object)
"BIC"(object, ...)
MDL(object)
"MDL"(object, ...)
"print"(x, ...)
"plot"(x, ...)

Arguments

object,
x An object of class eDist, usually the output of a parameter estimation function.
...
Additional parameters
k
numeric, The penalty per parameter to be used; the default k = 2 is the classical AIC.
corr
logical; should vcov() return correlation matrix (instead of variance-covariance matrix).
x,
A list to be returned as class eDist.
plot
logical; if TRUE histogram, P-P and Q-Q plot of the distribution returned else only parameter estimation is returned.

References

Myung, I. (2000). The Importance of Complexity in Model Selection. Journal of mathematical psychology, 44(1), 190-204.

Examples

Run this code
X <- rnorm(20)
est.par <- eNormal(X, method ="numerical.MLE")
logLik(est.par)
AIC(est.par)
AICc(est.par)
BIC(est.par)
MDL(est.par)
vcov(est.par)
vcov(est.par,corr=TRUE)
print(est.par)
plot(est.par)

Run the code above in your browser using DataLab