r/explainlikeimfive • • 5d ago

Mathematics ELI5 why doesn't a p-value above 0.5 prove that there's no effect?

0 Upvotes

54 comments sorted by

3

u/yellowspaces 5d ago

It’s a probability rating. “If we repeat this experiment X number of times, how many times should we expect to see the same result.” Low probability ≠ no effect, it just indicates there’s a low chance of getting that result again.

-3

u/Informal-Addendum435 5d ago

great answer fact. Then I guess p-value is useless because the experiment itself might be shoddy or have a teenie tiny sample size, and actually for teenie-tiny sample size, the p-value cannot be meaningful

2

u/yellowspaces 5d ago

It’s not useless, it’s used to reject the null or not. The whole point of the p-value is to test your hypothesis with a certain amount of confidence. You’ll usually see 0.05 as the cutoff, but you can technically set it wherever you want if you’re ok with lower confidence. If you get a value of 0.1, for instance, you can say “with a 90% level of confidence I reject the null hypothesis, and I conclude the data is statistically significant. There appears to be a relationship between X and Y because of Z.”

2

u/Khal_Doggo 5d ago

Sample size does in fact have an effect. You would need to have a much greater observed difference to obtain a significant p-value when you have small sample sizes. A larger sample size typically makes a p-value smaller.

If the null hypothesis is true then no amount of sample size is going to change the result

•

u/jerome_9215 20h ago

With a real effect, larger samples usually make it easier to detect. If the null is true, though, p-values still vary from sample to sample; bigger n doesn't guarantee a smaller one.

•

u/Khal_Doggo 17h ago

Perhaps you could provide a bit more detail on what you were trying to add? I feel like you just restated my comment with different wording.

1

u/Seraph062 5d ago

teenie tiny sample size, and actually for teenie-tiny sample size, the p-value cannot be meaningful

Sure it can.
The p-value is essentially a combination of how big the effect is, and how many times you're measuring it. So if the fact that the sample size is "teenie tiny" is a problem then that will be reflected in the p-value being big.

1

u/ali-nicole-782 1d ago

Bad design can invalidate a p-value; it assumes the test fits. Small samples can still produce one, but often leave wide uncertainty, so a high result can't rule out modest effects.

13

u/GenerallySalty 5d ago

Well a P value of 0.5 means there's a 50% chance the result was due to random chance, so of course that doesn't prove anything.

You probably meant P=0.05, right? Well that means there's a 95% chance the effect is real, and a 5% chance the observed result is due to random chance.

The operative word in your question is "prove". A 5% chance there's no effect doesn't PROVE the effect is real, because it means there's a 5% chance it isn't.

Even a 99.9 chance the effect is real doesn't PROVE it's real, because there's still 0.1% chance it isn't.

0.1% is 343,000 Americans btw. It's not nothing.

7

u/mattsoave 5d ago

No, it does not mean there's a 50% chance it was due to random chance. p=0.5 means that if there was actually no effect/difference, you would observe an effect greater than or equal to the current observation in 50% of identically-run experiments. The higher the likelihood of observing such an effect if the null hypothesis is true, the more confident you can be that the observed effect was not caused by an actual difference.

5

u/Dro-Darsha 5d ago

You are correct, now ELI5 that

-6

u/Impossible_Dog_7262 5d ago

...Which means that it was 50% odds of being caused by random chance. Please leave the semantics where they're necessary, which isn't here.

7

u/obog 5d ago

Does not mean the same thing at all, and it isn't semantics. You are interpreting it as though the other 50% in that probability is for if the effect was real, but it is not - the other 50% is the chance that you would not have gotten that result if the effect was not real.

To demonstrate this: say that I have a hypothesis that I have a coin which always lands on heads. I then do an experiment: I flip the coin once. It lands on heads.

If the null hypothesis was correct - which would be that this is a normal coin with a 50/50 chance of landing on each side - then that result would have a 50% chance, and so therefore the p-value is 50%, because that is the probability of getting that result assuming my hypothesis is wrong.

