Click or drag to resize

UncertainMeasurementSampleFitToLine Method

Fits the data to a line.

Namespace:  Meta.Numerics.Statistics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public UncertainMeasurementFitResult FitToLine()

Return Value

Type: UncertainMeasurementFitResult
A fit result containing the best-fit intercept and slope parameters and a χ2 test of the quality of the fit.
Exceptions
ExceptionCondition
InsufficientDataExceptionThere are fewer than two data points.
See Also