Search
Categories
Calendar
March 2007
M T W T F S S
« Jan   May »
 1234
567891011
12131415161718
19202122232425
262728293031  

Linear Regression by Least Square Fitting

Calculates the Linear Regression of points by Least Square Fitting method [Vertical Offsets] and respectively draws the plots.

Input: X and Y co-ordinates of points
Output: Slope of the Fitting Line, Equation of Least Square Fitting Line

Least Square Fitting

Input



Output

Slope, tanø = 0.9999
Equation of Least Square Fitting Line is [y = mx + c]: y = 0.9999x – 0.0993

Comments are closed.