Learn R Programming

nmw (version 0.3.0)

ResTest: Residual Count Test Using Binomial Distribution

Description

Tests whether residual counts at various Z-value thresholds follow expected binomial distributions.

Usage

ResTest(
  ResTab,
  TestCols = c("WRES", "CWRE", "IWRE"),
  ZVals = c(0, 1, 2, 3),
  PctVals = c(0.005, 0.01, 0.025, 0.05, 0.1, 0.2, 0.3, 0.4, 0.5)
)

Value

matrix of test results

Arguments

ResTab

data.frame with residual columns

TestCols

character vector of column names to test

ZVals

numeric vector of Z-value thresholds

PctVals

numeric vector of percentile values