fd22

2^2 Factorial Design Analysis.
1.6K Downloads
Updated 29 Dec 2005

View License

This m-file is used in experiments involving several factors where it is necessary to investigate the joint effects (main and interactions) of the factors on a response variable and determine by a formal analysis of variance which factor effects are nonzero. An important special case is that where each of the two factors (k = 2) of interest has only two levels. Because each of the replicate of such an experimental design has exactly 2^2 (=4) experimental trials or runs. So, this results the simplest design in the 2^k series. It is a basic block used to create other more complicated experimental designs.

Inputs:
D - matrix data (=[X Y]) (last column must be the Y-dependent variable). (X-independent variable entry for the 2^2 factorial design).
alpha - significance-value (default = 0.05).

Outputs:
A complete analysis of variance is summarized on a table.
[NOTE: If none of the variables on the model has a significant effect, should appers this note and does not proceed with the analysis of variance.]

Cite As

Antonio Trujillo-Ortiz (2024). fd22 (https://www.mathworks.com/matlabcentral/fileexchange/9444-fd22), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

Text was improved.