Hi all,
After regress y x, the command margins, at(x = a) will give me .95 confidence limits. That is fine if I want to estimate a mean response at x = a. But, if I want to get a prediction at x = a, what is the command?
p/s: Currently, I have to calculate the spred manually to get the prediction limits. But, it get tedious when I need to correct the prediction limits for multiple predictions.
Thank you in advance for any advice!
After regress y x, the command margins, at(x = a) will give me .95 confidence limits. That is fine if I want to estimate a mean response at x = a. But, if I want to get a prediction at x = a, what is the command?
p/s: Currently, I have to calculate the spred manually to get the prediction limits. But, it get tedious when I need to correct the prediction limits for multiple predictions.
Thank you in advance for any advice!
Comment