If you look at my code, it seems the implementation of a kalman filter in the data looks a little weird? The linear regression has a blue line nowhere near the points on the scatter plot, and the kalman filter stationary series seems to go way outside of the upper and lower bounds from the mean. Can someone tell me if the coding is off? Thank you!