Table window |
Columns menu |
Aggregate Column |
|
Aggregate the values of a column in the current table. The following aggregation functions are available: Average, Count, Maximum, Median, Minimum, Predominant, Standard deviation, Sum.
You can choose to create a new dependent column in the current table or to create a new dependent column in another table.
Dialog box options:
Column: |
Select a column that contains the data that you want to aggregate. This will usually be a column with a value domain. |
Function: |
Select an aggregation function: Average, Count, Maximum, Median, Minimum, Predominant, Standard Deviation, or Sum. |
Select this check box if you want to obtain aggregation values per group. Subsequently select the 'group by' column. This is usually a column with a class or ID domain; you can also select a column with a Bool domain. Clear this check box if you want to aggregate the values of a whole column. |
|
Weight: |
For the functions Average, Median, Predominant and Standard Deviation, you can select this check box if you want to use a weight column to calculate weighted averages, etc. A weight column is a column with a value domain. Clear this check box if you do not want to use a weight column. |
Output table: |
When you use a 'group by' column, you can create a new dependent column in another table, that table needs to have the same domain as the 'group by' column. |
Output column: |
Type a new column name. A dependent column is created. |
The Column Properties dialog box will appear.
Tips:
See also: