Math::TamuAnova(3pm)

Math::TamuAnova3pm

Perl extension for the tamuanova library

Usage

  use Math::TamuAnova;

Overview

This module allows you to use the tamu-anova library from perl programs.

Export

None by default.

Exportable constants

  anova_fixed
  anova_mixed
  anova_random

Exportable functions

  anova
  anova_twoway
  printanova
  printanova_twoway

Use

  $hash=Math::TamuAnova::anova(DATA[], FACTOR[], J);

DATA is an array of double, FACTOR an array of integer.

Factors must be within 1..J

DATA and FACTOR must have the same size.

  $hash2=Math::TamuAnova::anova_twoway(DATA[], FACTORA[], FACTORB[], JA, JB, mode);

DATA is an array of double, FACTOR(A|B) arrays of integer.

Factors A must be within 1..JA, and Factors B within 1..JB

DATA, FACTORA and FACTORB must have the same size.

Examples

  $res=Math::TamuAnova::anova( [88.60,73.20,91.40,68.00,75.20,63.00,53.90,
      69.20,50.10,71.50,44.90,59.50,40.20,56.30,
      38.70,31.00,39.60,45.30,25.20,22.70],
    [1,1,1,1,1,2,2,2,2,2,3,3,3,3,3,4,4,4,4,4],
    4);
  Math::TamuAnova::printtable( $res );
  $res=Math::TamuAnova::anova_twoway(
    [6,10,11,13,15,14,22,12,15,19,18,31,18,9,12],
    [1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2],
    [1, 1, 1, 2, 2, 3, 3, 1, 1, 1, 1, 2, 3, 3, 3],
    2,3,
    &Math::TamuAnova::anova_fixed);
  Math::TamuAnova::printtable_twoway( $res );

Releases

7 releases since Debian 7 (Wheezy); the text changed 6 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

Author

Vincent Danjean, <[email protected]>

From libmath-tamuanova-perl 1.0.2-4+b2 in Debian 13 (Trixie). Parsed by carta from the page's man source.