aic | R Documentation |
varstan
objectConvenience function for computing the point wise Akaike Information Criteria
method from a varstan
object.
aic(x)
x |
A |
A numeric array of size R, containing the posterior samples of the AICc
for a varstan
object, where R is the number of iterations. If multiple chains are
fitted, then the array is of length M*R, where M is the number of chains
Asael Alonzo Matamoros
model = Sarima(birth,order = c(0,1,2),seasonal = c(1,1,1))
fit1 = varstan(model,iter = 500,chains = 1)
aic1 = aic(fit1)
mean(aic1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.