Mathematical approximation

Inference for Linear Regression in R

Jo Hardin

Professor, Pomona College

Inference for Linear Regression in R

Sampling distribution of slope: good t fit

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

Inference for Linear Regression in R

Inference for Linear Regression in R

Model fit

Inference for Linear Regression in R

Inference for Linear Regression in R

Sampling distribution of slope: poor t fit

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

Inference for Linear Regression in R

Sampling distribution of slope: poor t fit

Inference for Linear Regression in R

Sampling distribution of slope: poor t fit

Inference for Linear Regression in R

Let's practice!

Inference for Linear Regression in R

Preparing Video For Download...