The Summary command creates a new table of summary statistics according to the grouping columns that you specify. Do not confuse Summary with Summarize, which collects summary statistics for a data table and stores them in global variables. See Store Summary Statistics in Global Variables for details.
summDt = dt << Summary(
	Group( groupingColumns ),
	Subgroup( subGroupColumn ),
	Statistic( columns ),// where statistic is Mean, Min, Max, Std Dev, and so on.
	Output Table Name( newName ) );
dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
summDt = dt << Summary(
	Group( :age ),
	Mean( :height, :weight ), Max( :height ), Min( :weight ),
	Output Table Name( "Height-Weight Chart" ) );
Tip: Output Table Name can take a quoted string or a variable that is a string.
summDt = dt << Summary( Group( :age ), Mean( :height ),
	Link to Original Data Table( 0 )
);
summDt = dt << Summary( Group( :age ), Mean( :height ),
	Include marginal statistics
);
You can specify the format of the statistics column name using statistics column name format(). The column name can be in one of these formats:
summDt = dt << Summary( Group( :age ), Mean( :height ),
	statistics column name format("stat of column")
);

Help created on 9/19/2017