Hello, I'm working with a simple linear regression. And I am regressing one dependent varible on one independent variable, both have numeric type. Sample size = 50.
Now, I can create a predicted values from estimated regression, but I'd also like to calculate a prediction interval for a single observation (let's say I am interested only in 5th observation in my dataset).
Can you help me? Thank you very much in advance.
Code:
reg y x
Can you help me? Thank you very much in advance.

Comment