Making predictions using "beauty score"
Say there is an instructor at UT Austin and you know nothing about them except that their beauty score is 5. What is your prediction \(\hat{y}\) of their teaching score \(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
Este exercício faz parte do curso
Modeling with Data in the Tidyverse
Exercício interativo prático
Experimente este exercício completando este código de exemplo.
# Use fitted intercept and slope to get a prediction
y_hat <- ___ + ___ * ___
y_hat