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. Each of the three factors (k = 3) of interest has only two levels. Because each of the replicate of such an experimental design has exactly 2^3 (=8) experimental trials or runs. As in the 2^2 experimental design, 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^3 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 (2026). fd23 (https://uk.mathworks.com/matlabcentral/fileexchange/9448-fd23), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | It was added an appropriate format to cite this file. |
