Click or drag to resize

InputVariableCorrelatorComputeRstar Method

Computes the transformation of the score matrix R which has the desired correlations.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
protected virtual DoubleMatrix ComputeRstar(
	int numSamples,
	int numVariables,
	DoubleSymmetricMatrix desiredCorrelationMatrix
)

Parameters

numSamples  Int32
The number of samples.
numVariables  Int32
The number of variables in each sample.
desiredCorrelationMatrix  DoubleSymmetricMatrix
The desired correlation matrix.

Return Value

DoubleMatrix
Transformation of R having approximately the desired correlation matrix.
See Also