gof_disc: run gof tests for discrete data

View source: R/RcppExports.R

gof_discR Documentation

run gof tests for discrete data

Description

run gof tests for discrete data

Usage

gof_disc(x, pnull, rnull, vals, phat, TS, typeTS, TSextra, rate = 0, B = 5000L)

Arguments

x

an integer vector of counts

pnull

cumulative distribution function under the null hypothesis

rnull

R function (generate data under null hypothesis)

vals

numeric vector of values of discrete random variables.

phat

function to estimate parameters

TS

function that calculates test statistics

typeTS

type of test statistic

TSextra

list passed to TS, if desired

rate

=0, rate of sample size, if random

B

(=5000) Number of simulation runs

Value

A matrix of numbers


Rgof documentation built on Oct. 21, 2024, 5:07 p.m.