Factor Analysis Constructor
Definition
Namespace: Extreme.Statistics.Multivariate
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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
ArgumentNullException | data is null. |
FactorAnalysis(Vector<Double>[])
Constructs a new factor analysis object.
public FactorAnalysis(
Vector<double>[] variables
)
Parameters
Exceptions
ArgumentNullException | 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
ArgumentNullException | dataFrame is null.
-or- formula is null. |
FormatException | 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
ArgumentNullException | 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
ArgumentNullException | data is null. |