Regression line

Computes the line that best fits the given data.

Syntax

regression_line(Paired_data)
regression_line(Statistics_data, Statistics_data)

Description

Given a paired data X={(xi,yi)}i=1...n, finds a line of the form y=mx+b that best fits it.

statistics.regression_line1.calc.png

Given two sample data X={x1,...,xn} and Y={y1,...,yn}, finds a line of the form y=mx+b that best fits it.

statistics.regression_line2.calc.png