파일:Somme tirage 1 a 6d6 et loi normale.svg

원본 파일(SVG 파일, 실제 크기 609 × 446 픽셀, 파일 크기: 110 KB)

파일 설명

설명
English: Convergence of the sum of nd6 towards a normal distribution (central limit theorem).
Français : Convergence de la somme de nd6 vers une loi normale (théorème central limite).
날짜
출처 자작
저자 Christophe Dang Ngoc Chan (Cdang (talk))
다른 버전 see also File:Somme n tirages d6 1 a 5.svg

Scilab source

// Trace la fonction de densité de n tirages de dés à 6 faces
// et la loi normale selon le théorème central limite
 
// initialisation
 
clear;
clf;
 
nbmax = 6; // nombre max de tirages
 
cmap = [coolcolormap(nbmax); 0, 0, 0];
xset("colormap", cmap);
 
// Fonctions
 
function [frequences]=tirages(n)
    // calcule les fréquences de n tirage de dés par dénombrement
    // entrées : n : nombre de tirages (entier)
    // sorties : frequences : matrice de fréquences (réels)
 
    N = 6^n; // nombre de valeurs possibles
    resultats = zeros(N, n); // initialisation : résultats des tirages
    for i = 1:n // n° de colonne
        k = 6^(n - i); //à la colonne i : k valeurs 1, puis k valeurs 2...
        for j=0:6^(i - 1) - 1
            for jj = 1:6
                resultats((6*j + jj - 1)*k + 1:(6*j + jj)*k, i) = jj;
            end
        end
    end
    //disp(resultats);
    somme = sum(resultats, "c");
    frequences_non_triees = tabul(somme);
    frequences = gsort(frequences_non_triees, "lr", "i");
    frequences(:,2) = frequences(:,2)/N; // normalisation des fréquences
endfunction

// Programme principal

mu0 = mean(1:6);
sigma0 = st_deviation(1:6);

for i=1:nbmax
    XY = tirages(i);
    sigma = sigma0*sqrt(i);
    mu = i*mu0;
    x = 0:0.25:XY($, 1);
    y = pdfnormal(x, mu, sigma);
    subplot(2, 3, i)
    plot2d(x, y, style = nbmax+1)
    plot2d3(XY(:, 1), XY(:, 2), style = i)
    titre = string(i)+"d6";
    xtitle(titre, "valeur", "fréquence")
end

라이선스

나는 아래 작품의 저작권자로서, 이 저작물을 다음과 같은 라이선스로 배포합니다:
GNU head GNU 자유 문서 사용 허가서 1.2판 또는 자유 소프트웨어 재단에서 발행한 이후 판의 규정에 따라 본 문서를 복제하거나 개작 및 배포할 수 있습니다. 본 문서에는 변경 불가 부분이 없으며, 앞 표지 구절과 뒷 표지 구절도 없습니다. 본 사용 허가서의 전체 내용은 GNU 자유 문서 사용 허가서 부분에 포함되어 있습니다.
w:ko:크리에이티브 커먼즈
저작자표시 동일조건변경허락
이 파일은 크리에이티브 커먼즈 저작자표시-동일조건변경허락 3.0, 2.5, 2.0, 1.0 라이선스로 배포됩니다.
이용자는 다음의 권리를 갖습니다:
  • 공유 및 이용 – 저작물의 복제, 배포, 전시, 공연 및 공중송신
  • 재창작 – 저작물의 개작, 수정, 2차적저작물 창작
다음과 같은 조건을 따라야 합니다:
  • 저작자표시 – 적절한 저작자 표시를 제공하고, 라이센스에 대한 링크를 제공하고, 변경사항이 있는지를 표시해야 합니다. 당신은 합리적인 방식으로 표시할 수 있지만, 어떤 방식으로든 사용권 허가자가 당신 또는 당신의 사용을 지지하는 방식으로 표시할 수 없습니다.
  • 동일조건변경허락 – 만약 당신이 이 저작물을 리믹스 또는 변형하거나 이 저작물을 기반으로 제작하는 경우, 당신은 당신의 기여물을 원저작물과 동일하거나 호환 가능한 라이선스에 따라 배포하여야 합니다.
이 라이선스 중에서 목적에 맞는 것을 선택하여 사용할 수 있습니다.

설명

이 파일이 나타내는 바에 대한 한 줄 설명을 추가합니다

이 파일에 묘사된 항목

다음을 묘사함

파일 역사

날짜/시간 링크를 클릭하면 해당 시간의 파일을 볼 수 있습니다.

날짜/시간섬네일크기사용자설명
현재2013년 11월 5일 (화) 21:292013년 11월 5일 (화) 21:29 판의 섬네일609 × 446 (110 KB)CdangOne more case. Parameters of the normal law calculated from the central limit theorem and not from the data.
2013년 11월 5일 (화) 18:212013년 11월 5일 (화) 18:21 판의 섬네일605 × 455 (89 KB)Cdang{{Information |Description={{en|1=Convergence of the sum of ''n''d6 towards a normal distribution (central limit theorem).}} {{fr|1=Convergence de la somme de ''n''d6 vers une loi normale (théorème central limite).}} |Source={{own}} |Date=2013-11-05 ...

다음 문서 1개가 이 파일을 사용하고 있습니다:

이 파일을 사용하고 있는 모든 위키의 문서 목록

다음 위키에서 이 파일을 사용하고 있습니다:

메타데이터