gof_disc | R Documentation |
run gof tests for discrete data
gof_disc(x, pnull, rnull, vals, phat, TS, typeTS, TSextra, rate = 0, B = 5000L)
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 |
A matrix of numbers
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.