I have fit some data set using linear regression. I would like to estimate the prediction interval around the regression line? For a single sample, we can estimate it as shown here. Is there a way to do estimate based on multiple sample to get an estimate of the curves?