chi_test_cont {Rgof}R Documentation

This function performs a number of chisquare gof tests for continuous data

Description

This function performs a number of chisquare gof tests for continuous data

Usage

chi_test_cont(
  x,
  pnull,
  param,
  formula = "Pearson",
  rate = 0,
  nbins = as.integer(c(100, 10)),
  Range = as.numeric(c(-99999, 99999)),
  Minimize = 0L,
  minexpcount = 2
)

Arguments

x

data set

pnull

cdf under the null hypothesis

param

starting values of multi-D minimum chi square minimization

formula

Formula of chi square to use

rate

rate of Poisson if sample size is random

nbins

=c(100, 10) number of bins for chisquare tests

Range

=(-99999, 99999) limits of possible observations, if any

Minimize

Should minimum chi square be found?

minexpcount

=2 minimal expected bin count required

Value

A numeric matrix of test statistics, degrees of freedom and p values


[Package Rgof version 1.2.2 Index]