t_test {BETS} | R Documentation |
Performs the t test on every parameter of an ARIMA model. This model can be an Arima or an arima.
t_test(model, nx = 0, alpha = 0.05)
model |
An Arima or an arima object. The model for which the parameters must be tested. |
nx |
An |
alpha |
A |
A data.frame
containing the standard erros, the t-statistic, the critical values and whether the null hypothesis should be rejected or not, for each model parameter.
Talitha Speranza talitha.speranza@fgv.br, Daiane Marcolino daiane.mattos@fgv.br
require(forecast)
data("AirPassengers")
fit.air<- Arima(AirPassengers,order = c(1,1,1), seasonal = c(1,1,1), method ="ML",lambda=0)
summary(fit.air)
# Significance test for the model SARIMA(1,1,1)(1,1,1)[12]
t_test(model = fit.air)