Hi Leonard,

On 11/14/06, Leonard Mada <[EMAIL PROTECTED]> wrote:
Hello to everyone.

1. I have corrected some issues/bugs in the initial ANOVA code
2. Implemented some features NOT resolved in the first draft
3. split the code in two sections:
   - the one matrix situation
   - multiple matrices situation
[both could be implemented inside a single function using a switch case
statement]

What would help is for you to turn your code into something that can
be compiled and tested.  You may not be a professional coder, but a
compilable C++ code is essential for others to test your code.

In your case, you have two functions.  You'd then need to add the
main() function that calls these functions and outputs some meaningful
result.  I'd really like to help you there, but right now I'm a little
short of time myself...

P.S.
The ANOVA code in R looks a little bit frightening to beginners (though
it is much more powerful), and as there is currently NO function in Calc
that permits performing *multiple comparisons* AND I see NO rapid
embedding of R into Calc, it seems pertinent to implement the ANOVA code.

Embedding of R into Calc is legally impossible as R is released under
GPL.  However, we could dynamically load it at run time without
violating the license term (but again, IANAL).



//
//     CALCULATING ANOVA
// (C) LEONARD MADA (2006)
//
//  THIS IS FREE SOFTWARE
//
// THIS SOFTWARE IS RELEASED UNDER BOTH
// THE GNU GPL AS WELL AS THE LGPL

void ScInterpreter::ScANOVA()
{
        // WE GET EITHER A SINGLE MATRIX WHERE EVERY COLUMN IS A SEPARATE 
VARIABLE

[rest of the code snipped]

Do you have a reference for this code i.e. is it entirely your own
code, or is it derived from another source (application, book, paper,
etc.)?

Kohei

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to