Regression line

Computes the line that best fits the given data.

regression_line(Paired_data)

Given a paired data X equals left curly bracket left parenthesis x subscript i comma y subscript i right parenthesis right curly bracket subscript i equals 1... n end subscript, finds a line of the form y equals m x plus b that best fits it.

regression_line(Statistics_data, Statistics_data)

Given two sample data X equals left curly bracket x subscript 1 comma... comma x subscript n right curly bracket and Y equals left curly bracket y subscript 1 comma... comma y subscript n right curly bracket, finds a line of the form y equals m x plus b that best fits it.