CI for Dependent Variable in Multiple Linear Regression

2 views (last 30 days)
I have a regression model but I want to get a 95% confidence interval of the dependent variable for given values of the independent variables.
On the net I found that for a single factor regression: Confindance interval = t(alpha, DofF) * SYX * SQRT(1/n+(X-XAVG)^2/SSX)
where n is the number of observations, XAVG is the average of all the independent variables and X is the value for X for which the CI is wanted.
Is there a way to extend this to multiple linear regression (I have 3 factors)? Can I get the sum of squares values in the basic module of Matlab other than from first principles ?
Thanks

Answers (0)

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!