View source: R/UCS3functions.R
| BIC.UComp | R Documentation |
Extract BIC (or SBC) value of UComp object
## S3 method for class 'UComp'
BIC(object, ...)
object |
Object of class “UComp”. |
... |
Additional inputs to function. |
Selection criteria for models with different number of
parameters, the smaller BIC the better. The formula used here is
BIC=(-2 ln(L) + k ln(n)) / n, where ln(L) is the log-likelihood
at the optimum, k is the number of parameters plus
non-stationary states and n is the number of observations.
Mind that this formulation differs from the usual definition that
does not divide by n. This makes that BIC(m) and BIC(logLik(m))
give different results, being m an UComp object.
Diego J. Pedregal
UC, UCforecast, UCvalidate, UCfilter, UCsmooth,
UCdisturb, UCcomponents
## Not run:
y <- log(AirPassengers)
m1 <- UCforecast(y, model = "llt/equal/arma(0,0)")
BIC(m1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.