Hi Josef,
For my data when y(regression values - the average y lets call it) is plotted as a function of time, it is very sinusoidal, or follows a "seasonal" trend.
So my plots turn out always fairly smooth.
I just need to calculate the confidence interval around the average-y value.
I have plotted this in excel for the simple linear case (one independent variable), but could not find much regarding how to do it in the multi-linear case.

So its great to see code that can handle multi-linear case.
So my data columns in the multi-linear case would be:
item# | y-regression | x_1 | x_2 | month |
1 | 32,500 | 345 | 52 | march-2015|
2 | 44, 425 | 256 | 104 | april-2015|
3 | 65, 340 | 202 | 137 | may-2015|
etc
So I would plot, lets say in excel, y-regression versus month.
As you can see the x_1 and x_2 quantities change with every month.
And if y-regression represents cost or something, I would want to know the confidence upper and lower limits of the regression y-values and also have prediction intervals to
see the max or min values of the future data points that would appear within say a 95% confidence.
So, I also don't mind jaggedness as long as I got a upper and lower limit on the y-values of regression.
Regards,
P.