chi_stat_disc: chi square statistic for discrete data

View source: R/RcppExports.R

chi_stat_discR Documentation

chi square statistic for discrete data

Description

chi square statistic for discrete data

Usage

chi_stat_disc(param, x, pnull, bins, formula, rate = 0)

Arguments

param

parameter for pnull

x

Vector of observations

pnull

cumulative distribution function under the null hypothesis

bins

vector of indices of bins

formula

type of chi square formula to use

rate

rate of Poisson if sample size is random, 0 otherwise

Value

chi square statistic


Rgof documentation built on Nov. 2, 2023, 5:07 p.m.