Answer the question
In order to leave comments, you need to log in
How to test the hypothesis that the sample corresponds to a given distribution law using the Chi-square test?
The Python programming language
I generate a sample like this, using the Numpy library, the approximate size is 1 million.
uniformSample = UniformSample(1000000)
uniformSample.generate()
def generate(self, a=0.0, b=1.0):
self.left = a
self.right = b
self.sample = [np.random.uniform(low=self.left, high=self.right) for _ in range(self.size)]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question