總結:接下來去哪裡?

在 Tidyverse 中進行資料建模

Albert Y. Kim

Assistant Professor of Statistical and Data Sciences

所有影片的 R 原始碼

在 Tidyverse 中進行資料建模

其他 Tidyverse 課程

可在這裡這裡找到

Tidyverse 基礎學習路徑

Tidyverse 進階工具箱學習路徑

在 Tidyverse 中進行資料建模

複習:一般建模框架

  • 一般形式:$y = f(\vec{x}) + \epsilon$
  • 線性迴歸模型:$y = \beta_0 + \beta_1 \cdot x_1 + \epsilon$
在 Tidyverse 中進行資料建模

平行斜率模型

在 Tidyverse 中進行資料建模

多項式模型

在 Tidyverse 中進行資料建模

決策樹模型

在 Tidyverse 中進行資料建模

使用其他模型的 DataCamp 課程

以不同 $f()$ 表示 $y = f(\vec{x}) + \epsilon$ 的課程:

在 Tidyverse 中進行資料建模

複習:迴歸表

# Fit model:
model_score_1 <- lm(score ~ age, data = evals)

# Output regression table:
get_regression_table(model_score_1)
# A tibble: 2 x 7
  term      estimate std_error statistic p_value lower_ci upper_ci
  <chr>        <dbl>     <dbl>     <dbl>   <dbl>    <dbl>    <dbl>
1 intercept    4.46      0.127     35.2    0        4.21     4.71 
2 age         -0.006     0.003     -2.31   0.021   -0.011   -0.001
在 Tidyverse 中進行資料建模

ModernDive:線上教材

  • 使用 tidyverse 工具:ggplot2dplyr
  • 延伸本課的迴歸模型
  • 使用 evalshouse_prices 資料集(及其他)
  • 目標:以資料科學進行統計推論
  • 可在 ModernDive.com 取得
在 Tidyverse 中進行資料建模

祝你好運!

在 Tidyverse 中進行資料建模

Preparing Video For Download...