Basic Statistics is a Java-based implementation for computing statistics on a set of numbers. This implementation is intended to be used in software engineering courses as a subject software system.
Basic Statistics uses the Apache Ant build system. Make sure that you have Ant installed.
-
cd into the Basic Statistics root directory, which contains the
build.xmlbuild file. -
Run
antto compile Basic Statistics. -
The compiled Basic Statistics class files will be in the
bindirectory. -
Run
ant testto run all Basic Statistics unit tests.
How to run Basic Statistics (from the terminal):
- After building the project (i.e., running
ant), cd into thebindirectory and run:java BasicStats. The application's GUI will show up.
Program features:
- Displays a set of entered numbers.
- Computes the mean of the set of numbers.
- Computes the median of the set of numbers.
- Computes the mode of the set of numbers.