powered by
Performs prognostic Chow test on structural break. The object of test results returned by this command can be plotted using the plot() function.
plot()
pc.test( mod, data = list(), split, sig.level = 0.05, details = FALSE, hyp = TRUE )
A list object including:
hyp
results
SSR1
SSR
periods1
periods.total
nulldist
the regular model (estimated or formula) without dummy variables.
if mod is a formula then the corresponding data frame has to be specified.
mod
number of periods in phase I (last period before suspected break). Phase II is the total of remaining periods.
significance level. Default value: sig.level = 0.05.
sig.level = 0.05
logical value indicating whether specific details (null distribution, number of periods, and SSRs) of the test should be displayed.
logical value indicating whether the hypotheses should be displayed.
Chow, G.C. (1960): Tests of Equality Between Sets of Coefficients in Two Linear Regressions. Econometrica 28, 591-605.
## Estimate model unemp.est <- ols(unempl ~ gdp, data = data.unempl[1:14,]) ## Test for immediate structural break after t = 13 X <- pc.test(unemp.est, split = 13, details = TRUE) X plot(X)
Run the code above in your browser using DataLab