TS_disc {Rgof}R Documentation

Find test statistics for discrete data

Description

Find test statistics for discrete data

Usage

TS_disc(x, Fx, nm, vals)

Arguments

x

An integer vector.

Fx

A numeric vector of cumulative probabilities.

nm

A matrix of pre-calculated (with nm_calc.cpp) numbers needed for Zhangs tests.

vals

A numeric vector with the values of the discrete rv.

Value

A vector with test statistics


[Package Rgof version 1.2.2 Index]