Learn R Programming

R2sample (version 4.0.1)

TSw_disc: Find test statistics for weighted discrete data

Description

Find test statistics for weighted discrete data

Usage

TSw_disc(x, y, vals, wx, wy)

Value

A vector with test statistics

Arguments

x

integer vector of counts

y

integer vector of counts

vals

A numeric vector with the values of the discrete rv.

wx

integer vector of weights

wy

integer vector of weights