From the course: Algorithmic Trading and Finance Models with Python, R, and Stata Essential Training (2019)

Unlock the full course today

Join today to access over 24,200 courses taught by industry experts.

Regressions in R

Regressions in R

- [Instructor] One of the key tools that is often used by finance folks when developing algorithmic trading strategies is called linear regression. Firms like Renaissance Technologies, which are famous for their successful algorithmic training, have used linear regression as a way to develop algorithmic trading strategies for decades. Now, of course I can't tell you what the right strategies are. Even if I could, those are going to change over time, but linear regression is a great way to get started trying to identify relationships between variables that you can capitalize on in an algorithmic trading model, and you can do these kinds of linear regressions in R. I'm in the "03_05" begin R file, in the Rstudio program, and I've gone ahead and imported a new data set for us. "03_05_Start_R", which just contains years, ticker symbols, and then accounting variables for a variety of different companies, and we don't have a very large data set here for reasons of, you know, kind of…

Contents