Abstract
In this article we extend the martingale difference test of Kuan and Lee (2004) to tests of conditional moment restrictions involving unknown parameters. The proposed test is asymptotically pivotal, easy to implement and capable of diagnostic checking misspecifications of quantile regressions. The simulation results show that the proposed test performs quite well in finite samples.