Aggregate Data in BioStat
To aggregate variables user needs to follow the steps given bellow.
- Steps
Load the dataset -> click on the DATASET tab in main menu -> select AGGREGATE -> Once, the dialog appears select the functions to be applied to the variables being executed -> Execute the dialog.
Output of aggregate is given as.

The arguments used is executing the dialog are given as follows.
- Arguments
var1: factor to group by
var2, var3: variable to aggregate
newvarmean: mean of var2 grouped by var1 in the aggregated dataset
​newvarmedian: median of var3 grouped by var1 in the aggregated dataset
Last modified: 01 October 2025