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

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Regressions in Stata

Regressions in Stata

- [Male] One other thing you may want to be able to do in Stata is to run regressions. Stata's a great tool for running regressions and regressions are very useful for helping you to understand relationships between different variables, which is a key component in a predictive analytic sense in terms of developing effective algorithmic trading strategies. I've imported the data from the 04_06_Begin Excel file, and put that into Stata as you see here. So we've got data on years, tickers for various companies, and then a variety of accounting variables. Total assets, cash, EBITDA, liabilities, et cetera. One nice feature about Stata is that if you compare Stata and their variables versus Excel, Stata goes through and takes out all of the spaces in your variable names, but then leaves them in the label so you can easily read what's going on, but at the same time, you don't have to worry about do I put in a space, do I not put in a space when I'm typing a command, et cetera. Now the great…

Contents