Click or drag to resize
BivariateSampleLinearLogisticRegression Method
Computes the best-fit linear logistic regression from the data.

Namespace:  Meta.Numerics.Statistics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 3.1.0.0 (3.1.0.0)
Syntax
public FitResult LinearLogisticRegression()

Return Value

Type: FitResult
The fit result.
Exceptions
ExceptionCondition
InsufficientDataExceptionThere are fewer than three data points.
InvalidOperationExceptionThere is a y-value other than 0 or 1.
Remarks

Linear logistic regression is a way to fit binary outcome data to a linear model.

The method assumes that binary outcomes are encoded as 0 and 1. If any y-values other than 0 and 1 are encountered, it throws an InvalidOperationException.

The fit result is two-dimensional. The first parameter is a, the second b.

See Also