GetIntMod {dynia} R Documentation

## Find the intervention model with necessary covariates

### Description

Fit the intervention model with some covariates

### Usage

GetIntMod(delta, z, T, xint = NA, itype = c("step", "pulse"), ...)


### Arguments

 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.

### Value

Intervention Model is provided

### Author(s)

Jinkun Xiao and A. I. McLeod

### Examples

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))


[Package dynia version 0.2 Index]