plotting a fitted segmented linear model shows more break points than what is estimated
问题 I was helping a friend with segmented regressions today. We were trying to fit a piecewise regression with a breakpoints to see if it fits data better than a standard linear model. I stumbled across a problem I cannot understand. When fitting a piecewise regression with a single breakpoint with the data provided, it does indeed fit a single breakpoint. However, when you predict from the model it gives what looks like 2 breakpoints. When plotting the model using plot.segmented() this problem