Professional Documents
Culture Documents
x 15 20 25 30 35
Solution
X ̅̅̅
x=(x-𝑥) x=(x-30)2
15 100 225
20 25 100
25 0 25
30 25 0
35 100 25
X=125
Equation
1. ∑Y=Na+b∑x
2.
∑XY=a∑x+b∑x2
1. Calculations of the linear trend based on the method least
squares. The straight line trend is calculated Y=a+bx
Since, we compute it will be written Yc=a+bx.
1.
Years 2014 2015 2016 2017 2018 2019 2020
Production 20 35 28 56 42 70 63
Solution
∑Y=Na+b∑x ∑XY=a∑x+b∑x2
315=7(a)+b(0) 210=a(0)+b(28)
315=7a 210=b(28)
a=315/7 b=210/28
a=45. b=7.50
2014 2015 2016 2017
Yc=a+bx. Yc=a+bx. Yc=a+bx. Yc=a+bx.
=45+7.50(-3) =45+7.50(-2) =45+7.50(-1) =45+7.50(0)
=22.50 =30 =37.50 =45.00
2018 2019 2020
Yc=a+bx. Yc=a+bx. Yc=a+bx.
=45+7.50(1) =45+7.50(2) =45+7.50(3)
=52.50 =60.00 =67.50
2.
Year 2013 2014 2015 2016 2017 2018 2019 2020
Production 24 16 32 40 56 48 40 72
Solution
Year Production X=year- X2 XY Yc
mid year
2013 24 -3.5 12.25 -84 19.33
2014 16 -2.5 6.25 -40 25.52
2015 32 -1.5 2.25 -48 31.71
2016 40 -0.5 0.25 -20 37.90
2017 56 0.5 0.25 28 44.09
2018 48 1.5 2.25 72 50.29
2019 40 2.5 6.25 100 56.48
2020 72 2.5 12.25 252 62.67
N=8 ∑Y=328 ∑x=0 ∑x2=42 ∑xy=260 ∑Yc=328
Solution
∑Y=Na+b∑x ∑XY=a∑x+b∑x2
∑Y=Na 260=b(42)
328=8a b=260/42
a=328/8 b=6.19
a=41
2013 2014 2015 2016
Yc=a+bx. Yc=a+bx. Yc=a+bx. Yc=a+bx.
=41+6.19(-3.5) =41+6.19(-2.5) =41+6.19(-1.5) =41+6.19(-0.5)
=19.33 =25.52 =31.71 37.90
2017 2018 2019 2020
Yc=a+bx. Yc=a+bx. Yc=a+bx. Yc=a+bx.
=41+6.19(0.5) =41+6.19(1.5) =41+6.19(2.5) =41+6.19(3.5)
=44.09 =50.29 =56.48 =62.67