p-value in the `summary` has a cap of 0.5
See original GitHub issueHi, thanks for making this nice package!
Small question regarding the p-value from summary
: From the doc here , it seems the range of p-value is from 0 to 1.
But when trying to use the package and checking the p-value from summary, it seems the cap of p-value is 0.5?
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
0.05 or 0.005? P-value Wars Continue
A p-value of 0.005 means there is a 0.5% chance – or a change from 1/20 to 1/200.
Read more >Using P-values to make conclusions (article) - Khan Academy
Sure! The p-value is the probability of a statistic at least as deviant as ours occurring under the assumption that the null hypothesis...
Read more >5.4 - p-values | STAT 200
The p-value is the proportion of samples on the randomization distribution that are more extreme than our observed sample in the direction of...
Read more >P-Value and Statistical Significance - Simply Psychology
A p-value less than 0.05 (typically ≤ 0.05) is statistically significant. It indicates strong evidence against the null hypothesis, as there is less...
Read more >P-value - Wikipedia
A very small p-value means that such an extreme observed outcome would be very unlikely under the null hypothesis. Reporting p-values of statistical...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The
p-value
has the same definition as in statistics. It represents the likelihood of obtaining the observed results supposing the null-hypothesis is true, in other words, ifp=0.5
it means there’s a 50% chance of observing the post-intervention period when there’s actually no impact. As the value is high then we don’t consider that there was a meaningful impact from the intervention.But if you run the same test and find
p=0
, that means that the chance of observing the results by random chance without the intervention is effectively zero. In this case, as the response is considered too far away from what is normally expected, we then consider that there was a meaningful impact.So in a nutshell it’s really the usual definition of p-statistics as defined in the literature.
Thank you @WillianFuks !