WAVK {funtimes} | R Documentation |
WAVK Statistic
Description
Statistic for testing the parametric form of a regression function, suggested by Wang et al. (2008).
Usage
WAVK(z, kn = NULL)
Arguments
z |
filtered univariate time series (see formula (2.1) by Wang and Van Keilegom 2007):
where |
kn |
length of the local window. |
Value
A list with following components:
Tn |
test statistic based on artificial ANOVA and defined by Wang and Van Keilegom (2007) as a difference of mean square for treatments (MST) and mean square for errors (MSE):
where |
Tns |
standardized version of
where |
p.value |
|
Author(s)
Yulia R. Gel, Vyacheslav Lyubchich
References
Rice J (1984).
“Bandwidth choice for nonparametric regression.”
The Annals of Statistics, 12(4), 1215–1230.
doi:10.1214/aos/1176346788.
Wang L, Akritas MG, Van Keilegom I (2008).
“An ANOVA-type nonparametric diagnostic test for heteroscedastic regression models.”
Journal of Nonparametric Statistics, 20(5), 365–382.
Wang L, Van Keilegom I (2007).
“Nonparametric test for the form of parametric regression with time series errors.”
Statistica Sinica, 17, 369–386.
See Also
Examples
z <- rnorm(300)
WAVK(z, kn = 7)