Compute the coefficients of a polynomial that fits your data with a least square fit. This minimizes the sum of the error squared and seems most intuitive.

Computation and Plots avaiable for 2, 3, 4 independent variables.

Compute least square fit for two dimensions.

lsfit_form.html

With plot

lsfit_canvas.html

Compute least square fit for three dimensions.

lsfit3_form.html

coming soon, also plot data vs fit

Compute least square fit for four dimensions.

lsfit4_form.html

Technical definition of algorithm:

Example output from lsfit_form.html