




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





Dr. Nandini Kannan email : [email protected] Home Page : http://faculty.business.utsa.edu/nkannan
Chapter 2- Contd.
Remarks
Interval Estimation of the Mean Response
In many regression examples, we would like to estimate the average re- sponse for a specified level of X, say Xh. The mean response is denoted by E(Yh). The point estimator is
Yˆh = b 0 + b 1 Xh
Since Yˆh is a linear combination of b 0 and b 1 , the sampling distribution is normal with mean E( Yˆh = E(Yh)
and variance V ar( Yˆh) = σ^2
(^1) n + ∑(X(Xh^ −^ X¯)^2 i −^ X¯)^2
From the formula, it is clear that the variability is affected by how far Xh is from the average X¯. Using the MSE for the unknown σ^2 , we can generate confidence intervals and hypothesis tests for E(Yh). using the t-distribution.
The prediction limits take into account:
The 100(1 − α) % prediction interval on a new observation Yh(new) is given by
Yˆh ± t(1 − α/2; n − 2) s
√√√ √√1 +^1 n + ∑(Xh^ −^ X¯)^2 (Xi − X¯)^2
Prediction of the mean of m new observations
The 100(1−α) % prediction interval on the mean of m observations Y¯h(new) is given by
Yˆh ± t(1 − α/2; n − 2) s
√√√ √√ 1 m +
n + ∑(Xh^ −^ X¯)^2 (Xi − X¯)^2
The Analysis of Variance Approach
Partitioning the Total Sum of Squares
The variability in the responses is measured by the Total Sum of Squares SST O = (^) i∑=1n (Yi − Y¯ )^2 This is the inherent variability in the response. The natural question to ask is: How much of this variability occurs (can be explained) because of the changes in the values of the covariate?
The fitted model may be viewed as an explanation of the variability in the response. If the fitted values Yˆi are close to the original responses, the variation in the Yˆi around Y¯ will be close to the SSTO. The Regression Sum of Squares is given by SSR = ∑n i=1^ (ˆyi^ −^ y¯)
2
and measures the variation explained by the regression.
Using simple algebra, we can show that the Total Sum of Squares (SST) may be partitioned as
SST = (^) i∑=1n (yi − y¯)^2 = (^) i∑=1n (ˆyi − y¯)^2 + ∑ i=1n (yi − yˆi)^2 SST = SSR + SSE
where SSE is the Error Sum of Squares or the Variability unexplained.
The last column in the ANOVA Table, the Expected Mean Squares repre- sents the expected value of the means squares. The MSE is unbiased for σ^2. The MSR is a biased estimator of σ^2 with the bias a function of β 1. When β 1 = 0, both quantities are unbiased for σ^2.
To test the hypothesis H 0 : β 1 = 0, we may use the test statistic F ∗^ = M SRM SE
which has an F -distribution with (1, n − 2) df under H 0.
The test given above may be formulated in the more general framework of the General Linear Test approach, which involves 3 steps:
Full Model We begin with the unrestricted or full model we think is appropriate for the data, and obtain the error sum of squares which we will denote by SSE(F).
Reduced Model We next consider the hypothesis H 0 : β 1 = 0. When H 0 is true, we have a reduced or restricted model. We fit the reduced model to the data and obtain the error sum of squares SSE(R).
Test Statistic It can be shown that SSE(F ) ≤ SSE(R),
i.e more parameters in the model provides a better fit. If the difference is small, then the addition of the extra parameter β 1 has not really provided a significantly better fit. In other words, β 1 is probably 0.
The actual test is F ∗^ = SSE( dfRR) −− dgSSEF (F^ ) ÷ SSE dfF(F^ )
Coefficient of Determination R^2
R^2 = (^) SSTSSR 0 = 1 − (^) SST OSSE
represents the proportion of variability in the response that is explained by the model. Clearly 0 ≤ R^2 ≤ 1.
Remarks: