ast-methods | R Documentation |
Methods for ast S3 class
## S3 method for class 'ast'
summary(object, ...)
## S3 method for class 'ast'
moments(x, method = c("analytical", "numerical"), ...)
## S3 method for class 'ast'
print(x, ...)
## S3 method for class 'ast'
plot(x, type = NULL, dist = "ast", envelope = 0.95, ...)
object |
A AST fit object of class |
... |
additional arguments for the |
x |
A AST fit object of class |
method |
one of "numerical" and "analytical", calculating the moments using numerical integration / analytical formula |
type |
one of "density" or "qqplot" |
dist |
one of "norm" or "ast", the theoretical distribution used in QQplots |
envelope |
the confidence level used to construct the envelope |
should also add the empirical moments
pars <- c(0.12, 0.6, 0.6, 3, 5)
data <- rast(1000, pars = pars)
solver_control <- list(eval.max = 10^3, iter.max = 10^3)
fit <- astMLE(data, solver = 'nlminb', solver_control = solver_control)
summary(fit)
moments(fit)
plot(fit, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.