A test of the goodness of fit of a binary choice model is derived using the
conditional moment testing approach. The test statistic may be calculated
as the explained sum of squares or N.R-2 in a simple artificial regression.
The test statistic has reasonably good small sample properties since it is
not based on the outer product gradient (OPG) form.