Contract Observations into Unique Values and Counts
Menu location: Data_Organizing_Contract.
This function takes a list of values recorded repeatedly for different observations and contracts them into a list of unique observations along with counts of the numbers of times each value was observed.
This list can be expanded again by using the Data_Organizing_Expand function.
Example
The following measurement was observed on 12 subjects but only 5 different values were recorded:
Measurement |
0.1 |
0.3 |
0.3 |
0.3 |
0.5 |
0.5 |
0.5 |
0.5 |
0.5 |
0.7 |
0.7 |
1.0 |
In order to contract this list into a set of unique observations and counts choose Contract from the Organizing section of the Data menu.
For this example:
Measurement | Counts |
0.1 |
1 |
0.3 | 3 |
0.5 | 5 |
0.7 | 2 |
1.0 | 1 |