Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

chisq

Gets the Chi-squared test of a Benford object


Description

It gets the Chi-squared test for a Benford object. See the section value of benford.

Usage

chisq(bfd)

Arguments

bfd

an object of class "Benford". See benford.

Value

A list with class "htest" containing the results of the Chi-squared test.

Examples

data(census.2009) #gets data
c2009 <- benford(census.2009$pop.2009) #generates benford object
chisq(c2009) # equivalent to c2009$stats$chisq

benford.analysis

Benford Analysis for Data Validation and Forensic Analytics

v0.1.5
GPL-3
Authors
Carlos Cinelli
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.