R codes to get the data and run the regression
plot(hson ~ hfather, data=father.son, bty=”l”, pch=20)
abline(a=0,b=1,lty=2,lwd=2) # what is the hypothesis here? Why we are looking at this line
abline(lm(hson ~ hfather, data=father.son),lty=1,lwd=2) # what is the hypotheses here? which one to use – this or the previous one?
The outputs are:
lm(formula = hson ~ hfather, data = father.son)
The graphical output is