Test of unit root against a stationnary 3 regime SETAR alternative with random walk in the inner regime

1 2 3 |

`x` |
time series |

`m` |
Number of lags under the alternative |

`series` |
time series name (optional) |

`include` |
Whether data should be raw, de-meaned or de-meaned and de-trended |

`c` |
Argument for the grid search. See details |

`delta` |
Argument for the grid search. See details |

`points` |
Points for the grid search. See details |

`minObsMid` |
Minimal number of observations in the inner regime |

`trick` |
type of internal function used |

`trace` |
should additional infos be printed? (logical) |

This function is currently spurious.

A object of class `KapShin2006Test`

containing:

`statistic` |
The three (SupW, AvgW, ExpW) test statistics computed |

`case` |
Whether the data was transformed, corresponds to input argument include |

`series` |
The name of the series |

Matthieu Stigler

`BBCTest`

for a similar test. `setarTest`

for a test with stationarity as a null.

1 | ```
KapShinTest(lynx, m=1, trace=FALSE, include="none", points=10)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.