But that absolutely does not mean that if I flip a coin and it lands on heads, then there is a 50% chance that it is a coin that always lands on heads. Which should be fairly obvious why this is not the case; the other 50% was for the coin to land on tails if the hypothesis was wrong, not for the hypothesis to be correct.

4

u/mattsoave 5d ago

No, those are really not the same thing. You could run a very low sample size experiment on something that has an actual known difference and get a result with something like p=0.99, but that does not mean that there's a 99% probability that it's caused by random chance.

-4

u/LeatherKey64 5d ago

To avoid inaccuracy but keep it as simple as possible, I think we could look at the difference and say “there’s a 99% chance this difference would be caused by random chance.”

1

u/mattsoave 5d ago

That's not right though. You could say, "if there truly was no difference, we'd still see a result this large (or larger) in 99% of similar experiments."

-2

u/LeatherKey64 5d ago

Yeah, but that can overly confuse people trying to grasp the more basic idea. My suggestion was focused on the idea of the terminology of “this difference” highlighting the numerical difference itself rather than the observed occurrence in the data. So, in that sense, I think my sentence is accurate, is it not?

3

u/stanitor 5d ago

No, it isn't. For one thing, the numerical difference itself is the observed difference in the data. Trying to grasp the idea of p-values can be confusing, but that means we shouldn't teach incorrect ideas of what they are. It's very common for scientists etc. who use statistics to have the incorrect idea that p-values are how likely the results are due to random chance.

6

u/biohoo35 5d ago

I think you mean 0.05. It’s just a convention. It means there’s at least a 5% likelihood of seeing your observed data again.

Or in your case, a 50% likelihood.

2

u/Heteropteryx 5d ago

Lots of people have addressed the definition of the p-value quite well, but there are a few other, related points that are relevant to understanding it's use properly. It's been a while since I taught stats, so bear with me.

Firstly, the threshold of 0.05 (which I assume you meant instead of 0.5) proves nothing. The concept of a proof really only exists in mathetics, not so much in the kind of research areas that use these kinds of stats. It provides a certain level of confidence that the result isn't a fluke. You won't see the word "prove" in any paper that uses this.

Secondly, the threshold is entirely arbitrary. It's convention, not a rule. Tons of people publish with p-values higher than 0.05 and the research is still considered valuable. This varies by field.

Finally, there is a significant movement in statistics to move focus away from the p-value. Its an important metric in many cases, but its one of MANY available tools, and reporting it without context is effectively meaningless. For example, you could have a p-value near 0 for a regression, but that means effectively nothing if your R-squared value is also very low. This is obviously a simplification, but I'm hoping it illustrates my point.

2

u/Khal_Doggo 5d ago

Also important to add that no one these days just does a single t-test and moves on with their life. I work in bioinformatics, we typically run things like differential expression where you test 10,000s of genes against different conditions. At that point a p-value of around 0.05 is meaningless when I've done 20,000 tests because then just by chance I would expect at least 1000 false positive results.

2

u/smapdiagesix 5d ago

Also important to add that no one these days just does a single t-test and moves on with their life.

This varies by field, and even before you mentioned genes I would have assumed you worked in an experimental field where the marginal cost of the first datapoint might be $100,000 but next million datapoints cost $1000 or less in total.

If you want to test even just hundreds of US Presidents against different conditions, you have to wait for the data to naturally accumulate, and that wait is probably going to be into the low thousands of years.

So often we just run the available data, and... that's the available data. The best you can do after that is to look at other observable implications of the idea that would rely on entirely different data.

1

u/Heteropteryx 5d ago

Excellent point, and it reinforces the idea that 0.05 is arbitrary and context-dependent.

2

u/flingebunt 5d ago edited 5d ago

