/

DAAnovaTwoWithAnalysis

[this page | pdf]

Function Description

Returns the results of a two factor Analysis of Variance (with replication), given an input array, InputArray, which needs to be of length n1 x n2, where n1 is the number of groups of data and n2 is the number of observations for each group, with the groups further subdivided into sub-groups, the (string) values of which are contained in the array SubGroups.

 

The output is as a numeric array with 3 rows and 6 columns, as follows (akin to that supplied by the Data Analysis Toolpack available via Microsoft Excel):

 

Rows: Applicable ANOVA component, here

 

-          Row 1: sample

-          Row 2: columns

-          Row 3: interaction

-          Row 4: within (sub)groups

-          Row 5: total

 

Columns: Various relevant outputs:

 

-          Col 1: SS = Sum of squared deviations for applicable ANOVA component

-          Col 2: df = Degrees of freedom for applicable ANOVA component

-          Col 3: MS = SS/df (for Rows 1 – 4 only)

-          Col 4: F statistic, i.e. MS for applicable ANOVA component divided by MS for within group (Rows 1 – 3 only)

-          Col 5: P-value from F distribution applicable to the F statistic (Rows 1 – 3 only)

-          Col 6: Equivalent critical value of F distribution given degrees of freedom and confidence level Alpha

 


NAVIGATION LINKS
Contents | Prev | Next


Output type / Parameter details

Output type: Double()
Parameter NameVariable TypeDescription
InputArrayDouble()Input array
n1IntegerNumber of series
n2IntegerNumber of elements in each series
SubGroupsString()Array containing subgroups applicable to each input value
AlphaDoubleConfidence level for critical value(s) of F distribution

Links to:

-          Interactively run function

-          Interactive instructions

-          Example calculation

-          Output type / Parameter details

-          Illustrative spreadsheet

-          Other Statistical functions

-          Computation units used


Note: If you use any Nematrian web service either programmatically or interactively then you will be deemed to have agreed to the Nematrian website License Agreement


Desktop view | Switch to Mobile