math:2:estimation_intervalle_confiance
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédente | Prochaine révisionLes deux révisions suivantes | ||
math:2:estimation_intervalle_confiance [2015/03/03 11:27] – [Estimation par intervalle de confiance de l'espérance d'une loi] Alain Guichet | math:2:estimation_intervalle_confiance [2015/06/28 11:38] – [Estimation par intervalle de confiance de l'espérance d'une loi] Alain Guichet | ||
---|---|---|---|
Ligne 60: | Ligne 60: | ||
On teste le théorème à l'aide du programme suivant : | On teste le théorème à l'aide du programme suivant : | ||
- | | + | <code scilab> |
- | p=grand(1, | + | rand(" |
- | n=1000 ; alpha=0.05 ; t=1.96 ; m=10000 | + | p=grand(1, |
- | IBT=0 ; TLC1=0 ; TLC2=0 | + | n=1000 ; alpha=0.05 ; t=1.96 ; m=10000 |
- | for k=1:m | + | IBT=0 ; TLC1=0 ; TLC2=0 |
- | Xn=mean(grand(1, | + | for k=1:m |
- | if abs(Xn-p)< | + | Xn=mean(grand(1, |
- | end | + | if abs(Xn-p)< |
- | if abs(Xn-p)< | + | end |
- | end | + | if abs(Xn-p)< |
- | if abs(Xn-p)< | + | end |
- | end | + | if abs(Xn-p)< |
- | end | + | end |
- | disp(" | + | end |
- | disp(" | + | disp(" |
- | disp(" | + | disp(" |
- | disp(" | + | disp(" |
+ | disp(" | ||
+ | </ | ||
Tableau récapitulatif de résultats pour $n=1000$ et $\alpha=0.05$ (10000 répétitions) : | Tableau récapitulatif de résultats pour $n=1000$ et $\alpha=0.05$ (10000 répétitions) : |
math/2/estimation_intervalle_confiance.txt · Dernière modification : 2022/03/05 20:58 de Alain Guichet