Learn R Programming

Rgof (version 3.1.0)

gof_cont: run gof tests for continuous data

Description

run gof tests for continuous data

Usage

gof_cont(x, pnull, rnull, phat, TS, typeTS, TSextra, B = 5000L)

Value

A matrix of numbers

Arguments

x

A numeric vector of data

pnull

R function (cdf)

rnull

R function (generate data under null hypothesis)

phat

function to set or estimate parameters of pnull

TS

function that calculates test statistics

typeTS

integer indicating type of test statistic

TSextra

list to pass to TS

B

(=5000) Number of simulation runs