forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 3:29 am

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Linear regression in MQL5
PostPosted: Thu Jan 24, 2019 10:18 pm 
Offline

Joined: Thu Jan 24, 2019 10:14 pm
Posts: 1
Hi everybody,
I want to solve one task with linear regression (or may be by different way):
I have the function

y = ax1 + bx2 + cx3 + dx4 + ex5 + fx6

y and x1 to x6 are known and I have the matrix with their empiric values (100 examples).
I want to calculate the approximation of a to f. I download the library "alglib.mqh" which must be useful.
Can somebody tell me how to calculate my task - some code will be useful. Thanks!


Top
 Profile  
 
 Post subject: Re: Linear regression in MQL5
PostPosted: Fri Jan 25, 2019 11:03 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
Hi! MQL5 version of ALGLIB is an unofficial port made by MQL developers. We do not support this library, so such questions should be asked at MQL forum.

I recommend you to look at lsfitlinear() function, but can not provide any examples in MQL.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group