Uploaded image for project: 'CQL Issue Tracker'
  1. CQL Issue Tracker
  2. CQLIT-18

issue with population vs statistical variance...

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • None

      i posted this one in the FHIR chat forum but adding here for tracking

      CQL > variance and pop variance

      Erich Schulz: i think the 2 test case values are reversed...

      Erich Schulz:
      // PopulationVariance
      // should be able to find PopulationVariance of a list
      PopulationVariance_v: 2.5,

      // Variance
      // should be able to find Variance of a list
      Variance_v: 2,
      Erich Schulz: i have a test spreadsheet here

      Erich Schulz:
      // @Test: Variance
      define Variance_v: Variance(

      {1,2,3,4,5}

      )
      // @Test: PopulationVariance
      define PopulationVariance_v: PopulationVariance(

      {1.0,2.0,3.0,4.0,5.0}

      )

            Unassigned Unassigned
            ErichBSchulz Erich Schulz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: