GetIntMod {dynia} | R Documentation |
Fit the intervention model with some covariates
GetIntMod(delta, z, T, xint = NA, itype = c("step", "pulse"), ...)
delta |
The optimization process will be incorporated if the specific delta is not provided. |
z |
The series which we intend to fit the intervention model |
T |
T denotes the start of the intervention in the model |
xint |
xint denotes for the possible covariates included in the model |
itype |
itype includes the type of the intervention:"step" and "pulse" intervention |
... |
Any supported argments for arima function could be put here. |
Intervention Model is provided
Jinkun Xiao and A. I. McLeod
GetIntMod(delta=1.033,z=casualties[,1],T=70,xint=scale(casualties[,2]),itype="s",
order=c(1,0,0),seasonal=list(order=c(0,0,1),period=12))