hochbergd | R Documentation |
hochbergd()
computes the Hochberg procedure with different alphas
for different endpoints.
hochbergd(pvalues, alpha, epsilon = 1e-10, precision = 10)
pvalues |
Numeric vector of p-values from different endpoints. |
alpha |
Numeric vector of alpha values for the different endpoints.
Vector must be same length as |
epsilon |
Numeric scalar indicating the lower bound for alpha. |
precision |
Integer scalar of the desired number of digits to be used. |
List with element named decisions
containing an index of rejected
hypotheses.
Xiaodong Luo
hochbergd(
pvalues = runif(5),
alpha = seq(0.01, 0.025, len = 5),
epsilon = 1.0e-10,
precision = 10
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.