Gets the number of predictors.

Namespace:  CenterSpace.NMath.Stats
Assembly:  NMathStats (in NMathStats.dll) Version: 3.4.0.0

Syntax

C#
public int NumberOfPredictors { get; }
Visual Basic (Declaration)
Public ReadOnly Property NumberOfPredictors As Integer
Visual C++
public:
property int NumberOfPredictors {
	int get ();
}

Remarks

If the model contains an intercept parameter, then the number of predictors is equal to the number of parameters minus one. If the model does not contain an intercept parameter, then the number of predictors is equal to the number of parameters.

See Also