Question: A simulation experiment is carried out to see whether there is any relationship between the first and second digits of a random variable generated from a Uniform[0,1] distribution. A total of 1000 uniforms were generated; if the first and second digits were in 0,1,2,3,4 they were recorded as a 0, and as a 1 otherwise. The cross-classified data are given in the following table.
