1rBTX 06. ESTADÍSTICA/1.6.2 Unidimensional
1.6.2.35Q MedianaTaula
Quina és la mediana d'aquesta distribució?
Xi |
Fi |
#x_1 |
#n_1 |
#x_2 |
#n_2 |
#x_3 |
#n_3 |
#x_4 |
#n_4 |
#x_5 |
#n_5 |
#x_6 |
#n_6 |
]]>
1.0000000
0.5000000
0
0
#sol
<question><wirisCasSession><![CDATA[<session lang="ca" version="2.0"><library closed="false"><mtext style="color:#ffc800" xml:lang="ca">variables</mtext><group><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x_1</mi><mo>=</mo><mi>aleatori</mi><mfenced><mfenced close="}" open="{"><mtable align="center"><mtr><mtd><mn>21</mn><mo>,</mo><mn>31</mn><mo>,</mo><mn>41</mn><mo>,</mo><mn>51</mn><mo>,</mo><mn>61</mn><mo>,</mo><mn>71</mn></mtd></mtr></mtable></mfenced></mfenced></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x_2</mi><mo>=</mo><mi>x_1</mi><mo>+</mo><mn>1</mn></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x_3</mi><mo>=</mo><mi>x_1</mi><mo>+</mo><mn>2</mn></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x_4</mi><mo>=</mo><mi>x_1</mi><mo>+</mo><mn>3</mn></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x_5</mi><mo>=</mo><mi>x_1</mi><mo>+</mo><mn>4</mn></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x_6</mi><mo>=</mo><mi>x_1</mi><mo>+</mo><mn>5</mn></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><apply><csymbol definitionURL="http://www.wiris.com/XML/csymbol">repeat</csymbol><mtable><mtr><mtd><mi>n_1</mi><mo>=</mo><mi>aleatori</mi><mo>(</mo><mn>5</mn><mo>,</mo><mn>19</mn><mo>)</mo></mtd></mtr><mtr><mtd><mi>n_2</mi><mo>=</mo><mi>aleatori</mi><mo>(</mo><mn>5</mn><mo>,</mo><mn>19</mn><mo>)</mo></mtd></mtr><mtr><mtd><mi>n_3</mi><mo>=</mo><mi>aleatori</mi><mo>(</mo><mn>5</mn><mo>,</mo><mn>19</mn><mo>)</mo></mtd></mtr><mtr><mtd><mi>n_4</mi><mo>=</mo><mi>aleatori</mi><mo>(</mo><mn>5</mn><mo>,</mo><mn>19</mn><mo>)</mo></mtd></mtr><mtr><mtd><mi>n_5</mi><mo>=</mo><mi>aleatori</mi><mo>(</mo><mn>5</mn><mo>,</mo><mn>19</mn><mo>)</mo></mtd></mtr><mtr><mtd><mi>n_6</mi><mo>=</mo><mi>aleatori</mi><mo>(</mo><mn>5</mn><mo>,</mo><mn>19</mn><mo>)</mo></mtd></mtr><mtr><mtd><mi>s</mi><mo>=</mo><mi>n_1</mi><mo>+</mo><mi>n_2</mi><mo>+</mo><mi>n_3</mi><mo>+</mo><mi>n_4</mi><mo>+</mo><mi>n_5</mi><mo>+</mo><mi>n_6</mi></mtd></mtr><mtr><mtd/></mtr></mtable><mrow><mo>(</mo><mi>s</mi><mo> </mo><mi>mod</mi><mo> </mo><mn>10</mn><mo>)</mo><mo>=</mo><mn>0</mn></mrow></apply></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>t_1</mi><mo>=</mo><mi>n_1</mi></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>t_2</mi><mo>=</mo><mi>t_1</mi><mo>+</mo><mi>n_2</mi></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>t_3</mi><mo>=</mo><mi>t_2</mi><mo>+</mo><mi>n_3</mi></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>t_4</mi><mo>=</mo><mi>t_3</mi><mo>+</mo><mi>n_4</mi></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>t_5</mi><mo>=</mo><mi>t_4</mi><mo>+</mo><mi>n_5</mi></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>t_6</mi><mo>=</mo><mi>t_5</mi><mo>+</mo><mi>n_6</mi></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>X</mi><mo>=</mo><mfenced close="]" open="["><mrow><mi>x_1</mi><mo>→</mo><mi>n_1</mi><mo>,</mo><mi>x_2</mi><mo>→</mo><mi>n_2</mi><mo>,</mo><mi>x_3</mi><mo>→</mo><mi>n_3</mi><mo>,</mo><mi>x_4</mi><mo>→</mo><mi>n_4</mi><mo>,</mo><mi>x_5</mi><mo>→</mo><mi>n_5</mi><mo>,</mo><mi>x_6</mi><mo>→</mo><mi>n_6</mi></mrow></mfenced></math></input></command><command><input><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>sol</mi><mo>=</mo><mi>mediana</mi><mo>(</mo><mi>X</mi><mo>)</mo></math></input></command></group></library></session>]]></wirisCasSession><correctAnswers><correctAnswer>#sol</correctAnswer></correctAnswers><assertions><assertion name="syntax_expression"/><assertion name="equivalent_symbolic"/></assertions><options><option name="tolerance">10^(-3)</option><option name="relative_tolerance">true</option><option name="precision">4</option><option name="times_operator">·</option><option name="implicit_times_operator">false</option><option name="imaginary_unit">i</option></options><localData><data name="inputField">inlineEditor</data><data name="gradeCompound">and</data><data name="gradeCompoundDistribution"></data><data name="casSession"/></localData></question>
Pots calcular les freqüències acumulades per saber quin és el valor de la mediana:
Fi |
Fi |
FA |
#x_1 |
#n_1 |
#t_1 |
#x_2 |
#n_2 |
#t_2 |
#x_3 |
#n_3 |
#t_3 |
#x_4 |
#n_4 |
#t_4 |
#x_5 |
#n_5 |
#t_5 |
#x_6 |
#n_6 |
#t_6 |
Total |
#s |
|
]]>