The R code in the post below calculates the bias of LS estimator and the bias of IV estimator under endogeneity, with their density plots:
R Code: Bias of least-squares estimator and IV estimator under endogeneity
Updated: Mar 21, 2023
Updated: Mar 21, 2023
The R code in the post below calculates the bias of LS estimator and the bias of IV estimator under endogeneity, with their density plots:
Comments