glmdiagnostic.do: Contains the program glmdiag. "Doing" glmdiagnostic does not run any diagnostics. Instead, it loads glmdiag so that it can be called by STATA. glmdiag performs the modified Park test (for the GLM family) and the Pearson correlation test, the Pregibon link test, and the modified Hosmer and Lemeshow test (for the GLM link)