This question already has an answer here:

I generated some random data using rnorm() in R made a matrix X of 10,000 rows and 1,000 rows. The I generated 1000 zeros and ones using runif(). I stored the rows corresponding to 0 in Y in one matrix, and the values corresponding to 1 in Y in another matrix. Then I ran two-sided t-test on each row of these two matrices. I got the following p-values histogram. Why is that? What does this histogram tell me about the data?

enter image description here


marked as duplicate by Christoph Hanck, amoeba says Reinstate Monica, Reinstate Monica, Silverfish, Greenparker May 23 '16 at 17:12

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.