ztwo: A function to compute Z values when there are no covariates...

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/ztwo.R

Description

This function computes the effects of covariates (Z values) needed when designing a study in simple cases where the only covariate available is the cancer class. The Z values computed may, however, be used in more complex setups, when additional covariates are expected.

Usage

1
ztwo(x, y)

Arguments

x

expected proportion of cases

y

expected proportion of controls

Value

produces the Z value

Author(s)

Stephen Nyangoma

References

Nyangoma SO, Ferreira JA, Collins SI, Altman DG, Johnson PJ, and Billingham LJ: Sample size calculations for planning clinical proteomic profiling studies using mass spectrometry. (Working paper)

See Also

function ZvaluescasesVcontrolsPlots

Examples

1
2
x=1/3;y=1-x
ztwo(x,y)

clippda documentation built on Nov. 8, 2020, 8:13 p.m.