Skip to content
Prev 74249 / 398500 Next

time series and regions of change

On Fri, 22 Jul 2005 14:46:31 -0400 Sean Davis wrote:

            
If the regions of interest are known (i.e., not determined in some way
from the data), then you could use a simple ANOVA using a covariance
matrix estimate that is robust to serial correlation. The package
sandwich provides such estimators (e.g., vcovHAC and kernHAC) that can
be plugged into the function waldtest() in the package lmtest. This
corresponds to conduncting an anova() with a different covariance matrix
estimate. See the sandwich vignette for some examples.

If the regions of interest are unknown and have to be estimated, the
function breakpoints() in package strucchange might be useful. See
help(breakpoints) for some examples and further references.

hth,
Z