On some populations, PAC returns a different result than Excel - the baseline calculator in my world.

For this run, the Voltage sample set, pac returns the same value as Excel for volt Median.

I do have another EVEN numbered set that returns volt

*and*current Median values spot-on with Excel.

It seems that for this population set, 762 and 790 should be averaged together to return 776

'Current' sample set (unsorted)

1 930

2 842

3 670

4 730

5 840

6 733

7 720

8 891

9 850

10 762

11 690

12 790

13 910

14 900

15 910

16 760

17 891

18 752

19 760

20 700

Sample set (sorted)

1 670

2 690

3 700

4 720

5 730

6 733

7 752

8 760

9 760

10

**762**

11

**790**

12 840

13 842

14 850

15 891

16 891

17 900

18 910

19 910

20 930

Excel 776

PAC 762

Background info - in case you are interested

I am measuring multiples of 100 capacitor voltages and currents. I put these values into MEAS_V and MEAS_I arrays (scaled and *calibration* offsets applied.)

I then loop through the arrays. If the looped cap is not failed, I copy its voltage to the VoltPopulation and its current to the CurrentPopulation arrays. I count each WorkingPass (WPCount).

I then do STA-Median using '1' as the start column and the WPCount as the end column. I also do a Min and Max.

I do this on a 2-second interval. The MEASured and the MinMaxMed values are made available for the HMI.

## Comment