Difference between revisions of "Quartile3 Command"
From GeoGebra Manual
Line 2: | Line 2: | ||
{{command|statistics}} | {{command|statistics}} | ||
; Q3[ <List of Numbers> ]: Determines the upper quartile of the list elements. | ; Q3[ <List of Numbers> ]: Determines the upper quartile of the list elements. | ||
− | + | :{{example|1=<div><code><nowiki>Q3[{1, 2, 3, 4}]</nowiki></code> yields ''3.5''.</div>}} | |
+ | ; Q3[ <List of Numbers>, <List of Frequencies> ]: Determines the upper quartile of the list elements considering the frequencies. | ||
+ | :{{example|1=<div><code><nowiki>Q3[{1, 2, 3, 4}, {3, 2, 4, 2}]</nowiki></code> yields ''3''.</div>}} | ||
{{note| 1=<div>GeoGebra uses the '''Moore & McCabe (2002)''' method to calculate quartiles, see http://mathworld.wolfram.com/Quartile.html</div>}} | {{note| 1=<div>GeoGebra uses the '''Moore & McCabe (2002)''' method to calculate quartiles, see http://mathworld.wolfram.com/Quartile.html</div>}} | ||
− | |||
− | |||
− | |||
− |
Revision as of 12:20, 21 December 2012
- Q3[ <List of Numbers> ]
- Determines the upper quartile of the list elements.
- Example:
Q3[{1, 2, 3, 4}]
yields 3.5.
- Q3[ <List of Numbers>, <List of Frequencies> ]
- Determines the upper quartile of the list elements considering the frequencies.
- Example:
Q3[{1, 2, 3, 4}, {3, 2, 4, 2}]
yields 3.
Note:
GeoGebra uses the Moore & McCabe (2002) method to calculate quartiles, see http://mathworld.wolfram.com/Quartile.html