Plots a summary of L0TFinvfix or L0TFinvopt
# S3 method for L0TFinvfix
plot(x, type = NULL, k = NULL, ...)# S3 method for L0TFinvopt
plot(x, type = "mse", k = NULL, ...)
Plot the information criteria for L0TFinvfix and L0TFinvopt across an increasing number of change points or display the estimated trend with a selected change point
The output of L0TFinvfix or L0TFinvopt
The values are taken as c("\(mse\)", "\(sic\)", "\(bic\)", "\(yhat\)"). If \(type\) is "\(mse\)", plot the mse as it changes with change points. The same applies to "\(sic\)" and "\(bic\)". If \(type\) is "\(yhat\)", plot the trend of the estimated values against the input data.
Only used for \(type\) = "\(yhat\)". The given number of change points. By default, the L0TFinvfix object outputs the estimated trend that corresponds to the fixed number of change points within the model. Conversely, the L0TFinvopt object provides the estimated trend based on the optimal change points.
ignore
print.L0TFinvfix