Learn R Programming

dcce (version 0.4.2)

.westerlund_pvalue: Approximate asymptotic p-value for a Westerlund statistic

Description

Uses critical values from Westerlund (2007, Table 3). For values more extreme than the 1% critical value, p_value is clamped to 0.001. For values less extreme than the 10% critical value, p_value is set to 0.5. Linear interpolation between tabulated critical values is used in-between. All statistics have a large-negative rejection region.

Usage

.westerlund_pvalue(stat, test_name)

Arguments