gofhwex_1s {EQUIVNONINF} | R Documentation |
The function computes the critical constants defining the UMPU test for
one-sided equivalence of the population distribution of a SNP, to a distribution
being in Hardy-Weinberg equilibrium (HWE).
A substantial deficit of heterozygotes is defined to occur when the true value of the
parametric function ω = \frac{π_2/2}{√{π_1π_3}} [called relative excess
heterozygosity (REH)] falls below unity by more than some given margin δ_0.
Like its two-sided counterpart [see the description of the R function gofhwex],
the test is conditional on the total count S of alleles of the kind of interest.
gofhwex_1s(alpha,n,s,del0)
alpha |
significance level |
n |
number of genotyped individuals |
s |
observed count of alleles of the kind of interest |
del0 |
noninferiority margin for ω, which has to satisfy ω > 1-δ_0 under the alternative hypothesis to be established |
alpha |
significance level |
n |
number of genotyped individuals |
s |
observed count of alleles of the kind of interest |
del0 |
noninferiority margin for ω, which has to satisfy ω > 1-δ_0 under the alternative hypothesis to be established |
C |
left-hand limit of the critical interval for the observed number X_2 of heterozygotes |
GAM |
probability of rejecting the null hypothesis when it turns out that X_2=C |
Stefan Wellek <stefan.wellek@zi-mannheim.de>
Peter Ziegler <peter.ziegler@zi-mannheim.de>
Wellek S: Testing statistical hypotheses of equivalence and noninferiority. Second edition. Boca Raton: Chapman & Hall/CRC Press, 2010, pp. 300-302.
gofhwex_1s(0.05,133,65,1-1/1.96)