Durbin-Wu-Hausman test on endogeneity of variables
A significant test statistic points to endogeneity
- Parameters:
- reg
regression object output instance from a regression model
- Returns:
- dwh
tuple with value of F-statistic in augmented regression and associated p-value