powered by
It computes the t-statistics tests for the coefficients of an Arima model
t_stat(modarima, decim = 6)
It returns a matrix 2 x (number of free coefficients) of the t-statistics and the p-values.
an Arima object
Arima
an integer, the precision of the results
Yves Aragon
modarima may be created with the function Arima (package forecast) or arimax (package TSA)
modarima
forecast
arimax
if(require("forecast")) {set.seed(123) y1 = arima.sim(n=100,list(ar=-.7), sd=sqrt(4)) my1 = Arima(y1, order=c(1,0,0),include.mean = FALSE) t_stat(my1) }
Run the code above in your browser using DataLab