This code system http://terminology.hl7.org/CodeSystem/observation-statistics defines the following codes:
\n \n \n \n \n \n Code\n \n | \n \n \n \n Display\n \n | \n \n \n \n Definition\n \n | \n \n
\n \n \n \n average\n \n \n \n | \n \n Average | \n \n The [mean](https://en.wikipedia.org/wiki/Arithmetic_mean) of N measurements over the stated period. | \n \n
\n \n \n \n maximum\n \n \n \n | \n \n Maximum | \n \n The [maximum](https://en.wikipedia.org/wiki/Maximal_element) value of N measurements over the stated period. | \n \n
\n \n \n \n minimum\n \n \n \n | \n \n Minimum | \n \n The [minimum](https://en.wikipedia.org/wiki/Minimal_element) value of N measurements over the stated period. | \n \n
\n \n \n \n count\n \n \n \n | \n \n Count | \n \n The [number] of valid measurements over the stated period that contributed to the other statistical outputs. | \n \n
\n \n \n \n total-count\n \n \n \n | \n \n Total Count | \n \n The total [number] of valid measurements over the stated period, including observations that were ignored because they did not contain valid result values. | \n \n
\n \n \n \n median\n \n \n \n | \n \n Median | \n \n The [median](https://en.wikipedia.org/wiki/Median) of N measurements over the stated period. | \n \n
\n \n \n \n std-dev\n \n \n \n | \n \n Standard Deviation | \n \n The [standard deviation](https://en.wikipedia.org/wiki/Standard_deviation) of N measurements over the stated period. | \n \n
\n \n \n \n sum\n \n \n \n | \n \n Sum | \n \n The [sum](https://en.wikipedia.org/wiki/Summation) of N measurements over the stated period. | \n \n
\n \n \n \n variance\n \n \n \n | \n \n Variance | \n \n The [variance](https://en.wikipedia.org/wiki/Variance) of N measurements over the stated period. | \n \n
\n \n \n \n 20-percent\n \n \n \n | \n \n 20th Percentile | \n \n The 20th [Percentile](https://en.wikipedia.org/wiki/Percentile) of N measurements over the stated period. | \n \n
\n \n \n \n 80-percent\n \n \n \n | \n \n 80th Percentile | \n \n The 80th [Percentile](https://en.wikipedia.org/wiki/Percentile) of N measurements over the stated period. | \n \n
\n \n \n \n 4-lower\n \n \n \n | \n \n Lower Quartile | \n \n The lower [Quartile](https://en.wikipedia.org/wiki/Quartile) Boundary of N measurements over the stated period. | \n \n
\n \n \n \n 4-upper\n \n \n \n | \n \n Upper Quartile | \n \n The upper [Quartile](https://en.wikipedia.org/wiki/Quartile) Boundary of N measurements over the stated period. | \n \n
\n \n \n \n 4-dev\n \n \n \n | \n \n Quartile Deviation | \n \n The difference between the upper and lower [Quartiles](https://en.wikipedia.org/wiki/Quartile) is called the Interquartile range. (IQR = Q3-Q1) Quartile deviation or Semi-interquartile range is one-half the difference between the first and the third quartiles. | \n \n
\n \n \n \n 5-1\n \n \n \n | \n \n 1st Quintile | \n \n The lowest of four values that divide the N measurements into a frequency distribution of five classes with each containing one fifth of the total population. | \n \n
\n \n \n \n 5-2\n \n \n \n | \n \n 2nd Quintile | \n \n The second of four values that divide the N measurements into a frequency distribution of five classes with each containing one fifth of the total population. | \n \n
\n \n \n \n 5-3\n \n \n \n | \n \n 3rd Quintile | \n \n The third of four values that divide the N measurements into a frequency distribution of five classes with each containing one fifth of the total population. | \n \n
\n \n \n \n 5-4\n \n \n \n | \n \n 4th Quintile | \n \n The fourth of four values that divide the N measurements into a frequency distribution of five classes with each containing one fifth of the total population. | \n \n
\n \n \n \n skew\n \n \n \n | \n \n Skew | \n \n Skewness is a measure of the asymmetry of the probability distribution of a real-valued random variable about its mean. The skewness value can be positive or negative, or even undefined. Source: [Wikipedia](https://en.wikipedia.org/wiki/Skewness). | \n \n
\n \n \n \n kurtosis\n \n \n \n | \n \n Kurtosis | \n \n Kurtosis is a measure of the "tailedness" of the probability distribution of a real-valued random variable. Source: [Wikipedia](https://en.wikipedia.org/wiki/Kurtosis). | \n \n
\n \n \n \n regression\n \n \n \n | \n \n Regression | \n \n Linear regression is an approach for modeling two-dimensional sample points with one independent variable and one dependent variable (conventionally, the x and y coordinates in a Cartesian coordinate system) and finds a linear function (a non-vertical straight line) that, as accurately as possible, predicts the dependent variable values as a function of the independent variables. Source: [Wikipedia](https://en.wikipedia.org/wiki/Simple_linear_regression) This Statistic code will return both a gradient and an intercept value. | \n \n
\n \n