I am calculating a tolerance interval following http://www.itl.nist.gov/div898/handbook/prc/section2/prc253.htm but this says to multiply the k value by the standard deviation of the sample. I have a model with a fit line, so I would think I do not want to use the standard deviation, but rather some value that reflects the residuals, and instead of using the sample mean, I will use the predicted value from my linear regression model. Is that right? What value do I use instead of the standard deviation?
I could (maybe should have) asked the question this way: Given a linear model, how do I compute a one-sided tolerance interval. I think a tolerance interval is the right thing for my problem based on this: http://www.kmjn.org/notes/tolerance_intervals.html
Edit again: I found this formula for "Assuming linear function and no replicates, the standard deviation about the regression" (from here)

Is this the right fomula to get a value to multiply by the k values?
regtol.int(fit, numeric(0), side=2, alpha=.05, P=.90)to obtain the tolerance limits for the actual x-values (in the order they appeared in the original linear model). In the general case, it appears you can select out the rows for which the "y" column is NA to find the tolerance limits associated with thenew.xparameter. Better yet, just modify the code forregtol.intto include the x-coordinates in its output: then you'll be sure they're correct. – whuber♦ Sep 14 '12 at 23:20