Model I and Model II Regressions
Graphs of the Model I and Model II Regressions
Here are the figures for my MATLAB® shell-script routines for fitting a line to the example dataset (see the file: data.txt) using the various linear regression models:
-
Model I
RegressionsM-file Single Line
PlotsCombined
PlotsY-on-X Lsqfity.m JPG Postscript JPG Postscript X-on-Y Lsqfitx.m JPG Postscript JPG Postscript Weighted Y-on-X Lsqfityw.m JPG Postscript JPG Postscript Weighted Y-on-X Lsqfityz.m JPG Postscript JPG Postscript Model II
RegressionsM-file Single Line
PlotsCombined
PlotsMajor axis Lsqfitma.m JPG Postscript JPG Postscript Geometric mean Lsqfitgm.m JPG Postscript JPG Postscript Least-squares-bisector Lsqbisec.m JPG Postscript JPG Postscript Least-squares-cubic Lsqcubic.m JPG Postscript JPG Postscript
Error processing SSI file