# Algorithm

Jump to navigation Jump to search

A set of rules dictating how something should be computed.

## Example

An algorithm to compute an average is:

1. Sum up the values of each observation, one-by-one, in the order with which they appear in the data.
2. Divided the sum by the number of observations.