Click or drag to resize

ILogisticRegressionCalcCalculateParameters Method

Calculate the parameters for the logistic model.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
DoubleVector CalculateParameters(
	DoubleMatrix X,
	DoubleVector observations


X  DoubleMatrix
Matrix of subject data. Rows correspond to subjects.
observations  DoubleVector
Vector of zeros and ones containing the observed values of the outcomes. A zero entry indicates a negative outcome and a one indicates a positive outcome.

Return Value

The calculated model parameters.
See Also