efpFunctional(functional = list(comp = function(x) max(abs(x)), time = max),
boundary = function(x) rep(1, length(x)),
computePval = NULL, computeCritval = NULL,
plotProcess = NULL, lim.process = "Brownian bridge",
nobs = 10000, nrep = 50000, nproc = 1:20, h = 0.5,
probs = c(0:84/100, 850:1000/1000))"comp" and "time".computePval nor computeCritval are specified
critical values are simulated with settings as specified below.computePval nor computeCritval are specified
critical values are simulated with settings as specified below.NULL a suitable function is set up.NULL only
nproc = 1 is used and all other values are derived from
a Bonferroni correction.efpFunctional returns a list of class "efpFunctional" with components inlcuding
efpFunctional computes an object of class "efpFunctional"
which should know how to do inference based on empirical fluctuation processes
(currently only for gefp objects and not yet for efp
objects) and how to visualize the corresponding processes. In particular, it has
slots for the functions computeStatistic, computePval and plotProcess.
These should have the following interfaces:
{"gefp"
and alpha the level of significance for any boundaries or critical
values to be visualized.}}efp, efpFunctionalif("package:sandwich" %in% search() || require(sandwich)) {
data(BostonHomicide)
gcus <- gefp(homicides ~ 1, family = poisson, vcov = kernHAC,
data = BostonHomicide)
plot(gcus, functional = meanL2BB)
gcus
sctest(gcus, functional = meanL2BB)
}Run the code above in your browser using DataLab