estimateSampleSize_mu0: Estimate sample size for Bland-Altman limits of agreement...

View source: R/estimateSampleSize.R

estimateSampleSize_mu0R Documentation

Estimate sample size for Bland-Altman limits of agreement test assuming zero mean

Description

Estimate sample size for Bland-Altman limits of agreement test assuming zero mean

Usage

estimateSampleSize_mu0(SD, delta, power = 0.8, gamma = 0.05,
  alpha = 0.05, iterMax = 100, tolerance = 0.001, method = "Lu",
  debug = FALSE)

Arguments

SD

standard deviation of differences

delta

pre-determined clinical agreement interval

power

the pre-determined power

gamma

alpha level of Bland-Altman LOA

alpha

alpha level of LOA confidence intervals

iterMax

maximum number of iterations

tolerance

tolerance for how close the power estimate should be to the input

method

whether to use the Lu or Wisniewski method for power

debug

logical

Value

a sample size


nwisn/blandPower documentation built on Jan. 27, 2024, 4:33 a.m.