Question: how to calculate standard error of prediction?
Answer: The standard error of a predicted individual response at x0 is estimated by the following: Let t0.975, df denote the 0.975 quantile of a t distribution with degrees of freedom df = n - a -1 if the data are centered and df = n - a if the data are not centered.