bfControl function

Algorithm control arguments for Behrens-Fisher test

Algorithm control arguments for Behrens-Fisher test

Usually these arguments do not need to be changed.

bfControl(calcmethod = c("int", "mc"), epsilon = 10^(-8), nmc = 10^5)

Arguments

  • calcmethod: either 'int' for numeric integration (default), or 'mc' for Monte Carlo estimation
  • epsilon: small value input into pbf or qbf
  • nmc: number of Monte Carlo replications used when calcmethod='mc'

Details

When calcmethod='int' does numeric integration. This calls qbf which uses the epsilon argument.

When calcmethod='mc' does Monte Carlo estimation of p-value and confidence interval. Uses nmc as the number of replicates.

Returns

A list with elements: - calcmethod: either 'int' or 'mc'

  • epsilon: small positive number

  • nmc: number of Monte Carlo replications used when calcmethod='mc'

  • Maintainer: Michael P. Fay
  • License: GPL-3
  • Last published: 2023-08-24

Useful links