I have some data which I theorise to be uniformly distibuted in the set:
i.e. a 5% chance of choosing any of the non-zero integers in [-10,10]. If I have a given, know, set of observations from this random variable, let's say I have:
And I am given that each observation is independent, how do I calculate the p-value that the given set of data was observed from the given distribution?