开始使用免费开始使用

使用 "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
编辑并运行代码