Discussion of article "Data Science and Machine Learning (Part 01): Linear Regression"

MetaQuotes
Moderator
249461

New article Data Science and Machine Learning (Part 01): Linear Regression has been published:

It's time for us as traders to train our systems and ourselves to make decisions based on what number says. Not on our eyes, and what our guts make us believe, this is where the world is heading so, let us move perpendicular to the direction of the wave.

Simple linear Regression has one dependent variable and one independent variable. Here we are trying to understand the relation between two variables for example, how does a stock price change with the change of a simple moving average

Complicated Data

Suppose we have random scattered indicator values when drawn against the stock price (something that happens in real life)

(stock price vs indicator reading scatter plot)

In this case, our Indicator/independent variable may not be the good predictor of our stock price/dependent variable

Author: Omega J Msigwa

Max Brown
11507
Max Brown  
Thank you very much.  I've been waiting for an article series on this subject!
Omega J Msigwa
9552
Max Brown #:
Thank you very much.  I've been waiting for an article series on this subject!
great, there is a lot to come in this article series
salvatoreone
44
salvatoreone  
Just an uneducated opinion... I don't need science to tell that SMA has a very strong correlation with the price, it's literally the average price! Seems like "cheating" a bit to get a nice straight line in your examples but I'm not sure if there is much value in it. One could make an argument that the correlation coef values of close to 1 should be eliminated as they are probably derived directly from the price and hence don't really predict direction, instead just repeat what we can already see with a bare eye on a chart without a single indicator.
Omega J Msigwa
9552

I made a mistake in Multiple regression calculation, kindly do not consider the models on multiple regression session as I'm currently working on updating the content

best regards 

BeeXXI Corporation
10477
My numerous studies show that there is no predictive potential in linear regression in today's market. 
There is still some predictive potential in parabolic regression, but only after parabolic channels have been recognized. 
But there will come a time when this potential runs out. :((
Omega J Msigwa
9552
Omega J Msigwa #:

I made a mistake in Multiple regression calculation, kindly do not consider the models on multiple regression session as I'm currently working on updating the content

best regards 

Check out the multiple regression on this Article https://www.mql5.com/en/articles/10928

Data Science and Machine Learning part 03: Matrix Regressions
Data Science and Machine Learning part 03: Matrix Regressions
  • www.mql5.com
This time our models are being made by matrices, which allows flexibility while it allows us to make powerful models that can handle not only five independent variables but also many variables as long as we stay within the calculations limits of a computer, this article is going to be an interesting read, that's for sure.