- #1

- 323

- 56

- I
- Thread starter alan2
- Start date

- #1

- 323

- 56

- #2

tnich

Homework Helper

- 1,048

- 336

If you wanted to generate random numbers from whatever the null distribution is, you would first generate a uniform random number and then apply the inverse cdf of the null distribution to get a random value. That value would be a (one-sided) p-value.

- #3

Stephen Tashi

Science Advisor

- 7,583

- 1,472

That won't be true if the the test statistic has a discrete distribution.Help. I need an intuitive, non-mathematical explanation of why p-values from hypothesis testing are uniformly distributed.

That value would be a value ##t_0## of the test statistic. The p-value corresponding to ##t_0## would be (for a left tail test) the cdf evaluated at ##t_0## so you get back the original random number that you chose from a uniform distribution.If you wanted to generate random numbers from whatever the null distribution is, you would first generate a uniform random number and then apply the inverse cdf of the null distribution to get a random value. That value would be a (one-sided) p-value.

It looks like we're ok for a left tail test from a continuous distribution. Are things really going to work out for other types of acceptance/rejection regions?

- Replies
- 3

- Views
- 464

- Replies
- 5

- Views
- 4K

- Last Post

- Replies
- 1

- Views
- 2K

- Last Post

- Replies
- 2

- Views
- 6K

- Replies
- 3

- Views
- 29K

- Last Post

- Replies
- 1

- Views
- 1K

- Replies
- 3

- Views
- 233

- Replies
- 5

- Views
- 4K

- Last Post

- Replies
- 8

- Views
- 5K

- Replies
- 1

- Views
- 3K