knitr::opts_chunk$set(echo = TRUE) library(tidyverse) library(moderndive) library(openintro) library(Stat231)
Choose a dataset from the openintro package and complete a linear model and analysis. You need to calculate or build:
The correlation coefficient
A scatterplot without the model overlay
The regression table (and use it to determine if a relationship exists)
A scatterplot with the model overlay
Two predictions (1 interpolation, 1 extrapolation) with interpretations.
#INSERT YOUR CODE HERE
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.