piecewise_linear_fit_py
piecewise_linear_fit_py copied to clipboard
How to calculate prediction intervals?
I can see how to generate confidence intervals using prediction_variance? Do you know of a way to generate prediction intervals?
Thanks
Is this what you want? https://github.com/cjekel/piecewise_linear_fit_py/blob/master/examples/prediction_variance.py
That plot should give the prediction with +- error bars.
What do you want a confidence interval of?