Basic linear regression from 5205*
matrix calculation & LR in ggplot

how to read the summay of LR in R



Model $Y = beta0 + beta1 * x + e, e :(0, sigma^2)$
$Y : N(beta0 + beta1 * x , sigma)$

principle:

e.g: if we have the three: 4, 7, 2, then we may get like: