FHIR Release 3 (STU)

This page is part of the FHIR Specification (v3.0.2: STU 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R4 R3

V3-ProbabilityDistributionType.cs.xml

Vocabulary Work GroupMaturity Level: N/ABallot Status: Informative

Raw XML (canonical form)

**** MISSING DEFINITIONS ****

<CodeSystem xmlns="http://hl7.org/fhir">
  <id value="v3-ProbabilityDistributionType"/> 
  <meta> 
    <lastUpdated value="2016-11-11T00:00:00.000+11:00"/> 
  </meta> 
  <text> 
    <status value="generated"/> 
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p> Release Date: 2016-11-11</p> 

      <table class="grid">
 
        <tr> 
          <td> 
            <b> Level</b> 
          </td> 
          <td> 
            <b> Code</b> 
          </td> 
          <td> 
            <b> Display</b> 
          </td> 
          <td> 
            <b> Definition</b> 
          </td> 
        </tr> 
 
        <tr> 
          <td> 1</td> 
          <td> B
            <a name="B"> </a> 
          </td> 
          <td> beta</td> 
          <td> 
                        The beta-distribution is used for data that is bounded on both
               sides and may or may not be skewed (e.g., occurs when probabilities are estimated.)  Two
               parameters a and b  are available to adjust the curve.  The mean m and variance s2 relate
               as follows: m = a/ (a + b) and s2 = ab/((a + b)2 (a + b + 1)).
            <br/>  

                     
          </td> 
        </tr> 
 
        <tr> 
          <td> 1</td> 
          <td> E
            <a name="E"> </a> 
          </td> 
          <td> exponential</td> 
          <td> 
                        Used for data that describes extinction.  The exponential distribution
               is a special form of g-distribution where a = 1, hence, the relationship to mean m and
               variance s2 are m = b and s2 = b2.
            <br/>  

                     
          </td> 
        </tr> 
 
        <tr> 
          <td> 1</td> 
          <td> F
            <a name="F"> </a> 
          </td> 
          <td> F</td> 
          <td> 
                        Used to describe the quotient of two c2 random variables.  The
               F-distribution has two parameters n1 and n2, which are the numbers of degrees of freedom
               of the numerator and denominator variable respectively. The relationship to mean m  and
               variance s2 are: m = n2 / (n2 - 2) and s2 = (2 n2 (n2 + n1 - 2)) / (n1 (n2 - 2)2 (n2 -
               4)).
            <br/>  

                     
          </td> 
        </tr> 
 
        <tr> 
          <td> 1</td> 
          <td> G
            <a name="G"> </a> 
          </td> 
          <td> (gamma)</td> 
          <td> 
                        The gamma-distribution used for data that is skewed and bounded
               to the right, i.e. where the maximum of the distribution curve is located near the origin.
                The g-distribution has a two parameters a and b.  The relationship to mean m and variance
               s2 is m = a b and s2 = a b2.
            <br/>  

                     
          </td> 
        </tr> 
 
        <tr> 
          <td> 1</td> 
          <td> LN
            <a name="LN"> </a> 
          </td> 
          <td> log-normal</td> 
          <td> 
                        The logarithmic normal distribution is used to transform skewed
               random variable X into a normally distributed random variable U = log X. The log-normal
               distribution can be specified with the properties mean m and standard deviation s.  Note
               however that mean m and standard deviation s are the parameters of the raw value distribution,
               not the transformed parameters of the lognormal distribution that are conventionally referred
               to by the same letters.  Those log-normal parameters mlog and slog relate to the mean
               m and standard deviation s of the data value through slog2 = log (s2/m2 + 1) and mlog
               = log m - slog2/2.
            <br/>  

                     
          </td> 
        </tr> 
 
        <tr> 
          <td> 1</td> 
          <td> N
            <a name="N"> </a> 
          </td> 
          <td> normal (Gaussian)</td> 
          <td> 
                        This is the well-known bell-shaped normal distribution.  Because
               of the central limit theorem, the normal distribution is the distribution of choice for
               an unbounded random variable that is an outcome of a combination of many stochastic processes.
                Even for values bounded on a single side (i.e. greater than 0) the normal distribution
               may be accurate enough if the mean is &quot;far away&quot; from the bound of the scale
               measured in terms of standard deviations.
            <br/>  

                     
          </td> 
        </tr> 
 
        <tr> 
          <td> 1</td> 
          <td> T
            <a name="T"> </a> 
          </td> 
          <td> T</td> 
          <td> 
                        Used to describe the quotient of a normal random variable and
               the square root of a c2 random variable.  The t-distribution has one parameter n, the
               number of degrees of freedom. The relationship to mean m  and variance s2 are: m = 0 and
               s2 = n / (n - 2)
            <br/>  

                     
          </td> 
        </tr> 
 
        <tr> 
          <td> 1</td> 
          <td> U
            <a name="U"> </a> 
          </td> 
          <td> uniform</td> 
          <td> 
                        The uniform distribution assigns a constant probability over the
               entire interval of possible outcomes, while all outcomes outside this interval are assumed
               to have zero probability.  The width of this interval is 2s sqrt(3).  Thus, the uniform
               distribution assigns the probability densities f(x) = sqrt(2 s sqrt(3))  to values m -
               s sqrt(3) &gt;= x &lt;= m + s sqrt(3) and f(x) = 0 otherwise.
            <br/>  

                     
          </td> 
        </tr> 
 
        <tr> 
          <td> 1</td> 
          <td> X2
            <a name="X2"> </a> 
          </td> 
          <td> chi square</td> 
          <td> 
                        Used to describe the sum of squares of random variables which
               occurs when a variance is estimated (rather than presumed) from the sample.  The only
               parameter of the c2-distribution is n, so called the number of degrees of freedom (which
               is the number of independent parts in the sum).  The c2-distribution is a special type
               of g-distribution with parameter a = n /2 and b  = 2.  Hence, m = n and s2 = 2 n.
            <br/>  

                     
          </td> 
        </tr> 

      </table> 

    </div> 
  </text> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status">
    <valueString value="External"/> 
  </extension> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm">
    <valueInteger value="0"/> 
  </extension> 
  <url value="http://hl7.org/fhir/v3/ProbabilityDistributionType"/> 
  <identifier> 
    <system value="urn:ietf:rfc:3986"/> 
    <value value="urn:oid:2.16.840.1.113883.5.1020"/> 
  </identifier> 
  <version value="2016-11-11"/> 
  <name value="v3 Code System ProbabilityDistributionType"/> 
  <status value="active"/> 
  <experimental value="false"/> 
  <date value="2016-11-11T00:00:00+11:00"/> 
  <publisher value="HL7, Inc"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://hl7.org"/> 
    </telecom> 
  </contact> 
  <description value="**** MISSING DEFINITIONS ****"/> 
  <caseSensitive value="true"/> 
  <valueSet value="http://hl7.org/fhir/ValueSet/v3-ProbabilityDistributionType"/> 
  <hierarchyMeaning value="is-a"/> 
  <content value="complete"/> 
  <concept> 
    <code value="B"/> 
    <display value="beta"/> 
    <definition value="The beta-distribution is used for data that is bounded on both sides and may or may not
       be skewed (e.g., occurs when probabilities are estimated.)  Two parameters a and b  are
       available to adjust the curve.  The mean m and variance s2 relate as follows: m = a/ (a
       + b) and s2 = ab/((a + b)2 (a + b + 1))."/> 
  </concept> 
  <concept> 
    <code value="E"/> 
    <display value="exponential"/> 
    <definition value="Used for data that describes extinction.  The exponential distribution is a special form
       of g-distribution where a = 1, hence, the relationship to mean m and variance s2 are m
       = b and s2 = b2."/> 
  </concept> 
  <concept> 
    <code value="F"/> 
    <display value="F"/> 
    <definition value="Used to describe the quotient of two c2 random variables.  The F-distribution has two
       parameters n1 and n2, which are the numbers of degrees of freedom of the numerator and
       denominator variable respectively. The relationship to mean m  and variance s2 are: m
       = n2 / (n2 - 2) and s2 = (2 n2 (n2 + n1 - 2)) / (n1 (n2 - 2)2 (n2 - 4))."/> 
  </concept> 
  <concept> 
    <code value="G"/> 
    <display value="(gamma)"/> 
    <definition value="The gamma-distribution used for data that is skewed and bounded to the right, i.e. where
       the maximum of the distribution curve is located near the origin.  The g-distribution
       has a two parameters a and b.  The relationship to mean m and variance s2 is m = a b and
       s2 = a b2."/> 
  </concept> 
  <concept> 
    <code value="LN"/> 
    <display value="log-normal"/> 
    <definition value="The logarithmic normal distribution is used to transform skewed random variable X into
       a normally distributed random variable U = log X. The log-normal distribution can be specified
       with the properties mean m and standard deviation s.  Note however that mean m and standard
       deviation s are the parameters of the raw value distribution, not the transformed parameters
       of the lognormal distribution that are conventionally referred to by the same letters.
        Those log-normal parameters mlog and slog relate to the mean m and standard deviation
       s of the data value through slog2 = log (s2/m2 + 1) and mlog = log m - slog2/2."/> 
  </concept> 
  <concept> 
    <code value="N"/> 
    <display value="normal (Gaussian)"/> 
    <definition value="This is the well-known bell-shaped normal distribution.  Because of the central limit
       theorem, the normal distribution is the distribution of choice for an unbounded random
       variable that is an outcome of a combination of many stochastic processes.  Even for values
       bounded on a single side (i.e. greater than 0) the normal distribution may be accurate
       enough if the mean is &quot;far away&quot; from the bound of the scale measured in terms
       of standard deviations."/> 
  </concept> 
  <concept> 
    <code value="T"/> 
    <display value="T"/> 
    <definition value="Used to describe the quotient of a normal random variable and the square root of a c2
       random variable.  The t-distribution has one parameter n, the number of degrees of freedom.
       The relationship to mean m  and variance s2 are: m = 0 and s2 = n / (n - 2)"/> 
  </concept> 
  <concept> 
    <code value="U"/> 
    <display value="uniform"/> 
    <definition value="The uniform distribution assigns a constant probability over the entire interval of possible
       outcomes, while all outcomes outside this interval are assumed to have zero probability.
        The width of this interval is 2s sqrt(3).  Thus, the uniform distribution assigns the
       probability densities f(x) = sqrt(2 s sqrt(3))  to values m - s sqrt(3) &gt;= x &lt;=
       m + s sqrt(3) and f(x) = 0 otherwise."/> 
  </concept> 
  <concept> 
    <code value="X2"/> 
    <display value="chi square"/> 
    <definition value="Used to describe the sum of squares of random variables which occurs when a variance is
       estimated (rather than presumed) from the sample.  The only parameter of the c2-distribution
       is n, so called the number of degrees of freedom (which is the number of independent parts
       in the sum).  The c2-distribution is a special type of g-distribution with parameter a
       = n /2 and b  = 2.  Hence, m = n and s2 = 2 n."/> 
  </concept> 
</CodeSystem> 

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.