- Hands-On Data Science with R
- Vitor Bianchi Lanzetta Nataraj Dasgupta Ricardo Anjoleto Farias
- 412字
- 2021-06-10 19:12:32
Decision rule – a brief overview of the p-value approach
Just to be clear, the expected result from a hypothesis test is whether the researcher (you) is rejecting or failing to reject the null hypothesis. The heuristic adopted to go for one or the other is called the decision rule; basically, the rule used to either reject the null hypothesis or not.
The most common decision rule is to fix a limit to the significance level in advance. This limit can be seen as the greater probability of committing a type I error you're willing to risk; that is, the greater chance to reject the null hypothesis while it was actually right. Common numbers are 5% and 1% (these are usually arbitrary).
With your number at hand, you can check whether the p-value output by the test is greater or lower in comparison to this limit (which is the significance level, α). Let's say that you picked 5% and you get a p-value of 0.1 (10%); hence, you may say that you failed to reject the null hypothesis within 5% level of significance. But what if you get a p-value of 0.001 (0.1%)? You could even say that you were able to reject the null hypothesis within 1% level of significance. It's a good practice to show the actual p-value to the audience.
In the immediately previous example, the p-value was 0.06313; hence, we should fail to reject the null hypothesis within 5% level of significance. This means that we don't deny that the true mean could be equal to ten as our null hypothesis assumed. There may be more reasonable (and laborious) ways to set your significance level. 5% seems to be a widely adopted number among researchers in various fields and it's definitely a magical number.
Clearly stating your decision and showing the test statistic, p-value, and the confidence interval is probably the better way to go. You can also set your alpha based on the expected outcomes from not rejecting the H0 while it's true versus rejecting it (while it's true). This may be challenging but pretty cool and goes very well with a thing called test's power (β).
- 零起步輕松學(xué)單片機(jī)技術(shù)(第2版)
- Hands-On Artificial Intelligence on Amazon Web Services
- 人工免疫算法改進(jìn)及其應(yīng)用
- Getting Started with Oracle SOA B2B Integration:A Hands-On Tutorial
- Hands-On Cloud Solutions with Azure
- 傳感器與物聯(lián)網(wǎng)技術(shù)
- 聊天機(jī)器人:入門、進(jìn)階與實(shí)戰(zhàn)
- Excel 2007技巧大全
- Salesforce for Beginners
- 智慧未來(lái)
- 納米集成電路制造工藝(第2版)
- Learning iOS 8 for Enterprise
- Java Deep Learning Projects
- Raspberry Pi 3 Projects for Java Programmers
- 巧學(xué)活用AutoCAD