Statistics Toolbox Release Notes |
Updated Functions for ANOVA-Type Tables
Several functions display tables, such as ANOVA tables, in a figure window. These figure windows now have a new Copy Text option on the Edit menu. You can use this option to copy the table as tab-delimited text into Microsoft Excel, Microsoft Word, or other applications. These two functions that produce such tables have been updated:
The changes to each of these functions are described below.
Note
The aoctool , friedman , and kruskalwallis functions are new functions added in the Statistics Toolbox 3.0; these functions also display ANOVA-type tables.
|
anova1
[p,table,stats] =anova1
(x,group,'displayopt
')
table
is a cell array of the ANOVA table values, including row and column labels.
stats
output structure useful for performing multiple comparisons (see multcompare
for more information).
'displayopt'
is 'off'
to omit the table and boxplot display, or 'on'
(the default) to display the table and boxplot.
x
is a matrix, group
can now be a character array or cell array of strings with one row for each column of x
. The boxes in the boxplot are then labeled using the rows of group
.
x
is a vector, group
can be a vector of integers or a character array or cell array of strings with one row for each element of x
. The boxes in the boxplot are labeled with values from group
.
table
and to the table display.
g
.
anova2
[p,table,stats] =anova2
(x,reps,'displayopt
')
table
as a second output.
'displayopt'
can be used to suppress the ANOVA table display.
stats
can be used as input to multcompare
to perform multiple comparisons of row or column means.
New Sample Data Files | Other Updated Functions |