Description Usage Arguments Value References Examples
Performs the (univariate) Darling-Erdös test for change in mean, as described
in \insertCitehorvathricemiller19CPAT. This is effectively an interface
to stat_de
; see its documentation for more details. p-values
are computed using pdarling_erdos
, which represents the
limiting distribution of the test statistic under the null hypothesis when
a
and b
are chosen appropriately. (Change those parameters at
your own risk!)
1 2 |
x |
Data to test for change in mean |
a |
The function that will be composed with l(x) = (2 \log x)^{1/2} |
b |
The function that will be composed with u(x) = 2 \log x + \frac{1}{2} \log \log x - \frac{1}{2} \log π |
use_kernel_var |
Set to |
stat_plot |
Whether to create a plot of the values of the statistic at all potential change points |
kernel |
If character, the identifier of the kernel function as used in
cointReg (see |
bandwidth |
If character, the identifier for how to compute the
bandwidth as defined in cointReg (see
|
A htest
-class object containing the results of the test
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.