Skip to content

mgradalska/benford-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

benford-project

Application analyzing if given dataset satisfies Benford's law or not.

Requirements

To run application docker-compose is needed.

Run application

To run application execute following comands in benford-project directory:

docker-compose up

After that application interface will be available under localhost:4200 link.

Backend API: localhost:8000/api.

Test application

To run backend tests execute following command (the application has to be running):

docker-compose exec web python benford_backend/manage.py test benford_analyzer

Explanation

Application checks if given dataset satisfies Benford's law by Chi Square statistic test with 95% significance level.

Application input:

  • Flat text file with required '7_2009' column which contains only integer data

Application output:

  • Information if given data satisfies Benford's law or not
  • Generated graph with given data first number's frequency distribution compared to Benford's distribution

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published