「beauty score」を使って予測する
UT Austin のある講師について、わかっているのは beauty score が 5 であることだけだとします。教員評価スコア \(y\) に対するあなたの予測値 \(\hat{y}\) はいくつになりますか?
get_regression_table(model_score_2)
term estimate std_error statistic p_value lower_ci upper_ci
<chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
1 intercept 3.88 0.076 51.0 0 3.73 4.03
2 bty_avg 0.067 0.016 4.09 0 0.035 0.099
この演習はコースの一部です
tidyverse で学ぶモデリング
実践的なインタラクティブ演習
このサンプルコードを完成させて、この演習に挑戦してみましょう。
# Use fitted intercept and slope to get a prediction
y_hat <- ___ + ___ * ___
y_hat