Statistical Functions

PawCalc supports a number of simple statistical functions like average, standard deviation, and variance. Select the 'statistics' layout in the menus to use the statistical functions.

The button CLR clears the statistical registers. ADD adds an entry. REM removes an entry. The entry added or removed is the one in the result line. For example, to add the entry 2 do the following: press 2, press EXE, press ADD.

Example:

Compute statistical information on the set 1, 2, 3 with N-1 as divisor for variance and standard deviation:

  • Select 'Preferences' in the 'Edit' menu. Select 'N-1' and press 'Okay'.
  • Press CLR to clear the registers
  • Enter 1, press EXE, press ADD
  • Enter 2, press EXE, press ADD
  • Enter 3, press EXE, press ADD

Now the statistical registers have the following values:

  • num : 3 (number of entries)
  • sum : 6 (sum of the entries)
  • sos : 14 (sum of squares)
  • ave : 2 (average)
  • std : 1 (standard deviation)
  • var : 1 (variance)

Hint: Use this program to easily view all statistical registers.
Stat

/* Show the contents of the statistical registers */

store x;
store x "num;sum;sos;ave;std;var;";

say "Number = %x0%\nSum = %x1%\nSOS = %x2%\n"
    "Average = %x3%\nStd. deviation = %x4%\nVariance = %x5%\n";

x;