NOAA > NESDIS > NCEI > Geomagnetism > Programs |
9. Median of Sorted ValuesThe program SORTVAL is designed to sort a list of unordered data values and place them in ascending size. A median value (or range), for which the number of entries with lower value are equal to the number with higher value, is determined from the ordered list. The presence of outliers in a data set are often first indicated when the median of a data set differs greatly from the mean (average) value of the set. SORTVAL is run from the computer DOS mode; simply enter the program name and touch ENTER on your keyboard. You will be asked to enter the total number of values in your list and then enter the data. For an odd number of data samples, the exact median is computed; for an even number of data samples, the boundary values for the median are found. The results of the program are displayed on your screen. However, you are given the opportunity also to have the results sent to your printer. An example screen is shown below. Download Linux version with C source code Download Windows version with C source code Use your browser back button or the navigation bar at the top to return to the Geomagnetic Utility Programs Home. |
|