MyNixOS website logo
Description

Restricted Structural Change Models.

Methods for detecting structural breaks and estimating break locations for linear multiple regression models under general linear restrictions on the coefficient vector. Restrictions can be within regimes, across regimes, or both, and are supported in two forms: an affine parameterization (Form A: delta = S*theta + s) and explicit linear constraints (Form B: R*delta = r). Provides break date estimation with confidence intervals, a restricted sup-F test for the null of no structural change, simulation of critical values by Monte Carlo, and a bootstrap restart procedure to reduce the risk of convergence to spurious local optima. Also implements a generalized regression tree (linear model tree) procedure where each leaf contains a linear regression model rather than a local average. Reference: Perron, P., and Qu, Z. (2006). 'Estimating Restricted Structural Change Models.' Journal of Econometrics, 134(2), 373-399. <doi:10.1016/j.jeconom.2005.06.030>.

rbreak

Restricted Structural Change Models

Overview

Methods for detecting structural breaks and estimating break locations under linear restrictions on coefficients within and across regimes using the method of Perron and Qu (2006).

Example

library(rbreak)

# Example data
data(example)
y <- example$y
bigt <- length(y)
z <- matrix(1, nrow = bigt, ncol = 1)

# Form A restrictions: coefficients in regimes 1 and 3 are equal, coefficients in regimes 2 and 4 are equal
m <- 3
q <- 1
trm <- 0.10
S <- matrix(c(1, 0,
              0, 1,
              1, 0,
              0, 1), nrow = 4, byrow = TRUE)
s <- rep(0, 4)

# Complete analysis
result_formA <- mainp(
  m = m, q = q, z = z, y = y, trm = trm,
  robust = 0, prewhit = 0, hetvar = 1,
  S = S, s = s,
  doestim = 1, dotest = 0, docv = 0,
  bigt = bigt, forma = 1, formb = 0
)

# Form B restrictions: coefficients in regimes 1 and 3 are equal, coefficients in regimes 2 and 4 are equal
R <- matrix(c(1, 0, -1, 0,
              0, 1,  0, -1), nrow = 2, byrow = TRUE)
r <- c(0, 0)

# Complete analysis
result_formB <- mainp(
  m = m, q = q, z = z, y = y, trm = trm,
  robust = 0, prewhit = 0, hetvar = 1,
  R = R, r = r,
  doestim = 1, dotest = 0, docv = 0,
  bigt = bigt, forma = 0, formb = 1
)

References

Perron, P., and Qu, Z. (2006). "Estimating Restricted Structural Change Models". Journal of Econometrics, 134(2), 373-399. doi:10.1016/j.jeconom.2005.06.030

Bai, J., and Perron, P. (1998). "Estimating and Testing Linear Models with Multiple Structural Changes". Econometrica, 66(1), 47-78.

Bai, J., and Perron, P. (2003). "Computation and Analysis of Multiple Structural Change Models". Journal of Applied Econometrics, 18(1), 1-22.

Metadata

Version

1.0.7

License

Unknown

Platforms (80)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    uefi
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-freebsd
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64-uefi
  • aarch64-windows
  • aarch64_be-none
  • arc-linux
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-linux
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • sh4-linux
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-uefi
  • x86_64-windows