Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #2588

Multiple linear regression 1.01

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From Ramine <ramine@1.1>
Newsgroups comp.programming.threads
Subject Multiple linear regression 1.01
Date Fri, 29 Aug 2014 15:53:34 -0700
Organization A noiseless patient Spider
Lines 73
Message-ID <ltqlnk$ats$2@dont-email.me> (permalink)
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Fri, 29 Aug 2014 19:53:24 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="a5949012337cb8cdda943b0d7d1c89d6"; logging-data="11196"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/II/kEDOMQCVEtdCzMPXa7"
User-Agent Mozilla/5.0 (Windows NT 6.0; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
Cancel-Lock sha1:+msscJa7wnAFsETseRTCI/qy/4U=
Xref csiph.com comp.programming.threads:2588

Show key headers only | View raw


Hello,


Multiple linear regression 1.01


Author: Amine Moulay Ramdane


Description:

Multiple linear regression that uses SIMD SSE2 instructions and that 
implements the following mathematical theorem:

If A is an m x n rank n matrix, then the least-squares solutions to the 
system A*vector(X) = vector(C) are the solutions to the system:

A*vector(X)=

A*inverse(transpose(A)*A))*transpose(A)*vector(C).

This system has the following unique solution:

vector(X) = inverse(transpose(A)*A)*transpose(A)*vector(C)

I have updated my multiple linear regression program to support
SSE (Standard Error of the Estimate), the "SSE" is important in quality 
control, the interpretation of SSE is similar to standard deviation's 
"68-95-99 rule", that is, 68% of the time the predicted score will fall 
plus-or-minus 1 x SSE of the actual score based on the regression 
equation, 95% of the time the predicted score will fall plus-or-minus 2 
x SSE , and 99% of the time the predicted score will fall plus-or-minus 
3 x SSE.

So my Multiple linear regression program does show the multiple 
regression equation that approximate the statistical data and it 
calculates and shows the Coefficient of
determination R2 and it calculates and shows the Standard Error of the 
Estimate.

I have also included a Matrix library called LinMath that uses SIMD SSE2 
instructions and that is multithreaded, LinMath was derived fom mrmath 
Matrix library by Rabatscher Michael and modified to become compatible 
with both FreePascal and Delphi.

LinMath is offered under the licence agreement described on:

http://www.mrsoft.org/


You can downloawd my Multiple linear regression 1.01 from:

https://sites.google.com/site/aminer68/multiple-linear-regression


Language: FPC Pascal v2.2.0+ / Delphi 7+: http://www.freepascal.org/

Operating Systems: Windows.

Required FPC switches: -O3 -Sd

-Sd for delphi mode....

Required Delphi switches:  -$H+




Amine Moulay Ramdane.



Back to comp.programming.threads | Previous | Next | Find similar | Unroll thread


Thread

Multiple linear regression 1.01 Ramine <ramine@1.1> - 2014-08-29 15:53 -0700

csiph-web