Update_Distrib_Score_bis.rmd
This commit is contained in:
parent
d3a893bc95
commit
2d48ff6db8
|
@ -337,8 +337,8 @@ p
|
||||||
# Vérification de la distribution theorique des scores
|
# Vérification de la distribution theorique des scores
|
||||||
T=10
|
T=10
|
||||||
E=1
|
E=1
|
||||||
lambda0
|
lambda0=2
|
||||||
lambda1
|
lambda1=3
|
||||||
|
|
||||||
## Choix du E
|
## Choix du E
|
||||||
maxXk = floor(E*(log(lambda1/lambda0)))
|
maxXk = floor(E*(log(lambda1/lambda0)))
|
||||||
|
@ -355,6 +355,7 @@ score_max
|
||||||
## Calcul score_min
|
## Calcul score_min
|
||||||
score_min_c=floor(E*log(lambda1/lambda0)+E*(lambda0-lambda1)*T)
|
score_min_c=floor(E*log(lambda1/lambda0)+E*(lambda0-lambda1)*T)
|
||||||
|
|
||||||
|
## Calcul distrib score
|
||||||
l=seq(score_min_c,score_max,1)
|
l=seq(score_min_c,score_max,1)
|
||||||
borne_inf=(l-E*log(lambda1/lambda0))/(E*(lambda0-lambda1))
|
borne_inf=(l-E*log(lambda1/lambda0))/(E*(lambda0-lambda1))
|
||||||
borne_sup=(l+1-E*log(lambda1/lambda0))/(E*(lambda0-lambda1))
|
borne_sup=(l+1-E*log(lambda1/lambda0))/(E*(lambda0-lambda1))
|
||||||
|
|
Loading…
Reference in New Issue