Home page for accesible maths 7.1.1 Examples

Style control - access keys in brackets

Font (2 3) - + Letter spacing (4 5) - + Word spacing (6 7) - + Line spacing (8 9) - +

7.2 Predicted values

Once we have estimated the regression coefficients β^, we can estimate predicted values of the response variable. The predicted value for individual i is defined as

{mdframed}
μ^i=β^1xi,1+β^2xi,2++β^pxi,p. (7.4)

This equation can also be used to obtain predicted values for combinations of explanatory variables unobserved in the sample (see example 7.2.1). However, care should be taken not to extrapolate too far outside of the observed ranges of the explanatory variables.

The predicted value is interpreted as the expected value of the response variable for a given set of explanatory variable values. Predicted values are useful for checking model fit, calculating residuals and as model output.

TheoremExample 7.2.1 Birthweights cont.

Recall the simple linear regression example on birth weights,

𝔼[Yi]=β1+β2xi

where xi is gestational age at birth. We obtained β^=(β^1,β^2)=(-1485,116).

Can you predict the birth weight of a child at 37.5 weeks?

y^=β^1+β^2×37.5=-1485+116×37.5=2865 grams.