A simple linear regression will be used to determine if there is a correlation between engine displacement and horsepower. The study will ask if there is a positive correlation between the two variables. In other words will a larger engine displacement produce a car with more horsepower.
To better understand the relationship between the two variables, we should understand what engine displacment means. Engine displacement is the measure of volume of air and fuel that passes through all of the pistons in one cycle. Generally speaking, the more volume passed should result in the more horsepower. However, the car will likely burn more fuel. (Reference: https://en.wikipedia.org/wiki/Engine_displacement)
The data set utilized is the mtcars data set which is built into R.