# Lesson 12 - Advanced Statistics

**What you will learn in this lesson:**β’ How to run a linear regression.

β’ How R outputs statistical significance thresholds.

β’ Why splitting your code into different files is useful.

As a data-oriented programming language, R has built-in advanced statistical capabilities. Even more statistical capabilities are accessible with packages. Letβs go back to our `stats.R`

file and letβs do some advanced statistics.

If you do not need advanced statistics, you can jump to the next lesson: lesson 13.