Regression analysis -- how-to?

korax1214_at_mailandnews.co.uk
Date: 01/09/05


Date: 9 Jan 2005 12:11:40 -0800


(Yes, I know that sci.math would be more appropriate for this thread --
were it not for the fact that, the last time I asked an algorithm
question there, the newsgroup's troll replied with a post which started
"there's no such thing as rectangular or polar complex numbers, there
are only complex numbers" (which may be true of *pure* maths[1]
(although I won't believe this until I get confirmation from someone
intelligent) but is definitely *not* true of *applied* maths (e.g.
algorithms) where the distinction between rectangular and polar forms
is very real (pun not intended) and quite important. For instance, the
algorithm for multiplying two rectangular complex numbers is very
different from the algorithm for multiplying two polar complex numbers,
just as the algorithm for multiplying 1/2 by 3/4 is very different from
the algorithm for multiplying 0.5 by 0.75, even though the same pair of
fractions are involved in both cases), and went rapidly downhill from
there. (The idiot in question obviously not only doesn't know what
"twit" means, at least not in British English which is what I speak and
write (it's *not* an insult), but from his reply to my reply to him, he
obviously doesn't even know what "fraction" means.) Hence I am posting
this to a group where I am likely to get *some* intelligent replies --
besides, I already tried sci.math with this question, and it appears
that nobody there is capable of answering it.)

Could anyone give me one or more algorithms for performing regression
analysis, calculating the coefficient of correlation of a dataset, or
any related topic of interest? Or give me a pointer as to where
(preferably online) I could find this information?

I know that there are at least six types of regression analysis
(linear, quadratic, logarithmic, exponential, power and inverse) and at
least two types of linear correlation coefficient (rank and product
moment, IIRC), but I'd like to know the details...

I know how to calculate the arithmetic mean and the product/population
standard deviations of a dataset, which I think are at least 70% of
what I need to do linear regression analysis, but I have no idea how to
go beyond this.

[1] Please don't tell me that the "correct" spelling is "math" (British
English, remember?); "mathematics" is a plural-only word, so one can't
have only one math, any more than one can have only one applau. :-)



Relevant Pages

  • Re: Elementary group theory: Proof of Fermat-Maas primality-test (was: correcting Dik ...)
    ... I went ahead and coded algorithm -1b- Saturday. ... of 1's that need conversion to X's. ... Mininum number of 1's in any row is 2, ... Multiplying main row by that, ...
    (sci.math)
  • Re: Newton-Raphson division
    ... The basic algorithm is to use newton-raphson's algorithm to ... calculate 1/d and then I'm multiplying the approximation by n. ... Restoring division takes more than one cycle per bit though. ... faster than NR on ARM9tdmi. ...
    (comp.sys.arm)
  • Re: matrix optimality
    ... I'm trying to compute the most optimal way of multiplying a matrix that ... Is there an algorithm or method to compute the optimal solution, ... Trying to keep intermediate product matrices of as small dimensions as ...
    (sci.math)
  • Re: Newton-Raphson division
    ... The basic algorithm is to use newton-raphson's algorithm to ... calculate 1/d and then I'm multiplying the approximation by n. ... Restoring division takes more than one cycle per bit though. ...
    (comp.sys.arm)
  • Re: Calculating two free axes
    ... You can permuate the coordinates if vn is zero to get ... On paper you solve systems of linear equations easily. ... generate a set of linearly independent vectors huh? ... algorithm to do this while I have. ...
    (comp.graphics.algorithms)