Skip to main content

All Questions

Tagged with
5 votes
1 answer
85 views

Why am I observing non-uniformly distributed (negatively skewed) p-values for two-sample tests of mixture distributions when the null is true?

I am interested in generating Gaussian mixture distributions as the null distributions for a series of two-sample test simulations. It is a well established fact that p-values follow a uniform ...
computationalstatistician's user avatar
-1 votes
1 answer
326 views

Kolmogorov-Smirnov two-sample test p-value evaluation

I'm using python's scpipy implementation of the Kolmogorov-Smirnov two-sample test (ks_2samp). Q1: Why are my p-values in the examples below so low, specifically on the first example? Q2: Can I ...
beerzy's user avatar
  • 33
0 votes
0 answers
91 views

p-value histogram of two-sample poisson tests on simulated data

I have two vectors (a and b), which are each a sample of n = 10000 from the poisson distribution with lambda = 10. ...
GenomeGnome's user avatar
0 votes
1 answer
8k views

How a two-tailed p-value is calculated for a two-sample t-test

I'm reading Discovering Knowledge in Data by Daniel T. Larose. In the two-sample t-test for difference in means section, there is the following example: tdata = x-bar(1) - (xbar2)/ sqrt(s^2(1)/n(1)+ ...
KetDog's user avatar
  • 175