Learn R Programming

powerpkg (version 1.6)

fnfam: Internal function called by ntdt

Description

An internal function called by the 'ntdt' function based on formulae from Abel and Muller-Myhsok (1998) Am J Hum Genet 63:664-667

Usage

fnfam(n, power, alpha, p1, h)

Arguments

n

number of families.

power

the power of the test.

alpha

the desired significance level.

p1

defined by Abel and Muller-Myhsok.

h

defined by Abel and Muller-Myhsok.

Value

n

the number of tdt trios needed for the desired power.

Details

See Abel and Muller-Myhsok

References

Abel L, Muller-Myhsok B. Maximum-likelihood expression of the transmission/disequilibrium test and power considerations. Am J Hum Genet. 1998 Aug;63(2):664-7.

See Also

plotNtdt, ntdt, ntdt.q

Examples

Run this code
# NOT RUN {
## NONE: Internal function
# }

Run the code above in your browser using DataLab