Introduction to Linear Regression Analysis. Douglas C. Montgomery
Чтение книги онлайн.
Читать онлайн книгу Introduction to Linear Regression Analysis - Douglas C. Montgomery страница 34
(2.57)
and the maximum-likelihood estimators
(2.58b)
and
(2.58c)
The solution to Eq. (2.58) gives the maximum-likelihood estimators:
(2.59a)
(2.59b)
(2.59c)
Notice that the maximum-likelihood estimators of the intercept and slope,
In general, maximum-likelihood estimators have better statistical properties than least-squares estimators. The maximum-likelihood estimators are unbiased (including
2.13 CASE WHERE THE REGRESSOR x IS RANDOM
The linear regression model that we have presented in this chapter assumes that the values of the regressor variable x are known constants. This assumption makes the confidence coefficients and type I (or type II) errors refer to repeated sampling on y at the same x levels. There are many situations in which assuming that the x’s are fixed constants is inappropriate. For example, consider the soft drink delivery time data from Chapter 1 (Figure 1.1). Since the outlets visited by the delivery person are selected at random, it is unrealistic to believe that we can control the delivery volume x. It is more reasonable to assume that both y and x are random variables.
Fortunately, under certain circumstances, all of our earlier results on parameter estimation, testing, and prediction are valid. We now discuss these situations.
2.13.1 x and y Jointly Distributed
Suppose that x and y are jointly distributed random variables but the form of this joint distribution is unknown. It can be shown that all of our previous regression results hold if the following conditions are satisfied:
1 The conditional distribution of y given x is normal with conditional mean β0 + β1x and conditional variance σ2.
2 The x’s are independent random variables whose probability distribution does not involve β0, β1, and σ2.
While all of the regression procedures are unchanged when these conditions hold, the confidence coefficients and statistical errors have a different interpretation. When the regressor is a random variable, these quantities apply to repeated sampling of (xi, yi) values and not to repeated sampling of yi at fixed levels of xi.
2.13.2 x and y Jointly Normally Distributed: Correlation Model
Now suppose that y and x are jointly distributed according to the bivariate normal distribution. That is,
(2.60)
where μ1 and
is the correlation coefficient between y and x. The term σ12 is the covariance of y and x.
The conditional distribution of y for a given value of x is
(2.61)
where
(2.62a)