Skip to content

oniani/quincunx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quincunx

A quincunx is a device for statistical experiments that demonstrates the Central Limit Theorem (CLT). Specifically, it shows that, with sufficient sample size, the binomial distribution can approximate the normal distribution.

Running Experiments

$ cargo run --release -- 11 1000 ./plot/1000.png

Results

10 Particles 100 Particles 1000 Particles
10 Particles 100 Particles 1000 Particles

Results clearly show that as the number of particles increases, the distribution gets more normal. This is a visual proof of CLT which states that as the number of samples increases:

  1. The mean gets closer to the center
  2. The spread decreases
  3. The distribution gets approximately normal

License

MIT License

Releases

No releases published

Packages

No packages published

Languages