Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

chisq.power

Power and sample size for the chi-square distribution


Description

Power and sample size for the chi-square distribution given non-centrality, degrees of freedom, alpha, N (for chisq.power), and power (for chisq.sample.size)

Usage

chisq.power(n, nc, df, alpha)
chisq.power.dif(n, nc, df, alpha, power)
chisq.sample.size(nc, df=df, alpha, power, lower=20, upper=100000)

Arguments

n

sample size (for power)

nc

non-centrality parameter

df

degrees of freedom

alpha

type-I error rate

power

desired power (for sample size)

lower

lower bound for search space for sample size

upper

upper bound for search space for sample size

Value

power, the difference in power from target power, and sample size, respectively for the three different functions


haplo.stats

Statistical Analysis of Haplotypes with Traits and Covariates when Linkage Phase is Ambiguous

v1.8.6
GPL (>= 2)
Authors
Sinnwell JP, Schaid DJ
Initial release
2020-10-14

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.