Solution
Moving average
7490=70
Least square method
n=7,∑ x=152,∑ y=490,∑ xy=12000,∑ X2=3994
b=n.∑x2−(∑x)2n.∑xy−∑x.∑y
a=n∑y − b.∑x
b=48549520=1.96
a=7192.08=27.44
Y=a+bx=27.44+1.96x
Example assume 2021 population=50mconsumption will beY=27.44+(1.96×50=125.44
Comments