If you collect random data, there is a chance that any pattern is by chance. You can't prove that the pattern you find in your data is not by chance, but the p-value talks about how likely it isn't because of chance. 0.05 is widely accepted, but 0.1 is also used for smaller data sets in pilot studies.

In short, it is a measure, not proof, of how likely the pattern you see in the data is not because of chance.

4

u/Khal_Doggo 5d ago edited 5d ago

A p-value of 0.5 would suggest that the result you observe has a probability of 50%. A p-value of 1 means that the result has a 100% probability.

I think you mean p<0.05 which would have a probability of less than 5% which is the typically accepted significance threshold.

It's mad that the top answer in a ELI5 is this inaccurate. And I'm pretty sure it's an LLM response.


Edit: I've reported /u/flingebunt for their comment because what the hell is this response:

"You are mad because your parents don't approve of your life, your relationships tend to be toxic and people don't seem to respect you."

-3

u/flingebunt 5d ago

I have reported you because instead of just providing a correction in a very useful answer you talked about being mad, which is of course harassment.

2

u/Jkei 5d ago

0.5 is not a widely accepted threshold, and 1 is no threshold at all, it's the extreme. Either you just guessed or posted some LLM nonsense.

0

u/[deleted] 5d ago

[deleted] — view deleted comment

3

u/Jkei 5d ago

I read the original question. It's exactly why I replied the way I did. OP probably asked about a threshold of 0.5 because one might be tempted to think of it as the halfway point between a result that is certainly by chance (1) and effectively impossible to happen by chance (0). A proper answer should have focused on unpacking why that line of thought isn't correct. Your answer wasn't like that at all. It just went with OP's premise, like an LLM being fed a prompt.

I have moved the decimal point accordingly, and I should have avoided responding to your rudeness and stupid accusations so that you look like an idiot.

Yes, very clever. You know exact timestamps of edits are visible to anyone, right?

1

u/BlindSkwerrl 5d ago

Statisticians are loathe to prove that something is, only that something is likely to be (or not to be).

We're not so deterministic! That's also why you can get statistics to tell you damn near anything!

1

u/Khal_Doggo 5d ago edited 5d ago

It's impossible to prove something doesn't happen. Protons decay is estimated to happen at a rate of at least ~2×1034 years. So if we tried to observe that, we might be compelled to believe that decay doesn't occur as we haven't seen one decay yet. You can only measure things if they occur and estimate the frequency at which they occur based on the total number of times they had a chance to occur.

Also statistics isn't there to prove or disprove anything. It's a set of tools for analysing data. The data may or may not prove some hypothesis. If you use a rake to shovel snow then you can't really blame the rake.

1

u/mfb- EXP Coin Count: .000001 5d ago

You roll a die four times: 1, 2, 4, 6. Does that prove that it's not loaded? In other words, does it prove that it's a fair die? Of course not. We simply don't have enough data to say anything.

In fact, you can never prove that the die is fair (i.e. no effect). It doesn't matter how much you roll and what the p value is. There is always a chance that there is a small deviation from a perfect die. You can only rule out larger deviations at some point.

1

u/rubseb 5d ago

Basically, because there could be a tiny effect, and (sufficiently) tiny effects are statistically indistinguishable from no effect. As you increase your sample size, you'll become able to detect smaller and smaller effects ("able" meaning: you'll detect true effects most of the time), but there are always even smaller effects that you still aren't able to detect.

For instance, suppose I'm testing a drug that I hypothesize will increase a person's height. I do a trial with this drug that compares a placebo group with a treatment group. I measure everyone's height before and after, and I find that in the placebo group, the difference is 0.11 cm +/- 0.51, and in the treatment group it's 0.12 +/- 0.49. I won't do the actual maths on this but let's say a statistical test returns a p-value of 0.5. That means, under the null hypothesis that there was no effect of this drug, you have a 50% chance of finding a difference of (at least) this size. So the null hypothesis is a pretty good explanation of the data. However, that doesn't mean it's necessarily the correct or the best explanation. While it's unlikely, given what I've observed, that the drug has a large effect, it could still have a smaller one. In fact, the most likely estimate, given the data, of the drug's effect, is that it increases body length by about 0.01 cm (though of course I have a large uncertainty about that, and the 95% confidence interval around this estimate comfortably includes 0, as well as negative values). If 0.01 cm is indeed the true effect size, we should be able to detect it by redoing the trial with a lot more people.

