P-value correction: Difference between revisions

Content deleted Content added
m →‎{{header|Perl}}: removed parts which log errors, it's not necessary and clutters the code
Eoraptor (talk | contribs)
+Stata
Line 4,699:
[46] 9.582456e-03 3.877222e-02 3.172920e-03 8.122276e-01 1.950067e-01
Hommel</pre>
 
=={{header|Stata}}==
 
The '''qqvalue''' package on SSC provides the equivalent of the R function '''p.adjust'''.
 
First, install the package with:
 
<lang stata>ssc install qqvalue</lang>
 
Given a dataset containing the p-values in a variable, the qqvalue command generates another variable with the adjusted p-values. For instance, for the Holm correction:
 
<lang stata>qqvalue p, method(holm) qvalue(q)</lang>
 
=={{header|zkl}}==