OU_approx: Ornstein Uhlenbeck Approximation to Family-Wise Error Rate

Description Usage Arguments Value Examples

View source: R/OU_approx.R

Description

Analytic approximation to the family-wise error rate for test statistics arising from Ornstein-Uhlenbeck process. Approximation courtesy of: Siegmund and Yakir (2007). The statistics of gene mapping.

Usage

1
OU_approx(z, beta, Delta, length, chr, center, test)

Arguments

z

the critical value.

beta

the OU covariance parameter.

Delta

the spacing between markers.

length

the total length of the region.

chr

the number of chromosomes.

center

the level for family-wise error rate.

test

the type of test ("two-sided" or "one-sided").

Value

A single number indicating the distance between the family-wise error rate using critical value z and the desired level (center).

Examples

1
OU_approx(4.277817, 0.01*6, 0.2, 3500, 22, 0.05, "two-sided")

GrindeLab/STEAMcpp_mirror documentation built on Dec. 31, 2020, 12:05 p.m.