Anova Model.Get Factor Method
Definition
Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Get | Gets the factor corresponding to the variable with the specified index. |
Get | Gets the strongly typed factor corresponding to the variable at the specified position. |
GetFactor(Int32)
Gets the factor corresponding to the variable with the specified index.
public IIndex GetFactor(
int index
)
Parameters
- index Int32
- Zero-based index of the variable.
Return Value
IIndexAn index.
Remarks
A factor is a set of values that a categorical variable can assume. This method returns the IIndex associated with the indexth variable in the ANOVA model.
GetFactor<T>(Int32)
Gets the strongly typed factor corresponding to the variable
at the specified position.
public Index<T> GetFactor<T>(
int index
)
Parameters
- index Int32
- Zero-based index of the variable.
Type Parameters
- T
- The type of the keys of the index.
Return Value
Index<T>An index.
Remarks
A factor is a set of values that a categorical variable can assume. This method returns the Index<T> associated with the indexth variable in the ANOVA model.