We have,
n=20xˉ=n∑x=20186.2=9.31yˉ=n∑y=2021.9=1.095
Let,
Sxy=∑(x−xˉ)(y−yˉ)=106.2Sxx=∑(x−xˉ)2=215.4Syy=∑(y−yˉ)2=86.9
The values of the Ordinary Least Squares Estimates are given by,
β^=SxxSxy=215.4106.2=0.4930
and,
α^=yˉ−(xˉ×β^)=1.095−(9.31×0.4930)=1.095−4.5902=−3.4952
Therefore, the values of α^=−3.4952 and β^=0.4930 both rounded off to 4 decimal places.
The variance of these estimates are derived using the formulas below.
var(β^)=Sxxs2 where s2 is the sample variance. We use the sample variance s2since the population variance is unknown. s2 given by,
s2=n−2Syy−β^×Sxy=20−286.9−(0.4930×106.2)=1834.5395=1.9189(4dp)
Therefore,
var(β^)=215.41.9189=0.00891(5dp)
and
var(α^)=(n1+Sxxxˉ2)×s2=(201+215.49.312)×1.9189=0.8681 (4dp)
Comments
It is best and clear response thank you but from where we get a sample variance
thanks
thank you so much for your support.
Leave a comment