Click or drag to resize

TwoWayRanovaFillInSubjectMatrix Method

Fills in a matrix with the values of subject dummy variables used as a part of the regression matrix for the regression that is used to compute the RANOVA. This subject matrix will have ones on the main diagonal up to, but not including the last row. The last row will be all -1. All other elements are zero. This corresponds to the following encoding of the subject dummy variables: If there are n subjects and the ith value of the dummy variable is denoted by Si, then Si = 1, if person i and i is strictly less than n Si = -1, if person n Si = 0, otherwise.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
protected void FillInSubjectMatrix(
	DoubleMatrix subjectMatrix
)

Parameters

subjectMatrix  DoubleMatrix
Subject matrix.
See Also