gat-methods: Methods for gat class

Description Usage Arguments Details Examples

Description

Methods for gat S3 class

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## S3 method for class 'gat'
summary(fit)

## S3 method for class 'gat'
moments(fit, method = c("analytical", "numerical"))

## S3 method for class 'gat'
print(fit)

plot.gat(fit, type = NULL, dist = "gat", envelope = 0.95, ...)

Arguments

fit

A GAT fit object of class gat

method

one of "numerical" and "analytical", calculating the moments using numerical integration / analytical formula

type

one of "density" and "QQplot"

Details

should also add the empirical moments

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
pars <- c(0.12, 0.6, 0.6, 6, 5)
data <- rgat(1000, pars = pars)
solver_control <- list(eval.max = 10^3, iter.max = 10^3)
fit <- gatMLE(data, solver = 'nlminb', solver_control = solver_control)
summary(fit)
moments(fit)
fitted(fit)
se(fit)
objective(fit)
plot(fit)

dan9401/st documentation built on Sept. 5, 2020, 5:16 a.m.