Factor Analysis Constructor
Definition
Namespace: Numerics.NET.Statistics.Multivariate
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Factor | Constructs a new factor analysis object. |
Factor | Constructs a new factor analysis object. |
Factor | Constructs a new FactorAnalysis. |
Factor | Constructs a new FactorAnalysis. |
Factor | Constructs a new factor analysis object. |
FactorAnalysis(Matrix<Double>)
Constructs a new factor analysis object.
public FactorAnalysis(
Matrix<double> data
)
Parameters
Exceptions
Argument | data is null. |
FactorAnalysis(Vector<Double>[])
Constructs a new factor analysis object.
public FactorAnalysis(
Vector<double>[] variables
)
Parameters
Exceptions
Argument | variables is null. |
FactorAnalysis(IDataFrame, String)
Constructs a new FactorAnalysis.
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
Argument | dataFrame is null. -or- formula is null. |
Format | The formula is not in the correct format. |
FactorAnalysis(IDataFrame, String[])
Constructs a new FactorAnalysis.
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
Argument | dataFrame is null. -or- variableNames is null. |
FactorAnalysis(SymmetricMatrix<Double>, FactorMethod)
Constructs a new factor analysis object.
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
Argument | data is null. |