AI for Trading Series №3: Regression

Learn about regression and how regression relates to trading and other advanced methods.

Photo by Markus Winkler on Unsplash
  • Checking and transforming data.
  • Regression.
  • Box-whisker plots helps us visually check if a distribution is symmetric or skewed.
  • A histogram lets us check if a distribution is symmetric/skewed, and if it has fat tails.
  • QQ plots help us compare any two distributions, so they can be used to compare distributions other than the normal distribution.
  • Shapiro-Wilk test
  • D’Agostino-Pearson test
  • Kolmogorov-Smirnov test.

Heteroskedasticity

Homoscedasticity and Heteroskedasticity (Source: AI for Trading nano degree course on Udacity)

Breusch-Pagan Test

Transforming Data

Normal Data (Source: AI for Trading nano degree course on Udacity)

Box-cox Transformation

Box-Cox Transformation (Source: AI for Trading nano degree course on Udacity)

Linear Regression

Evaluating Model

  1. R-squared
  2. Adjusted R-squared
  3. F-test

Multi-variate Regression

--

--

Hi! I am a tech enthusiast currently working on leveraging language technologies to solve financial use-cases! View my work here: https://purvasingh96.github.io

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Purva Singh

Hi! I am a tech enthusiast currently working on leveraging language technologies to solve financial use-cases! View my work here: https://purvasingh96.github.io