What I would like to be able to do is to plot linear regression bands at various std deviations for the same period length. I have code that allows me to plot the linear regression as an average line (not a straight line), but I'm not sure how to plot upper and lower bands that are std deviations of 1, 2, and 3.
The end result should look like a central "least squares average" line with three upper and three lower bands representing the various std deviations (plus and minus) from the main line. I know this shouldn't be hard to do, but I'm scratching my head over it at this point. Thanks...
The end result should look like a central "least squares average" line with three upper and three lower bands representing the various std deviations (plus and minus) from the main line. I know this shouldn't be hard to do, but I'm scratching my head over it at this point. Thanks...
Comment