Documentation / CalcMe

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • Wiris Quizzes

      • Learning Lemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • VPAT for the electronic documentation

                • MathFlow

                  • BF FAQ

                    • Miscellaneous

                      • Home
                      • CalcMe
                      • Commands
                      • Statistics
                      • Statistics

                      Quartile

                      Reading time: 1min

                      This function returns the quartiles of a data sample.

                      Syntax

                      quartile(Random_variable)
                      

                      Description

                      It returns a vector of three components: the k-th component corresponds to the k-th quartile.

                      Options

                      Option Description Format Default value
                      type We can choose the method to calculate the quartiles. There are 11 different types. From 1 to 9 correspond to the quartile calculation methods described by Hyndman and Fan in their article Sample quantiles in statistical packages (1996). The numbering is the same as theirs. Type 10 takes the median for quartile 2, and the median of the corresponding half of the data set for quartiles 1 and 3. Does not include the median in the computation of the first and third quartiles if the number of elements is odd. Type 11 takes the median for quartile 2, and the median of the corresponding half of the data set for quartiles 1 and 3. Includes the median in the computation of the first and third quartiles if the number of elements is odd. {type=8} {type=11}

                      Was this article helpful?

                      Yes
                      No
                      Give feedback about this article

                      Related Articles

                      • Statistics
                      • Bar chart
                      • Bernoulli variable
                      • Binomial variable
                      • Boxplot

                      Quartile

                      Syntax Description Options

                      Making people’s STEM work more meaningful

                      MathType

                      • MathType for Office Tools
                      • MathType for Mac
                      • MathType for Microsoft 365
                      • MathType for Google Workspace
                      • MathType for LMS
                      • MathType for XML Editors
                      • Arabic notation
                      • Our products accessibility
                      • MathType is online

                      WirisQuizzes

                      Learning Lemur

                      Solutions for Education

                      • Blackboard Learn
                      • Brightspace by D2L
                      • Canvas
                      • Google Classroom
                      • Moodle
                      • Schoology

                      Solutions for Publishing Houses

                      Solutions for Technical Writers

                      Solutions for Chemistry

                      Integrations

                      • HTML Editors
                      • MathType in WordPress

                      Pricing

                      Company

                      Careers

                      Blog

                      Contact Us

                      Buy Now

                      Plugin Downloads

                      © Wiris 2025

                      • Cookie Settings
                      • Cookie Policy
                      • Terms of Use
                      • Privacy Policy / GDPR
                      • Student Data Privacy
                      • Compliance
                      • Powered by Helpjuice
                      Expand