Rolling 4-sided fair die with faces numbered 1 to 4. Comparison of standard deviations.

Algebra Level 2

This problem's question: What is the ratio of the standard deviation of rolling three such dice and selecting the second highest value and the standard deviation of rolling just one die?

For this problem, imagine rolling these three dice.

The procedure to determine the second highest value is to sort the rolled values into descending order and then select the second value in the list. This means that the selected value may, in fact, duplicate the highest value rolled. This is, nonetheless, the correct selection.

Compute the standard deviations of the second highest die and of just using the black and white die.

Write the answer as 100 StandardDeviation [ t3 ] StandardDeviation [ t1 ] \left\lfloor \frac{100\, \text{StandardDeviation}[\text{t3}]}{\text{StandardDeviation}[\text{t1}]}\right\rfloor , where \lfloor\cdot\rfloor is the floor or truncate-to-integer function, t1 is the result of rolling one die (the black and white in this case) and t3 is the result of rolling 3 dice and selecting the second highest..


The answer is 73.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

The result set of rolling just one die is 1, 2, 3 and 4. The mean is 5 2 \frac52 and the standard deviation is 5 3 \sqrt{\frac{5}{3}} .

The result set of rolling 3 dice is 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4 and 4. The mean is 5 2 \frac52 and the standard deviation is 2 2 3 \frac{2 \sqrt{2}}{3} .

The ratio StandardDeviation [ t3 ] StandardDeviation [ t1 ] \frac{\text{StandardDeviation}[\text{t3}]}{\text{StandardDeviation}[\text{t1}]} is 2 2 15 2 \sqrt{\frac{2}{15}} .

100 StandardDeviation [ t3 ] StandardDeviation [ t1 ] 73 \left\lfloor \frac{100\, \text{StandardDeviation}[\text{t3}]}{\text{StandardDeviation}[\text{t1}]}\right\rfloor \Rightarrow 73 .

Hi, I looked up the SD on Google since I have forgotten how to calculate it, but they gave me something that is different from your answer here. The 10+22+22+10 not the problem, but what formula are you using? Just need the confirmation. I got 83 for your 73.

Saya Suka - 2 years ago

Log in to reply

I ediited the problem to clarify that the sample and not the population statistics should be used.

See Variance . The standard deviation is the square root of the variance. The mean is the the expected value of the events. In both situations the probability of a event, because they are equal and independent, is 1 n \frac1n . Therefore, the mean is 1 + 2 + 3 + 4 4 5 2 \frac{1+2+3+4}{4}\Rightarrow \frac52 . It happens that the three die and pick second die mean is the same. The variance, using your precomputed groups,are respectively 1 3 ( 1 ( 1 5 2 ) 2 + 1 ( 2 5 2 ) 2 + 1 ( 3 5 2 ) 2 + 1 ( 4 5 2 ) 2 ) 5 3 \frac{1}{3} \left(1 \left(1-\frac{5}{2}\right)^2+1 \left(2-\frac{5}{2}\right)^2+1 \left(3-\frac{5}{2}\right)^2+1 \left(4-\frac{5}{2}\right)^2\right) \Rightarrow \frac{5}{3} and 1 63 ( 10 ( 1 5 2 ) 2 + 22 ( 2 5 2 ) 2 + 22 ( 3 5 2 ) 2 + 10 ( 4 5 2 ) 2 ) 8 9 \frac{1}{63} \left(10 \left(1-\frac{5}{2}\right)^2+22 \left(2-\frac{5}{2}\right)^2+22 \left(3-\frac{5}{2}\right)^2+10 \left(4-\frac{5}{2}\right)^2\right) \Rightarrow \frac{8}{9} leading to my original answer.

In statistics, it is accepted that unless you have used the entire population and not just a representative sample to compute your statistics, you should use sample statistics. The subtract one from sample count is the accepted correction for the difference.

Log in to reply

Thank you very much for the time spent typing the above explanation. So it's the 1/3 and 1/63 from minus one of sample statistics? I really appreciate your willingness to help me learn more, thanks again!

Saya Suka - 2 years ago

Log in to reply

@Saya Suka You're welcome.

Kyle T
May 27, 2019
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
//get t1
$t1 = range(1,4);

//get t3
$t3 = array();
for($a=1;$a<=4;$a++){
    for($b=1;$b<=4;$b++){
        for($c=1;$c<=4;$c++){
            $temp = array($a,$b,$c);
            sort($temp);
            $t3[] = $temp[1];
        }
    }
}

//get std devs
$sdt1  = stddev($t1);
$sdt3 = stddev($t3);

//print
echo 't1: '.implode(', ',$t1).'<br>';
echo 't3: '.implode(', ',$t3).'<br>';
echo 't1 std dev: '.$sdt1.'<br>';
echo 't3 std dev: '.$sdt3.'<br>';
echo 'foor((100*stddev(t3))/stddev(t1)): '.floor((100*$sdt3)/$sdt1).'<br>';

function stddev($aValues) {
    $fMean = array_sum($aValues) / count($aValues);
    $fVariance = 0.0;
    foreach ($aValues as $i){
        $fVariance += pow($i - $fMean, 2);
    }
    $size = count($aValues) - 1;
    return (float) sqrt($fVariance)/sqrt($size);
}
/*
prints
t1: 1, 2, 3, 4
t3: 1, 1, 1, 1, 1, 2, 2, 2, 1, 2, 3, 3, 1, 2, 3, 4, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 2, 2, 3, 4, 1, 2, 3, 3, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 1, 2, 3, 4, 2, 2, 3, 4, 3, 3, 3, 4, 4, 4, 4, 4
t1 std dev: 1.2909944487358
t3 std dev: 0.94280904158206
foor((100*stddev(t3))/stddev(t1)): 73
*/
?>

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...