Question: Fit a simple linear regression model for the Galton dataset as seen in Example 4.5.1. Compare the values of the regression coefficients of the linear
Fit a simple linear regression model for the Galton dataset as seen in Example 4.5.1. Compare the values of the regression coefficients of the linear regression model for this dataset with the previously obtained resistant line coefficients.
Data from in Example 4.5.1
This dataset was used earlier as an example of an x-y plot. The scatter plot of the parents and the child reflected weak correlation in Figure 4.11, and now we examine and estimate the effect by using the resistant line model. The function resistant_line from the companion package will be used to build the model 4.11.

The fitted resistant line, see Figure 4.14, tells us that if the parents were taller by an inch, the child’s height would be more than an inch taller too.
For two factors, or covariates, an extension of the resistant line model 4.11, will be next considered.
![+ ylab="Child's Height") > curve (rgalton$coeffs [1] +rgalton$coeffs [2] * (x-rgalton$xCenter), +](https://dsd5zvtm8ll6.cloudfront.net/si.question.images/images/question_images/1665/2/1/5/80763412d3f9c9411665215803215.jpg)
> library (UsingR) > data (galton) >rgalton plot (galtonsparent, galtonschild, xlab="Parent's Height", + ylab="Child's Height") > curve (rgalton$coeffs [1] +rgalton$coeffs [2] * (x-rgalton$xCenter), + add=TRUE) >rgalton$coeffs [1] 68.5 1.0
Step by Step Solution
3.45 Rating (161 Votes )
There are 3 Steps involved in it
The regression coefficients of the linear regression model for this dataset are 064 and ... View full answer
Get step-by-step solutions from verified subject matter experts
