Click or drag to resize

SimpleRegressionFitThroughOrigin(IEnumerableTupleDouble, Double) Method

Least-Squares fitting the points (x,y) to a line y : x -> b*x, returning its best fitting parameter b, where the intercept is zero and b the slope.

Namespace: Altaxo.Calc.LinearRegression
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double FitThroughOrigin(
	IEnumerable<Tuple<double, double>> samples
)

Parameters

samples  IEnumerableTupleDouble, Double
Predictor-Response samples as tuples

Return Value

Double

[Missing <returns> documentation for "M:Altaxo.Calc.LinearRegression.SimpleRegression.FitThroughOrigin(System.Collections.Generic.IEnumerable{System.Tuple{System.Double,System.Double}})"]

See Also