Univariate linear regression assumes the relationship between the dependent variable (y in the case of this tutorial) and the independent variable (x in this case) is linear. The video above demonstrates how to perform a basic linear regression using R. While the video shows the basics, I figured I would write a post to provide an R file so users can copy and paste the code, follow along with the video if needed, and provide another forum to answer questions. The .csv file used in this tutorial is located here on my github.
Please let me know if you have any questions! You can either leave a comment here or on youtube (please subscribe if you can)!