This function computes the AS test using DGM implementation in the package RationalExp
AStest(lamb, YY, XX, tuningParam = NULL)
the result of the test at level 5
the point under the form lambda q to be tested.
the observations of the outcome variable.
the observations of the regressor X'q variable.
the list of tuning parameters. For the details see the function "test" in the package RationalExp.