Let x= price in RS, y= demand in kg
Sum=x12151825221830140y65605041405645357xy7809009001025880100813506843x21442253246254843249003026y2422536002500168116003136202518767
mean:xˉ=n∑xi=7140=20,yˉ=n∑yi=7357=51
SSxx=i=1∑nxi2−n1(i=1∑nxi)2==3026−7(140)2=226
SSyy=i=1∑nyi2−n1(i=1∑nyi)2==18767−7(357)2=560
SSxy=i=1∑nxiyi−n1(i=1∑nxi)(i=1∑nyi)==6843−7140(357)=−297 1) Find the equaition line y on x
B=SSxxSSxy=226−297≈−1.314159
A=yˉ−B⋅xˉ=51−(226−297)(20)≈77.283186
y=77.283186−1.314159x 2) Find the equaition line x on y
M=SSyySSxy=560−297≈−0.530357
N=xˉ−M⋅yˉ=20−(560−297)(51)≈47.048214
x=47.048214−0.530357y
3) Find the demand when price is 35
y=77.283186−1.314159(35)=31.3 (kg)
4) Find the price when demand is 25.
x=47.048214−0.530357(25)=33.79 (RS)
Comments