Skip to content

Linear Regression: Analysis of Variance ANOVA Table in R Video

Last Update: March 22, 2022

My online video tutorials are hosted at YouTube channel.

For learning this concept, you can view my online video tutorial: Linear Regression: Analysis of Variance ANOVA Table in R.

Video Code

1. Package

library(AER)

2. Data

data(HousePrices)

3. Model

mlr <- lm(formula = price ~ lotsize + bedrooms, data = HousePrices)
summary(mlr)

4. Analysis of Variance

lr1 <- lm(formula = price ~ 1, data = HousePrices)
anova(object = lr1, mlr)

Courses

My online courses are hosted at Teachable website.

For more details on this concept, you can view my Linear Regression in R Course.

My online courses are closed for enrollment.
+