Jaspal:
1) I do share Jeff Wooldridge 's advice about including -sq_age- in my previous example (that was intended as a drill and, as such, surely poorly thought-through);
2) as Jeff stated, -linktest- and friends are tests for the functional form of the dependent variable (actually, I've read oftentimes that it is a misspecification test or a mispecification test of the functional form/specification of the regressand);
3) there are different ways the -linktest- can be carried out (which one is best, I do not know):
a) the augmented regression reported by Jeff in his last reply;
b) the auxiliary regression with the regressand regressed onto fitted, sq_fitted. cu_fitted, (and sometimes) qu_fitted (see https://www.stata.com/bookstore/heal...s-using-stata/ pages 60-63.
Sometimes clustered-robust standard errors are invoked, sometimes not (if the original regression used non-default standard errors).
Sticking with Jaspal's last question, if heteroskedasticity was detected, -robust- or -cluster()- standard errors (both options do the same job under -xtreg-) are mandatory (regardless their impact on coefficients satistical significance, which is anyway biased if default standard errors are used despite evidence of heteroskedasticity and/or autocorrelation).
1) I do share Jeff Wooldridge 's advice about including -sq_age- in my previous example (that was intended as a drill and, as such, surely poorly thought-through);
2) as Jeff stated, -linktest- and friends are tests for the functional form of the dependent variable (actually, I've read oftentimes that it is a misspecification test or a mispecification test of the functional form/specification of the regressand);
3) there are different ways the -linktest- can be carried out (which one is best, I do not know):
a) the augmented regression reported by Jeff in his last reply;
b) the auxiliary regression with the regressand regressed onto fitted, sq_fitted. cu_fitted, (and sometimes) qu_fitted (see https://www.stata.com/bookstore/heal...s-using-stata/ pages 60-63.
Sometimes clustered-robust standard errors are invoked, sometimes not (if the original regression used non-default standard errors).
Sticking with Jaspal's last question, if heteroskedasticity was detected, -robust- or -cluster()- standard errors (both options do the same job under -xtreg-) are mandatory (regardless their impact on coefficients satistical significance, which is anyway biased if default standard errors are used despite evidence of heteroskedasticity and/or autocorrelation).
Comment