Usage
## S3 method for class 'breakpointsfull':
confint(object, parm = NULL, level = 0.95,
breaks = NULL, het.reg = TRUE, het.err = TRUE, vcov = NULL, sandwich = TRUE, ...)
## S3 method for class 'confint.breakpoints':
lines(x, col = 2, angle = 90, length = 0.05,
code = 3, at = NULL, breakpoints = TRUE, ...)Arguments
object
an object of class "breakpointsfull" as computed by
breakpoints from a formula. parm
the same as breaks, only one of the two should be
specified.
level
the confidence level required.
breaks
an integer specifying the number of breaks to be used.
By default the breaks of the minimum BIC partition are used.
het.reg
logical. Should heterogenous regressors be assumed? If set
to FALSE the distribution of the regressors is assumed to be
homogenous over the segments.
het.err
logical. Should heterogenous errors be assumed? If set
to FALSE the distribution of the errors is assumed to be
homogenous over the segments.
vcov
a function to extract the covariance matrix
for the coefficients of a fitted model of class "lm".
sandwich
logical. Is the function vcov the sandwich
estimator or only the middle part?
x
an object of class "confint.breakpoints" as returned by
confint.
at
position on the y axis, where the confidence arrows should be
drawn. By default they are drawn at the bottom of the plot.
breakpoints
logical. If TRUE vertical lines for the breakpoints
are drawn.