Hi,
the $avbi (the average f the scores = 0?
Any ideas why?
yes :
How is computed the $avbi value ?
By adding $bi0 + $bi1 ... divided by
$biscore_num. Correct ?
But ... where in your code the $bi0,
$bi1, $bi2 are initialized ? (meaning
that $bi1, $bi2 haven\'t any value) ;
the line
$bi = $biscore[0];
doesn\'t help
What you need to do, it to do a sum
in your loop like that :
before the loop :
$my_sum = 0;
inside the loop :
$my_sum = $my_sum + $biscore[0];
then, after the loop, compute the mean :
$avbi = $my_sum / $biscore_num;
Hervé.