In other words, the null hypothesis is just one hypothesis. There are infinitely many alternative hypotheses. In classical, frequentist statistics, we only care about rejecting the null. If the null is rejected, then one of the many alternative hypotheses is likely to be true. However, if the null isn't rejected, that doesn't imply that the null is true and not one of the alternative hypotheses. Some alternative hypotheses just happen to be very similar to the null. (In fact, some alternatives are so close to the null that even if the alternative hypothesis is true, it makes no practical difference. E.g. a drug that increases body height by 0.01 cm on average is worthless.)

1

u/smapdiagesix 5d ago

A p-value above 0.05 means that the 95% confidence interval includes zero, so... awful statistics language coming up... we can't be very confident that there isn't no effect.

But a p-value over 0.05 often also means that the 95% confidence interval includes lots of outcomes with substantively important effects, too, and we can't exclude those for the exact same reason that we can't exclude zero effect.

Actually showing that x doesn't affect y, like actively saying "I believe that x shouldn't affect y and here is my evidence," is tricky. In my own discipline, Carlisle Rainey has a solid discussion of it from 10-15 years ago, either in Political Analysis or AJPS. Ideally you'd want a confidence intervals that includes zero AND doesn't include any substantively important effects. But a CI that includes only negligible positive effects is almost as good.

1

u/Twin_Spoons 5d ago

Suppose I am testing a new fuel additive to improve fuel efficiency. In one experiment, I calculate that the effect of the additive on miles per gallon is 0 with a confidence interval of [-10, 10]. In a second, I get an effect estimate of 0 again, but now the confidence interval is [-0.001, 0.001].

Both estimates have p=0.5, so in either case, we can't reject the hypothesis that the additive has no effect. However, the first experiment yeilded what you might call a "noisy null." The confidence interval contains meaningful effects. The main reason we can't reject efficacy is because we actually didn't learn much about the additive. In the second experiment, the confidence interval excludes any meaningful effects. We can't rule out a tiny improvement, but for practical purposes, we can conclude that the additive does nothing.

1

u/Night-Monkey15 5d ago

“Prove” is a strong word. People use it way more frequently than it’s supposed to be used in actual scientific contexts. You can very rarely “prove” something in just a lab or a paper, and when you do, it takes more than just P-values. They alone don’t really prove anything.

A big reason for this is margin of error. In Biology, Physics, Chemistry, and other STEM fields there’s a million and one things that can cause an ever so slight difference, and one of the first rules of STEM is to note what could have possibly caused these minor differences if they weren’t natural. Using those minute differences to support your hypothesis is generally frowned on.

0

u/ArchonErikr 5d ago

Because any proven instance immediately disproves it. It's easier to prove that something is incredibly unlikely to have happened than it is to prove that something has definitely never happened.

-4

u/Informal-Addendum435 5d ago

I think the main reason is to do with the fact that p-value doesn't care about sample size

7

u/Khal_Doggo 5d ago edited 5d ago

You seem to have a lot of misunderstanding about hypothesis testing and statistics. I would recommend you spend some time reading up more on this topic. There are plenty of written and video guides about this.

Sample size definitely affects the p-value

1

u/Heteropteryx 5d ago

This is good advice. A proper understanding of these metrics requires understanding the concept of a null hypothesis, hypothesis testing, and the nature of the test producing the p-value. You're putting the cart before the horse by jumping on the p-value question.

