View Full Version : Least Square Method (linear) - Freeboards and drafts


Transom6.3
09-22-2009, 09:54 AM
Hi Guys,

I have seen the least square method (linear) in a number of inclining test reports when used to get the inclined waterline from a number of freeboards measurements and drafts.

I have no idea what the formula/process is, does anybody know?

I realise there will never be a perfect straight line through all the freeboard measurements so this method must average the differences out.

Thanks for help.

Ad Hoc
09-22-2009, 10:00 AM
have you looked at the ISO code?

Raggi_Thor
09-22-2009, 05:24 PM
It's a lot of work to do this math manually.
Say you have measured some heights (y1, y2, y3 etc) at some given locations (x1, x2, x3 etc), then find a straight line Y = ax + b (calculate the constants a and b) so that the sum of the squared differences between all your measurments and the calculated Y is minimized.
Excel or OpenOffice does it for you.

Transom6.3
09-23-2009, 05:30 AM
Thanks guys,
I'll look into it and try and set up an excel spreadsheet.
Does anybody have an excel template.

Raggi_Thor
09-23-2009, 05:39 AM
http://office.microsoft.com/assistance/hfws.aspx?AssetID=HP052091551033&CTT=3&Origin=HP052091081033&Client=1&app=OF&ver=11

Raggi_Thor
09-23-2009, 06:01 AM
I think the easiest way to do it is to make a chart, see:
http://www.chem.purdue.edu/gchelp/tools/graphing.html

Transom6.3
09-24-2009, 07:08 AM
Thanks alot Raggi,
That's a big help.

View Full Version : Least Square Method (linear) - Freeboards and drafts