演習6.1

1) データのプロット

2) 平均・分散・共分散・相関係数

平均
## # A tibble: 1 x 2
##       x     y
##   <dbl> <dbl>
## 1  21.3  484.
分散
## # A tibble: 1 x 2
##       x      y
##   <dbl>  <dbl>
## 1  56.7 32186.
共分散
## [1] 1010.862
相関係数
## [1] 9.958683

演習6.3

線形回帰

## 
## Call:
## lm(formula = y ~ x, data = data)
## 
## Coefficients:
## (Intercept)            x  
##      103.87        17.81