"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