Statistics.FullFactDesign Method

Overload List

#SignatureDescription
1void FullFactDesign(TVec UniqueLevels, TMtx aResult)Performs Mixed-Level Full Factorial Design.
2void FullFactDesign(Int32 n, TMtx aResult, TMtxFloatPrecision fp, TVec MulVec)Creates the factors for full factorial design.

Overload 1: void FullFactDesign(TVec UniqueLevels, TMtx aResult)

Performs Mixed-Level Full Factorial Design.

#NameTypeDescription
1UniqueLevelsTVecsource TVec
2aResultTMtxsource TMtx

Result: stored in self (calling object)

Remarks:

The UniqueLevels vector stores the number of unique settings for each column. UniqueLevels values must be integers, greater than 1. The results (factors) are stored in Result matrix. Size and Complex properties of Result matrix are adjusted automatically.

Examples
using Dew.Math;
using Dew.Stat.Units;
namespace Dew.Examples
{
    private void Example()
    {
        Vector tmpVec = new Vector(0);
        Matrix m = new Matrix(0,0);
        tmpVec.SetIt(false, new double[] {2,3,2});
        Statistics.FullFactDesign(tmpVec,m);
    }
}

Overload 2: void FullFactDesign(Int32 n, TMtx aResult, TMtxFloatPrecision fp, TVec MulVec)

Creates the factors for full factorial design.

#NameTypeDescription
1nInt32
2aResultTMtxsource TMtx
3fpTMtxFloatPrecision
4MulVecTVecsource TVec

Result: stored in self (calling object)

Remarks:

Performs Two-Level Full Factorial design. The results (factors) are stored in Result matrix. Parameter n defines number of Result matrix columns. Optional parameter MulVec (default value nil) is used only by the Wilcoxon Signed Rank test procedure. Size and Complex properties of Result matrix are adjusted automatically.

Examples
Matrix m = new Matrix(0,0);
Statistics.FullFactDesign(2,m,null);