02 Sheet Best Fit Line
02 Sheet Best Fit Line
Email: [email protected]
Tel: 098-767-3030
What is Spreadsheet?
A spreadsheet is a table of
values or data arranged in rows
and columns.
Spreadsheet Design
With good design you can answer these easily. A poor or bad
design makes it hard or impossible.
What's wrong?
Can you answer the analysis questions above for this sheet?
Bad Design: Example #2
What's wrong?
Solution
üUse formatting for F8 that matches the source
data
vOriginal data: Use copies or links to original data for actions that
may be hard to undo, such as sorting and subtotals. This preserves
the original data for other uses later
vFuture: Think ahead to the future uses of your sheet. Anticipate the
needs of other people who may use your sheet without knowing all
that you know about it
Best-fit Line
∑x i ∑y i
X = i =1
Y = i =1
n n
Equation of Best-fit Line
Step 2: Calculate the slope of the line using formula:
n
∑( x i
−X )( y −Y )
i
m= i =1
n
2
∑( x i
−X )
i =1
x 2 3 5 7 9
y 4 5 7 10 15
16
best-fit line. 6
2
1 2 3 4 5 6 7 8 9 10