The right-hand side graph shows the beta estimators from the
sample of points in the left-hand side as a function of the sample size.
๐งช Step-by-Step
Try the following steps:
Click the โถ Animate button :
Left: watch how is filled with red dots while the red line gest closer to the white line.
Right: similarly, watch how the estimated beta in the sample gets closer to the true beta.
Slider: Adjust the sample size to update both plots.
๐ก Learning Goals
Differentiate between sample-based inference and population parameters.
Get a sense on how the law of large numbers work.
๐ Chalenge
Why is the estimated beta not equal to the true beta
when we sample the whole population?
Solution:
In theory: there is not much differnece between the
DGP and the population parameters, think of the DGP as the engine of a car and
the population parameters as the specifications of this engine like rpm, horsepower, etc. and
we usually refer to them indistinctinly.
In practice: you can think that
the whole population data is a sample drawn by nature following its DGP.
Because of this, the estimated beta when we take the whole population is not equal
as the true beta.