Performs Andrews' test for end-of-sample structural change, as described in
\insertCiteandrews03CPAT. This function works for both univariate and
multivariate data depending on the nature of
x and whether
formula is specified. This function is thus an interface to
andrews_test_reg; see the
documentation of those functions for more details.
Data to test for change in mean (either a vector or
Numeric index of the location of the first potential change point
The regression formula, which will be passed to
htest-class object containing the results of the test
1 2 3 4 5
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.