Object Reference : Object View and Procedure Reference : Alpha
  
 
freq
Compute frequency tables.
freq performs a one-way frequency tabulation. The options allow you to control binning (grouping) of observations.
Syntax
alpha_name.freq(options)
Options
 
dropna (default) / keepna
[Drop/Keep] NA as a category.
n, obs, count (default)
Display frequency counts.
nocount
Do not display frequency counts.
prompt
Force the dialog to appear from within a program.
p
Print the table.
total (default) / nototal
[Display / Do not display] totals.
pct (default) / nopct
[Display / Do not display] percent frequencies.
cum (default) / nocum
(Display/Do not) display cumulative frequency counts/percentages.
Examples
names.freq
tabulates each value of NAMES in ascending order with counts, percentages, and cumulatives.
Cross-references
See “One-Way Tabulation” for a discussion of frequency tables.