ResTest: Residual Count Test Using Binomial Distribution

View source: R/nm_tests.R

ResTestR Documentation

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)
)

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

Value

matrix of test results


nmw documentation built on May 8, 2026, 9:07 a.m.