Image:Central limit thm 1.png

From Wikipedia, the free encyclopedia

Wikimedia Commons logo This is a file from the Wikimedia Commons. The description on its description page there is shown below.
Commons is a freely licensed media file repository. You can help.

La bildo estas kopiita de wikipedia:en. La originala priskribo estas:

illustration of central limit theorem, part 1

I created these images: Image:Central_limit_thm_1.png, Image:Central_limit_thm_2.png, Image:Central_limit_thm_3.png, Image:Central_limit_thm_4.png. I license these images under the GFDL:


GNU head Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation license, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation license".

Aragonés | العربية | Asturianu | Български | বাংলা | ইমার ঠার/বিষ্ণুপ্রিয়া মণিপুরী | Brezhoneg | Bosanski | Català | Cebuano | Česky | Dansk | Deutsch | Ελληνικά | English | Esperanto | Español | Eesti | Euskara | فارسی | Suomi | Français | Gaeilge | Galego | עברית | Hrvatski | Magyar | Bahasa Indonesia | Ido | Íslenska | Italiano | 日本語 | ქართული | ភាសាខ្មែរ | 한국어 | Kurdî / كوردی | Latina | Lëtzebuergesch | Lietuvių | Bahasa Melayu | Nnapulitano | Nederlands | ‪Norsk (nynorsk)‬ | ‪Norsk (bokmål)‬ | Occitan | Polski | Português | Română | Русский | Slovenčina | Slovenščina | Shqip | Српски / Srpski | Svenska | తెలుగు | ไทย | Türkçe | Українська | اردو | Tiếng Việt | Volapük | Yorùbá | ‪中文(中国大陆)‬ | ‪中文(台灣)‬ | +/-

Here are the GNU Octave commands to create these images:


dx = 0.002;
x1 = (1:1000)*dx;
p1 = [1:2:1000, 500*ones(1, 500)];

p1 = p1 / (sum(p1)*dx);
m = sum (x1.*p1)*dx;
x1 = x1 - m;
s = sqrt (sum ((x1.^2).*p1)*dx);
dx1 = dx/s;
x1 = x1/s;
p1 = p1*s;

p2 = conv (p1, p1) * dx1;
nx1 = length(x1);
x2 = [x1+min(x1) x1(2:nx1)+max(x1)];

p3 = conv (p2, p1) * dx1;
x3 = [x2+min(x1) x1(2:nx1)+max(x2)];

p4 = conv (p3, p1) * dx1;
x4 = [x3+min(x1) x1(2:nx1)+max(x3)];

p2 = p2 * sqrt(2);
x2 = x2 / sqrt(2);
dx2 = dx1 / sqrt(2);

p3 = p3 * sqrt(3);
x3 = x3 / sqrt(3);
dx3 = dx1 / sqrt(3);

p4 = p4 * sqrt(4);
x4 = x4 / sqrt(4);
dx4 = dx1 / sqrt(4);

sum (p1) * dx1
sum (p1.*x1) * dx1
sum (p1.*x1.^2) * dx1

sum (p2) * dx2
sum (p2.*x2) * dx2
sum (p2.*x2.^2) * dx2

sum (p3) * dx3
sum (p3.*x3) * dx3
sum (p3.*x3.^2) * dx3

sum (p4) * dx4
sum (p4.*x4) * dx4
sum (p4.*x4.^2) * dx4

axis ([-5 5 0 0.5])

gset nokey
gset terminal png

gset output 'central_limit_thm_1.png'
plot (x1, p1, 'r-')

gset output 'central_limit_thm_2.png'
plot (x2, p2, 'r-')

gset output 'central_limit_thm_3.png'
plot (x3, p3, 'r-')

gset output 'central_limit_thm_4.png'
plot (x4, p4, 'r-')
date/time username edit summary
16:35, 3 November 2005 en:User:Sverdrup (removing a space in "ones (1, 500)". With this fix, I can paste it directly into my octave console)
15:30, 14 October 2004 en:User:Wile E. Heresiarch (disambiguate Octave)
05:46, 14 October 2004 en:User:Wile E. Heresiarch (+GFDL, +octave cmds)
16:41, 12 January 2004 en:User:Wile E. Heresiarch (illustration of central limit theorem, part 1)

[edit] Historio de la dosiero

Legend: (cur) = this is the current file, (del) = delete this old version, (rev) = revert to this old version.

Click on date to download the file or see the image uploaded on that date.

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current17:56, 18 March 2006640×480 (4 KB)Maksim (La bildo estas kopiita de wikipedia:en. La originala priskribo estas: illustration of central limit theorem, part 1 I created these images: Image:Central_limit_thm_1.png, Image:Central_limit_thm_2.png, Image:Central_limit_thm_3.png, [[:Im)
The following pages on the English Wikipedia link to this file (pages on other projects are not listed):