Term | Description |
---|---|
fitted value | |
xk | kth term. Each term can be a single predictor, a polynomial term, or an interaction term. |
bk | estimate of kth regression coefficient |
The standard error of the fitted value in a regression model with one predictor is:
The standard error of the fitted value in a regression model with more than one predictor is:
For weighted regression, include the weight matrix in the equation:
When the data have a test data set or K-fold cross validation, the formulas are the same. The value of s2 is from the training data. The design matrix and the weight matrix are also from the training data.
Term | Description |
---|---|
s2 | mean square error |
n | number of observations |
x0 | new value of the predictor |
mean of the predictor | |
xi | ith predictor value |
x0 | vector of values that produce the fitted values, one for each column in the design matrix, beginning with a 1 for the constant term |
x'0 | transpose of the new vector of predictor values |
X | design matrix |
W | weight matrix |
Term | Description |
---|---|
yi | ith observed response value |
ith fitted value for the response |
Standardized residuals are also called "internally Studentized residuals."
Term | Description |
---|---|
ei | i th residual |
hi | i th diagonal element of X(X'X)–1X' |
s2 | mean square error |
X | design matrix |
X' | transpose of the design matrix |
Also called the externally Studentized residuals. The formula is:
Another presentation of this formula is:
The model that estimates the ith observation omits the ith observation from the data set. Therefore, the ith observation cannot influence the estimate. Each deleted residual has a student's t-distribution with degrees of freedom.
Term | Description |
---|---|
ei | ith residual |
s(i)2 | mean square error calculated without the ith observation |
hi | i th diagonal element of X(X'X)–1X' |
n | number of observations |
p | number of terms, including the constant |
SSE | sum of squares for error |
The range in which the estimated mean response for a given set of predictor values is expected to fall. The interval is defined by lower and upper limits, which Minitab calculates from the confidence level and the standard error of the fits.
where
Term | Description |
---|---|
α | chosen alpha value |
n | number of observations |
p | number of parameters |
s2 | mean square error |
s2{b} | variance-covariance matrix of the coefficients |
The range in which the predicted response for a new observation is expected to fall. The interval is defined by lower and upper limits, which Minitab calculates from the confidence level and the standard error of the prediction. The prediction interval is always wider than the confidence interval because of the added uncertainty involved in predicting a single response versus the mean response.
The formula is: 0+ t(1 -α /2; n - p) s(pred)
Term | Description |
---|---|
α | chosen alpha value |
n | number of observations |
p | number of predictors |
s (predi |