<div dir="ltr"><div><div>Hello Mike<br><br></div>Here is Emmnauel's answer (he is the author of the programm):<br><br><font face="sans-serif">Let "sum" be the sum of actual
difference in timing at turns of series S1 against  S2. The test is
the following </font>
<br><font face="sans-serif">H0: sum = 0 </font>
<br><font face="sans-serif">H1: sum > 0  </font>
<br>
<br><font face="sans-serif">The idea of the test is to built all
the possible outcomes (ie all the different "sum") by randomization
</font>
<br><font face="sans-serif">and then to test what is the probability
of the observed (or more extreme) outcome. So what we </font>
<br><font face="sans-serif">get is P( >= sum under H0). The rejection
probability is built as 1-P( >= sum under H0) and gives </font>
<br><font face="sans-serif">the confidence level at which the null
can be rejected. It can be seen as the risk of acception </font>
<br><font face="sans-serif">H0 while H0 is false</font>
<br>
<br><font face="sans-serif">Let's look at your results (see below).
The first line is the following test</font>
<br><font face="sans-serif">H0 : S1 leads S2 by k=0  which
we wrote as H0 : k<1. Under H0 the probability </font>
<br><font face="sans-serif">to observe a sum at least  greated
21 is 0.2%, such that we can reject H0 with a confidence </font>
<br><font face="sans-serif">level of  99.8%. </font>
<br><font face="sans-serif"> </font>
<br><font face="sans-serif">The test can be performed in a sequential
way, starting for the maximum lead</font>
<br><font face="sans-serif">to be tested.  In your case for
4 leads, H0 : S1 leads S2 by k=0, we have </font>
<br><font face="sans-serif">P( >= sum under H0) = 96.1%. Meaning
that risk of accepting H0 while H0 is true</font>
<br><font face="sans-serif">is below 5%.... </font>
<br><font face="sans-serif">  </font>
<br>
<br><img src="cid:_1_0DF004F00DDD19E00028945FC1257B58">
<br><br></div>Éric.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/23 Mike <span dir="ltr"><<a href="mailto:autor52@hotmail.com" target="_blank">autor52@hotmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thank you for your answer!<br>
<br>
However, I don't understand why there is a lead of 3 periods at a standard<br>
5% level.<br>
<br>
Isn't it 100% - 5% = 95%?<br>
<br>
That means in return that i accept the hypothesis as long as the rejection<br>
prob. higher than 95% is?<br>
<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://mailinglists.scilab.org/Interpretation-of-Banerji-test-result-tp4026503p4026587.html" target="_blank">http://mailinglists.scilab.org/Interpretation-of-Banerji-test-result-tp4026503p4026587.html</a><br>

<div class="HOEnZb"><div class="h5">Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.<br>
_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br>
<a href="http://lists.scilab.org/mailman/listinfo/users" target="_blank">http://lists.scilab.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>