findcrit {MultiGroupSequential}R Documentation

Calculate critical values

Description

findcirt() calculates the critical values in the general correlation matrix

Usage

findcrit(
  salpha = c(0.01, 0.02, 0.025),
  smatrix = diag(3),
  sided = 1,
  tol = 1e-10,
  alpha.tol = 1e-11
)

Arguments

salpha

Numeric vector of cumulative alpha levels.

smatrix

General correlation matrix.

sided

Integer vector indicating the side of the test:

  • -1: Reject if test statistic is smaller than or equal to the critical value (one-sided)

  • 1: Reject if test statistic is greater or equal to the critical value (one-sided)

  • 0: Reject if the absolute value of the test statistic is greater than the critical value (two-sided)

tol

Numeric scalar with the tolerance level for computing critical values.

alpha.tol

Numeric scalar. If the alpha increment is less than this, the critical value is set to a large number determined by alpha.tol.

Value

List with element crit.value containing the obtained critical values.

Author(s)

Xiaodong Luo

Examples

findcrit(
  salpha = c(0.01, 0.02, 0.025),
  smatrix = diag(3),
  sided = 1,
  tol = 1e-10,
  alpha.tol = 1e-11
)

[Package MultiGroupSequential version 1.1.0 Index]