Difference between revisions of "Quartile1 Command"
From GeoGebra Manual
Line 2: | Line 2: | ||
{{command|statistics}} | {{command|statistics}} | ||
; Q1[ <List of Numbers> ]: Determines the lower quartile of the list elements. | ; Q1[ <List of Numbers> ]: Determines the lower quartile of the list elements. | ||
− | + | :{{example|1=<div><code><nowiki>Q1[{1, 2, 3, 4}]</nowiki></code> yields ''1.5''.</div>}} | |
+ | ; Q1[ <List of Numbers>, <List of Frequencies> ]: Determines the lower quartile of the list elements considering the frequencies. | ||
+ | :{{example|1=<div><code><nowiki>Q1[{1, 2, 3, 4}, {3, 2, 4, 2}]</nowiki></code> yields ''1''.</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 11:59, 21 December 2012
- Q1[ <List of Numbers> ]
- Determines the lower quartile of the list elements.
- Example:
Q1[{1, 2, 3, 4}]
yields 1.5.
- Q1[ <List of Numbers>, <List of Frequencies> ]
- Determines the lower quartile of the list elements considering the frequencies.
- Example:
Q1[{1, 2, 3, 4}, {3, 2, 4, 2}]
yields 1.
Note:
GeoGebra uses the Moore & McCabe (2002) method to calculate quartiles, see http://mathworld.wolfram.com/Quartile.html