Code covered by the BSD License  

Highlights from
RMAOV31

5.0

5.0 | 1 rating Rate this file 4 Downloads (last 30 days) File Size: 5.73 KB File ID: #9605

RMAOV31

by Antonio Trujillo-Ortiz

 

12 Jan 2006 (Updated 16 Jan 2006)

Three-way Analysis of Variance With Repeated Measures on One Factor Test.

| Watch this File

File Information
Description

This m-file is a three-factor analysis of variance design in which there are repeated measures on only one of the factors. In repeated measures designs, the same participants are used in all conditions. This is like an extreme matching. This allows for reduction of error variance due to subject factors. Fewer participants can be used in an repeated measures design. Repeated measures designs make it easier to see an effect of the independent variable on the dependent variable (if there is such an effect). There are two different error terms. One of the error terms involves subject-to-subject variability within each group or, in the case of the present design, within each cell formed by the two between-group factors. The other error term involves the variability within subjects. The within-subject variability can be divided into five components, which include the main effect of the RM factor and all of its interactions.

Inputs:
       X - data matrix (Size of matrix must be n-by-5;dependent variable=column 1; independent variable 1=column 2; independent variable 2=column 3; independent variable 3 (within-factor)=column 4; subject=column 5).
   alpha - significance level (default = 0.05).
  
Outputs:
     - Complete Analysis of Variance Table.

MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
14 Jan 2006 R. B.

Excellent contribution. A statistical design particularly prevalent in my research area.

Please login to add a comment or rating.
Updates
16 Jan 2006

It was added an appropriate format to cite this file.

16 Jan 2006

Output was improved.

16 Jan 2006

Text was improved.

Tag Activity for this File
Tag Applied By Date/Time
statistics Antonio Trujillo-Ortiz 22 Oct 2008 08:12:19
probability Antonio Trujillo-Ortiz 22 Oct 2008 08:12:19
repeated measures Antonio Trujillo-Ortiz 22 Oct 2008 08:12:19
one withinsubjects Antonio Trujillo-Ortiz 22 Oct 2008 08:12:19
threeway anova Antonio Trujillo-Ortiz 22 Oct 2008 08:12:19

Contact us at files@mathworks.com