 ## Enum ObservationStatistics

• All Implemented Interfaces:
`Serializable`, `Comparable<ObservationStatistics>`

```public enum ObservationStatistics
extends Enum<ObservationStatistics>```
• ### Enum Constant Summary

Enum Constants
Enum Constant Description
`_20PERCENT`
The 20th [Percentile](https://en.wikipedia.org/wiki/Percentile) of N measurements over the stated period
`_4DEV`
The difference between the upper and lower [Quartiles](https://en.wikipedia.org/wiki/Quartile) is called the Interquartile range.
`_4LOWER`
The lower [Quartile](https://en.wikipedia.org/wiki/Quartile) Boundary of N measurements over the stated period
`_4UPPER`
The upper [Quartile](https://en.wikipedia.org/wiki/Quartile) Boundary of N measurements over the stated period
`_51`
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
`_52`
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
`_53`
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
`_54`
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
`_80PERCENT`
The 80th [Percentile](https://en.wikipedia.org/wiki/Percentile) of N measurements over the stated period
`AVERAGE`
The [mean](https://en.wikipedia.org/wiki/Arithmetic_mean) of N measurements over the stated period
`COUNT`
The [number] of valid measurements over the stated period that contributed to the other statistical outputs
`KURTOSIS`
Kurtosis is a measure of the "tailedness" of the�probability distribution�of a�real-valued�random variable.
`MAXIMUM`
The [maximum](https://en.wikipedia.org/wiki/Maximal_element) value of N measurements over the stated period
`MEDIAN`
The [median](https://en.wikipedia.org/wiki/Median) of N measurements over the stated period
`MINIMUM`
The [minimum](https://en.wikipedia.org/wiki/Minimal_element) value of N measurements over the stated period
`NULL`
`REGRESSION`
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.
`SKEW`
Skewness is a measure of the asymmetry of the probability distribution of a real-valued random variable about its mean.
`STDDEV`
The [standard deviation](https://en.wikipedia.org/wiki/Standard_deviation) of N measurements over the stated period
`SUM`
The [sum](https://en.wikipedia.org/wiki/Summation) of N measurements over the stated period
`TOTALCOUNT`
The total [number] of valid measurements over the stated period, including observations that were ignored because they did not contain valid result values
`VARIANCE`
The [variance](https://en.wikipedia.org/wiki/Variance) of N measurements over the stated period
• ### Method Summary

All Methods
Modifier and Type Method Description
`static ObservationStatistics` `fromCode​(String codeString)`
`String` `getDefinition()`
`String` `getDisplay()`
`String` `getSystem()`
`String` `toCode()`
`static ObservationStatistics` `valueOf​(String name)`
Returns the enum constant of this type with the specified name.
`static ObservationStatistics[]` `values()`
Returns an array containing the constants of this enum type, in the order they are declared.
• ### Methods inherited from class java.lang.Enum

`clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf`
• ### Methods inherited from class java.lang.Object

`getClass, notify, notifyAll, wait, wait, wait`
• ### Enum Constant Detail

• #### AVERAGE

`public static final ObservationStatistics AVERAGE`
The [mean](https://en.wikipedia.org/wiki/Arithmetic_mean) of N measurements over the stated period
• #### MAXIMUM

`public static final ObservationStatistics MAXIMUM`
The [maximum](https://en.wikipedia.org/wiki/Maximal_element) value of N measurements over the stated period
• #### MINIMUM

`public static final ObservationStatistics MINIMUM`
The [minimum](https://en.wikipedia.org/wiki/Minimal_element) value of N measurements over the stated period
• #### COUNT

`public static final ObservationStatistics COUNT`
The [number] of valid measurements over the stated period that contributed to the other statistical outputs
• #### TOTALCOUNT

`public static final ObservationStatistics TOTALCOUNT`
The total [number] of valid measurements over the stated period, including observations that were ignored because they did not contain valid result values
• #### MEDIAN

`public static final ObservationStatistics MEDIAN`
The [median](https://en.wikipedia.org/wiki/Median) of N measurements over the stated period
• #### STDDEV

`public static final ObservationStatistics STDDEV`
The [standard deviation](https://en.wikipedia.org/wiki/Standard_deviation) of N measurements over the stated period
• #### SUM

`public static final ObservationStatistics SUM`
The [sum](https://en.wikipedia.org/wiki/Summation) of N measurements over the stated period
• #### VARIANCE

`public static final ObservationStatistics VARIANCE`
The [variance](https://en.wikipedia.org/wiki/Variance) of N measurements over the stated period
• #### _20PERCENT

`public static final ObservationStatistics _20PERCENT`
The 20th [Percentile](https://en.wikipedia.org/wiki/Percentile) of N measurements over the stated period
• #### _80PERCENT

`public static final ObservationStatistics _80PERCENT`
The 80th [Percentile](https://en.wikipedia.org/wiki/Percentile) of N measurements over the stated period
• #### _4LOWER

`public static final ObservationStatistics _4LOWER`
The lower [Quartile](https://en.wikipedia.org/wiki/Quartile) Boundary of N measurements over the stated period
• #### _4UPPER

`public static final ObservationStatistics _4UPPER`
The upper [Quartile](https://en.wikipedia.org/wiki/Quartile) Boundary of N measurements over the stated period
• #### _4DEV

`public static final ObservationStatistics _4DEV`
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.
• #### _51

`public static final ObservationStatistics _51`
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
• #### _52

`public static final ObservationStatistics _52`
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
• #### _53

`public static final ObservationStatistics _53`
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
• #### _54

`public static final ObservationStatistics _54`
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
• #### SKEW

`public static final ObservationStatistics SKEW`
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)
• #### KURTOSIS

`public static final ObservationStatistics KURTOSIS`
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)
• #### REGRESSION

`public static final ObservationStatistics REGRESSION`
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.
• #### NULL

`public static final ObservationStatistics NULL`
• ### Method Detail

• #### values

`public static ObservationStatistics[] values()`
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
```for (ObservationStatistics c : ObservationStatistics.values())
System.out.println(c);
```
Returns:
an array containing the constants of this enum type, in the order they are declared
• #### valueOf

`public static ObservationStatistics valueOf​(String name)`
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
`name` - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
`IllegalArgumentException` - if this enum type has no constant with the specified name
`NullPointerException` - if the argument is null
• #### fromCode

```public static ObservationStatistics fromCode​(String codeString)
throws org.hl7.fhir.exceptions.FHIRException```
Throws:
`org.hl7.fhir.exceptions.FHIRException`
• #### toCode

`public String toCode()`
• #### getSystem

`public String getSystem()`
• #### getDefinition

`public String getDefinition()`
• #### getDisplay

`public String getDisplay()`