FactorAnalysis Constructor

Definition

Namespace: Extreme.Statistics.Multivariate
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

FactorAnalysis(Matrix<Double>) Constructs a new factor analysis object.
FactorAnalysis(Vector<Double>[]) Constructs a new factor analysis object.
FactorAnalysis(IDataFrame, String) Constructs a new FactorAnalysis.
FactorAnalysis(IDataFrame, String[]) Constructs a new FactorAnalysis.
FactorAnalysis(SymmetricMatrix<Double>, FactorMethod) Constructs a new factor analysis object.

FactorAnalysis(Matrix<Double>)

Constructs a new factor analysis object.
C#
public FactorAnalysis(
	Matrix<double> data
)

Parameters

data  Matrix<Double>
A real Matrix<T> whose rows contain the observations for the analysis.

Exceptions

ArgumentNullExceptiondata is null.

FactorAnalysis(Vector<Double>[])

Constructs a new factor analysis object.
C#
public FactorAnalysis(
	Vector<double>[] variables
)

Parameters

variables  Vector<Double>[]
An array of Vector<T> objects that contain the variables.

Exceptions

ArgumentNullExceptionvariables is null.

FactorAnalysis(IDataFrame, String)

Constructs a new FactorAnalysis.
C#
public FactorAnalysis(
	IDataFrame dataFrame,
	string formula
)

Parameters

dataFrame  IDataFrame
A IDataFrame containing the data for the analysis.
formula  String
A formula that specifies the features in the model.

Exceptions

ArgumentNullExceptiondataFrame is null.

-or-

formula is null.

FormatExceptionThe formula is not in the correct format.

FactorAnalysis(IDataFrame, String[])

Constructs a new FactorAnalysis.
C#
public FactorAnalysis(
	IDataFrame dataFrame,
	string[] variableNames = null
)

Parameters

dataFrame  IDataFrame
A IDataFrame containing the data for the analysis.
variableNames  String[]  (Optional)
An array containing the names of the variables.

Exceptions

ArgumentNullExceptiondataFrame is null.

-or-

variableNames is null.

FactorAnalysis(SymmetricMatrix<Double>, FactorMethod)

Constructs a new factor analysis object.
C#
public FactorAnalysis(
	SymmetricMatrix<double> data,
	FactorMethod method
)

Parameters

data  SymmetricMatrix<Double>
A real Matrix<T> whose rows contain the observations for the analysis.
method  FactorMethod
Indicates whether to treat data as a correlation or a covariance matrix.

Exceptions

ArgumentNullExceptiondata is null.

See Also