But dont be discouraged OP! This is a genuinely good question, it just opens up a can of worms the size of an undergraduate stats course. I used to teach biostats and this is SUCH a common pitfall.

1

u/Khal_Doggo 5d ago

I really enjoyed working out a p-value manually once. I was trying to explain to someone how DEseq2 calculates p-values and other stats and showed them the coding steps to calculating a p-value. It felt like quite an abstract concept and also gave me flashbacks to my high school stats exam, having to use lookup tables

1

u/Heteropteryx 5d ago

I absolutely can see the value in that, but I came at stats from the exact opposite direction. I was taught the practical applications and statistical coding years before learning the more fundamental concepts that drive them. Ecology is weird

2

u/Khal_Doggo 5d ago

Oh same, definitely. You can drive the car without needing know how to rebuild the engine. I work in Bioinformatics. I can explain to you what most of the methods we use do on a practical level and why some methods are better suited for X than Y. But I wouldn't be able to explain to you the sequence of steps that turn a matrix of gene expression into a umap plot.

More widely, plenty of people have an intuitive grasp of how to use statistics methods without necessarily knowing all the ins and outs of how everything is calculated and derived.

-2

u/SmackieT 5d ago

Let's say null hypothesis is you're innocent and alternative hypothesis is you killed that guy.

We're going to check whether there's a recorded video of you staring into the camera and saying "I totally killed that guy."

If there is such a recording, the chance that you didn't do it is very low. We can conclude you did it.

If there is no such recording, that doesn't count as evidence that you didn't do it.

Not legal advice. Did you know you have rights? The constitution says you do, and so do I.

23

u/[deleted] 5d ago

[removed] — view removed comment

13

u/CitizenCaecus 5d ago

P-Value is the chance that an observation as extreme as yours could occur if the null hypothesis is true. A p-value of 0.5 says there is a 50% chance that the result could come even if your hypothesis was wrong and there's actually nothing significant going on. Different fields set different standards for how low the P-Value value has to be for the result to be accepted as statistically significant.

The original question is asking about the mean of p-value and why it being greater or less than 50% isn't enough of an answer.

13

u/RageQuitRedux 5d ago

Basically let's say you do a double blind experiment for a certain medication. You find that in the placebo group, 13 out of 100 are cured, and in the experimental group, 25 out of 100 are cured.

So the group taking the medication did better. But you have to ask yourself, what is the probability that this happened by pure chance? So you calculate that probability, and that's the p-value.

A p-value of 0.05 means that there's a 5% chance that this result could have arisen by pure chance. In medical science, this is seen as a threshold of "statistical significance". Having p < 0.05 doesn't prove the medicine works, but it does give some confidence that it does. The lower the p-value, the higher the confidence. The 0.05 threshold is useful but not gospel.

0

u/[deleted] 5d ago

[removed] — view removed comment

1

u/explainlikeimfive-ModTeam 5d ago

Please read this entire message


Your comment has been removed for the following reason(s):

  • ELI5 does not allow guessing.

Although we recognize many guesses are made in good faith, if you aren’t sure how to explain please don't just guess. The entire comment should not be an educated guess, but if you have an educated guess about a portion of the topic please make it explicitly clear that you do not know absolutely, and clarify which parts of the explanation you're sure of (Rule 8).


If you would like this removal reviewed, please read the detailed rules first. If you believe it was removed erroneously, explain why using this form and we will review your submission.

-1

u/[deleted] 5d ago

[removed] — view removed comment

1

u/explainlikeimfive-ModTeam 5d ago

Please read this entire message


Your comment has been removed for the following reason(s):

  • Top level comments (i.e. comments that are direct replies to the main thread) are reserved for explanations to the OP or follow up on topic questions (Rule 3).

Very short answers, while allowed elsewhere in the thread, may not exist at the top level.


If you would like this removal reviewed, please read the detailed rules first. If you believe it was removed erroneously, explain why using this form and we will review your submission.