Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente |
math:2:estimation_amplitude [2015/02/23 23:17] – Alain Guichet | math:2:estimation_amplitude [2020/05/10 21:19] (Version actuelle) – modification externe 127.0.0.1 |
---|
^ **[[:math:2:index#chapitre_19|Estimation > ]]** | [[:math:2:introduction_estimation|Intro]] | [[:math:2:estimation_parametre_bernoulli|Ex 1]] | [[:math:2:estimation_amplitude|Ex 2]] | [[:math:2:problematique_estimation|Problématique]] | [[:math:2:estimation_ponctuelle|Estimation ponctuelle]] | [[:math:2:estimation_intervalle_confiance|Estimation intervalle]] | | ^ **[[:math:2:index#estimation|Estimation > ]]** | [[:math:2:introduction_estimation|Intro]] | [[:math:2:estimation_parametre_bernoulli|Ex 1]] | [[:math:2:estimation_amplitude|Ex 2]] | [[:math:2:problematique_estimation|Problématique]] | [[:math:2:estimation_ponctuelle|Estimation ponctuelle]] | [[:math:2:estimation_intervalle_confiance|Estimation intervalle]] | |
| |
| |
On choisit les réels $a$ et $b$ au hasard dans, respectivement, $[0,1[$ et $[1,2[$. Ainsi, $b-a>0$. On détermine ensuite un 2000-échantillon de la loi $\mathcal{U}([a,b])$ puis on calcule l'étendue empirique (biaisée), l'étendue empirique corrigée (sans biais) et on affiche ensuite l'étendue réelle $b-a$. | On choisit les réels $a$ et $b$ au hasard dans, respectivement, $[0,1[$ et $[1,2[$. Ainsi, $b-a>0$. On détermine ensuite un 2000-échantillon de la loi $\mathcal{U}([a,b])$ puis on calcule l'étendue empirique (biaisée), l'étendue empirique corrigée (sans biais) et on affiche ensuite l'étendue réelle $b-a$. |
| |
n=2000 ; a=rand() ; b=1+rand() | <code scilab> |
Xn=grand(1,n,"unf",a,b) | n=2000 ; a=rand() ; b=1+rand() |
Ee=max(Xn)-min(Xn) ; Eesb=Ee*(n+1)/(n-1) ; Er=b-a | Xn=grand(1,n,"unf",a,b) |
disp("Etendue estimee : ") ; disp(Ee) | Ee=max(Xn)-min(Xn) ; Eesb=Ee*(n+1)/(n-1) ; Er=b-a |
disp("Etendue estimee sans biais : ") ; disp(Eesb) | disp("Etendue estimee : ") ; disp(Ee) |
disp("Etendue reelle : ") ; disp(Er) | disp("Etendue estimee sans biais : ") ; disp(Eesb) |
| disp("Etendue reelle : ") ; disp(Er) |
| </code> |
| |
| |
^ **[[:math:2:index#chapitre_19|Estimation > ]]** | [[:math:2:introduction_estimation|Intro]] | [[:math:2:estimation_parametre_bernoulli|Ex 1]] | [[:math:2:estimation_amplitude|Ex 2]] | [[:math:2:problematique_estimation|Problématique]] | [[:math:2:estimation_ponctuelle|Estimation ponctuelle]] | [[:math:2:estimation_intervalle_confiance|Estimation intervalle]] | | ^ **[[:math:2:index#estimation|Estimation > ]]** | [[:math:2:introduction_estimation|Intro]] | [[:math:2:estimation_parametre_bernoulli|Ex 1]] | [[:math:2:estimation_amplitude|Ex 2]] | [[:math:2:problematique_estimation|Problématique]] | [[:math:2:estimation_ponctuelle|Estimation ponctuelle]] | [[:math:2:estimation_intervalle_confiance|Estimation intervalle]] | |