数学近似

R 中的线性回归推断

Jo Hardin

Professor, Pomona College

R 中的线性回归推断

斜率的抽样分布:t 拟合良好

ggplot(starFatCal, aes(x = statistic)) + 
  geom_histogram(aes(y = ..density..), bins = 50) + 
  stat_function(fun = dt, color = "red", args = list(df = nrow(starbucks) - 2))

R 中的线性回归推断

R 中的线性回归推断

模型拟合

R 中的线性回归推断

R 中的线性回归推断

斜率的抽样分布:t 拟合较差

ggplot(starProFib, aes(x = statistic)) + geom_histogram(aes(y = ..density..), bins = 50) + 
  stat_function(fun = dt, color = "red", args = list(df = nrow(starbucks) - 2))

R 中的线性回归推断

斜率的抽样分布:t 拟合较差

R 中的线性回归推断

斜率的抽样分布:t 拟合较差

R 中的线性回归推断

让我们练习!

R 中的线性回归推断

Preparing Video For Download...