File:Lawoflargenumbers.svg
From testwiki
Jump to navigation
Jump to search
Original file (SVG file, nominally 540 × 360 pixels, file size: 52 KB)
Contents
This file is from Wikimedia Commons and may be used by other projects. The description on its file description page there is shown below.
Summary
| DescriptionLawoflargenumbers.svg |
English: Illustration of Law of large numbers. |
| Date | |
| Source | Own work |
| Author | Pred |
| SVG development InfoField |
Licensing
Pred, the copyright holder of this work, hereby publishes it under the following license:
| This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. | |
| The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
http://creativecommons.org/publicdomain/zero/1.0/deed.enCC0Creative Commons Zero, Public Domain Dedicationfalsefalse |
Source code

This media was created with Python (general-purpose programming language)
Here is a listing of the source used to create this file.
Here is a listing of the source used to create this file.
Deutsch ∙ македонски ∙ English ∙ +/−
The plot was produced using the following Python source code
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
np.random.seed(0)
x = np.arange(1, 1001, 1)
samples = np.random.randint(1, 7, len(x))
averages = np.cumsum(samples)/x
plt.plot((0, 1000), (3.5, 3.5), label='Theoretical mean')
plt.plot(x, averages, label='Observed averages')
plt.title('Average dice roll by number of rolls')
plt.xlabel('Number of trials')
plt.ylabel('Average')
plt.ylim((1, 6))
plt.legend()
plt.savefig('lawoflargenumbers.svg')
Captions
Add a one-line explanation of what this file represents
Items portrayed in this file
depicts
6 May 2017
53,691 byte
360 pixel
540 pixel
image/svg+xml
b8f720af4d345df42231357336279251273bbd5a
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Thumbnail | Dimensions | User | Comment | |
|---|---|---|---|---|---|
| current | 10:26, 6 May 2017 | 540 × 360 (52 KB) | wikimediacommons>Pred | Add legend |
File usage
There are no pages that use this file.