四、综合实例
例2-9 查找重庆市各区县2016年城镇常住居民人均可支配收入的数据,并利用直方图工具进行统计分组。
解:可以通过多种方式查询数据,本书以通过重庆统计信息网查询数据进行介绍,取得数据的过程如下:
进入重庆统计政府公众信息网(见图2-1-46)。

图2-1-46 重庆统计信息网首页
选择“统计数据””下的“数据资料”(见图2-1-47)。

图2-1-47 “数据资料”页面
选择“统计年鉴”(见图2-1-48)。

图2-1-48 “统计年鉴”页面
选择“重庆统计年鉴(2017年)”(见图2-1-49)。

图2-1-49 “重庆统计年鉴(2017年)”页面
点击“二十区县”(见图2-1-50)。

图2-1-50 “二十区县”页面
点击“20-14各区县居民收支情况(2016年)”,得各区县城镇常住居民人均可支配收入(见图2-1-51)。

图2-1-51 各区县城镇常住居民人均可支配收入
把数据下载到Excel表中,进行统计分组(见图2-1-52)。

图2-1-52 输入的数据及分组
在Excel 2003中选择“工具”菜单的“数据分析”子菜单;在Excel 2007、Excel 2010、Excel 2013中选择“数据”菜单的“数据分析”子菜单。用鼠标双击“直方图”选项,填写“直方图”对话框(见图2-1-53)。

图2-1-53 填写“直方图”对话框
点击“确定”,得到结果如图2-1-54所示。

图2-1-54 点击“确定”后的界面
对结果作调整,得到最后的分组,如图2-1-55所示。

图2-1-55 最终结果
以上结果表明,2016年重庆市各区县城镇常住居民人均可支配收入整体呈钟型分布,有3个区县的城镇常住居民人均可支配收入在23000元以下,10个区县的城镇常住居民人均可支配收入在32000元以上。