Content Disclaimer
Copyright @2020.
All Rights Reserved.

StatsToDo: Area Under Coordinates

Links : Home Index (Subjects) Contact StatsToDo


Data Entry
The data is a table of variable columns, and the columns are separated by at least 1 space or tab.
   Each row represents data from each calculations. Rows may have different number of columns
   The columns are x and y coordinates, as in x1 y1    x2 y2    x3 y3 and so on.
   The x values must be in sequence and with increasing values
   There must therefore be an even number of columns to match the x and y pairs
   Note: There is no error checking. Erroneous data input may lead to unpredictable outputs



This page provides a calculation for the area under a set of coordinates, sometimes called Area Under the Curve (AUC)

The area is calculated using 3 common models of AUC, as shown in the diagram above.

  • The most commonly used model is the area above the line y=0. An example is a measurement of finance over time. The blue area represents income exceeding expenses, and red area expenses exceeding income. The total amount of money left (area) = blue area - red area
  • The second model draws the base line at the minimum y value of the row. All areas are positive in value (blue), and represents the total area above the minimum value. An example is to measure the speed of a car over time, and the area represents distance covered.
  • The third model is the area above the baseline first y value, so that the blue area represents increases in value and red area decreases in value. An example is the Gluclose Tolerance Test, where blood sugar levels are measured over a few hours after a glocose challenge. Glucose tolerance is then calculated as the blue area - red area, the net increase in glucose in the blood.