newTSdisc: a local function needed for the vignette
Description
a local function needed for the vignette
Usage
newTSdisc(x, pnull, param, vals)
Value
A vector with test statistics
Arguments
- x
An integer vector.
- pnull
cdf.
- param
parameters for pnull in case of parameter estimation.
- vals
A numeric vector with the values of the discrete rv.