iHpTarget1 {itrimhoch}R Documentation

Find the difference between the achieved power and the desired power for rejecting H1 using the improved trimmed or truncated weighted Hochberg procedure

Description

Find the difference between the achieved power and the desired power for rejecting H1 using the improved trimmed or truncated weighted Hochberg procedure

Usage

iHpTarget1(n, alpha1, alpha, k, beta1, deltavec, rho)

Arguments

n

the sample size

alpha1

the weighted significance levels assigned to H1

alpha

the significance level

k

a pre-specified constant in the improved trimmed weighted Hochberg procedure

beta1

one minus the desired power for rejecting H1

deltavec

a numeric vector of two values representing the effect sizes for the two hypotheses

rho

the correlation coefficient between two test statistics

Value

the difference between the achieved power and the desired power for rejecting H1 using the improved trimmed or truncated weighted Hochberg procedure

Author(s)

Jiangtao Gou

References

Gou, J., Chang, Y., Li, T., and Zhang, F. (2025). Improved trimmed weighted Hochberg procedures with two endpoints and sample size optimization. Technical Report.


[Package itrimhoch version 1.0.0 Index]