
Although data gathering and analysis procedures in industry and academia may not be obvious fraud, they cannot be fully dismissed. We all know that the product is only as excellent as the technique used to make it. Data science outcomes are also largely reliant on the data analysis method. Data dredging, also known as p-hacking, is one of the most common ways that data analysis is abused to identify statistically significant patterns that aren’t.
Data dredging is difficult to detect and hurts the study. P-hacking is the inadvertent cherry-picking of promising data that can result in an overabundance of meaningful and desirable outcomes.
However, it can have serious consequences, such as an increase in false positives, which could lead to the study being retracted, misleading other operations, increased bias, and a waste of resources.
P-hacking is unavoidable, but there are measures in place that can assist reduce data dredging and avoid falling into the trap.
The study has been pre-registered.
Preregistration is the greatest approach to avoid p-hacking. It will aid in avoiding any data selections or tweaks after viewing it. It does, however, necessitate the creation of a complete test strategy, which includes the statistical tools and data analysis methodologies to be used. An online registry can be used to register this proposal.
After registering the plan, one can carry out the test as planned– without tinkering with the data and reporting the results as they appear in the registry. Analysts will have more confidence in the study because they would be able to evaluate the strategy online.
Avoid glancing at data and keep a constant eye on it.
A data scientist’s interest in the test’s performance or important results, and subsequently examining data mid-test, can lead to an increase in the number of false positives and have a considerable impact on the value of p. As a result, even if the desired p-value is obtained, a test must be left to run its course and should not be peered into or halted.
To solve the problem, use the Bonferroni correction.
As the number of hypothesis tests done grows, so does the number of false positives, making it critical to keep track of this. By testing each hypothesis at a significant level, the Bonferroni correction can compensate for the increased likelihood of detecting a rare occurrence. When the number of hypothesis testing is enormous, however, the approach becomes very stringent. As a result, even when real positives exist above significance levels, some true positives may be missed. As a result, a compromise must be struck between boosting the test’s power and reducing false positives.
Controlling false positives during the test:
- Before beginning the test, determine the statistical parameters (variances). If a variable arises that has the potential to affect the parameter, it should be noted in the research. It’s also worth noting the reasoning behind it.
- Choosing the number of replications and tests to execute ahead of time, as well as the threshold at which the sample will be removed. This will help you avoid cancelling the exam before you get the findings you want.
- If you’re looking at various outcomes or comparisons, make sure your statistics reflect that. If anything uncommon is discovered, re-testing the hypothesis may be the only way to obtain an accurate p-value.
Advice on data analysis
To begin, the data gathered should be of high quality to reduce pure mistakes. Furthermore, increasing the sample size may lower the hazards, but this is not always the case. Risks may grow if the sampling size is increased. For data analysis, a better model should be utilised, one that is more complicated and allows for co-variation.
There is no way to eliminate data dredging, but it may surely be reduced to the point where it is no longer significant.
Leave a Reply