breakpoint.est | R Documentation |
Breakpoint estimation
breakpoint.est(formula, type = c("BQ", "ML"), H = NULL)
formula |
Specification of the linear regression model by an object of the class "formula" |
type |
A character string specifying the breakpoint estimator type; must be one of "BQ" (backward CUSUM estimator, default) or "ML" (maximum likelihood estimator). |
H |
An optional matrix for the partial hypothesis H'β_t = H'β_0, where H'Q_t is considered instead of Q_t. H must have orthonormal columns. For a test for a break in the intercept, H can also set to the string "intercept". The full structural break test is considered as the default setting (NULL). |
The estimated location of the breakpoint
T <- 100 u <- rnorm(T,0,1) y <- 2 + c(rep(0,95), rep(0.8,5)) + u breakpoint.est(y~1) breakpoint.est(y~1, type = "ML")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.