A simulation approach to the problem of computing Cox's statistic for testing nonnested models