# Two-way repeated measures ANOVA 1.0

OS : Windows / Linux / Mac OS / BSD / Solaris

Script Licensing : BSD - BSD License

Created : Sep 13, 2007

Downloads : 6

Thank you for voting...

## function stats = rm_anova2(Y,S,F1,F2,FACTNAMES)<br ...

function stats = rm_anova2(Y, S, F1, F2, FACTNAMES)

Two-factor, within-subject repeated measures_anova. For designs with two within-subject factors.

S grouping variable for SUBJECT

F1 grouping variable for factor #1

F2 grouping variable for factor #2

F1name name (character array) of factor #1

F2name name (character array) of factor #2

Y should be a 1-d column vector with all of your data (numeric).

The grouping variables should also be 1-d numeric, each with same length as Y. Each entry in each of the grouping vectors indicates the level # (or subject #) of the corresponding entry in Y.

There must be at least one value in Y for each possible combination of S, F1, and F2 (i. e. there must be at least one measurement per subject per condition).

If there is more than one measurement per subject X condition, then the program will take the mean of those measurements.

• Statistics Toolbox

Two-factor, within-subject repeated measures_anova. For designs with two within-subject factors.

**Parameters:**

Y dependent variable (numeric) in a column vectorS grouping variable for SUBJECT

F1 grouping variable for factor #1

F2 grouping variable for factor #2

F1name name (character array) of factor #1

F2name name (character array) of factor #2

Y should be a 1-d column vector with all of your data (numeric).

The grouping variables should also be 1-d numeric, each with same length as Y. Each entry in each of the grouping vectors indicates the level # (or subject #) of the corresponding entry in Y.

**Returns:**

**stats is a cell array with the usual ANOVA table:**

Source / ss / df / ms / F / p**Notes:**

Program does not do any input validation,**so it is up to you to make sure that you have passed in the parameters in the correct form:**

Y, S, F1, and F2 must be numeric vectors all of the same length.There must be at least one value in Y for each possible combination of S, F1, and F2 (i. e. there must be at least one measurement per subject per condition).

If there is more than one measurement per subject X condition, then the program will take the mean of those measurements.

**• MATLAB Release: R13SP1**

**Demands:**• Statistics Toolbox

**Two-way repeated measures ANOVA 1.0 scripting tags:**two-way, numeric, measures anova, statistics probability, grouping, array, two-way repeated, factor, variable.

**What is new in Two-way repeated measures ANOVA 1.0 software script?**- Unable to find Two-way repeated measures ANOVA 1.0 news.

**What is improvements are expecting?**Newly-made Two-way repeated measures ANOVA 1.1 will be downloaded from here. You may download directly. Please write the reviews of the Two-way repeated measures ANOVA. License limitations are unspecified.