原本檔案(SVG檔案,表面大細: 540 × 360 像素,檔案大細:52 KB)

摘要

描述
English: Illustration of w:Law of large numbers.
日期
來源 自己作品
作者 Pred

協議

我,呢份作品嘅作者,決定用以下許可發佈呢件作品:
Creative Commons CC-Zero 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.

Source code

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

圖中顯示嘅係

6 5 2017

檔案歷史

撳個日期/時間去睇響嗰個時間出現過嘅檔案。

日期/時間縮圖尺寸用戶註解
現時2017年5月6號 (六) 09:26響2017年5月6號 (六) 09:26嘅縮圖版本540 × 360(52 KB)PredAdd legend
2017年5月6號 (六) 09:17響2017年5月6號 (六) 09:17嘅縮圖版本540 × 360(48 KB)PredUser created page with UploadWizard

無嘢連來呢份檔案。

全域檔案使用情況

下面嘅維基都用緊呢個檔案:

Metadata