fix.pacf.test {Sie2nts} | R Documentation |
Testing Lag of Auto-Regressive (AR) Model
Description
fix.pacf.test() generates a test of lags for AR Approximations.
Usage
fix.pacf.test(ts, c, type, or = 4, lag = 3, b = 8, B.s = 1000, m = 0)
Arguments
ts |
ts is the data set which is a time series data typically |
c |
c indicates the number of basis used to estimate (For wavelet, the number of basis is 2^c. If Cspli is chosen, the real number of basis is c-2+or) |
type |
type indicates which type of basis is used. There are 31 types in this package |
or |
or indicates the order of spline and only used in Cspli type, default is 4 which indicates cubic spline |
lag |
lag determine the lag of AR Approximations.The default is 3 |
b |
the largest lag for auto-regressive model, the default value is 8, this parameter must be larger than lag |
B.s |
the number of statistics used in multiplier bootstrap, the default value is 1000 |
m |
the number of window size used in multiplier bootstrap, the default value is 0 which uses the minimum volatility method to determine the number |
Value
It returns a list contains p value for each lag