1、Spss 分组126 头基础母牛体重资料53.0,50.0,51.0,57.0,56.0,51.0,48.0,46.0,62.0,51.0,61.0,56.0,62.0,58.0,46.5,48.0,46.0,50.0,54.5,56.0,40.0,53.0,51.0,57.0,54.0,59.0,52.0,47.0,57.0,59.0,54.0,50.0,52.0,54.0,62.5,50.0,50.0,53.0,51.0,54.0,56.0,50.0,52.0,50.0,52.0,43.0,53.0,48.0,50.0,60.0,58.0,52.0,64.0,50.0,47.0,37.0,
2、52.0,46.0,45.0,42.0,53.0,58.0,47.0,50.0,50.0,45.0,55.0,62.0,51.0,50.0,43.0,53.0,42.0,56.0,54.5,45.0,56.0,54.0,65.0,61.0,47.0,52.0,49.0,49.0,51.0,45.0,52.0,54.0,48.0,57.0,45.0,53.0,54.0,57.0,54.0,54.0,45.0,44.0,52.0,50.0,52.0,52.0,55.0,50.0,54.0,43.0,57.0,56.0,54.0,49.0,55.0,50.0,48.0,46.0,56.0,45.0,
3、45.0,51.0,46.0,49.0,48.5,49.0,55.0,52.0,58.0,54.51、录入数据,变量视图中输入变量:数据、分组。分别设置小数点为 1 和 0。2、分组,单击菜单中的分析描述统计描述,打开描述对话框。将数据选入变量,选项中勾选最大值,最小值。确定。可知 126 个数据中极差为 28,分为 10 组,组距选为 3,极小值为 37,则第一组下限选36。3、单击菜单中转换计算变量,打开计算变量对话框,目标变量填写分组,数字表达式填 1,单击如果按钮,选择如果个案条件满足则包括,输入:数据 = 36 & 数据 39单击继续,单击确定。依次改变数字表达式和如果条件,完成所有数据的分组。4、统计各组数量,单击菜单栏分析描述统计频率,打开频率对话框,将变量选入变量,单击确定。5、绘制图表。126 头基础母羊体重次数分布表 单位:kg组别 组中值 次数36.0- 37.5 139.0- 40.5 142.0- 43.5 645.0- 46.5 1848.0- 49.5 2651.0- 52.5 2754.0- 55.5 2657.0- 58.5 1260.0- 61.5 763.0- 64.5 2单击菜单栏中图形旧对话框直方图,打开直方图对话框,将分组选入变量,显示正态曲线勾选,单击确定。