欢迎来到天天文库
浏览记录
ID:55586341
大小:216.00 KB
页数:2页
时间:2020-05-19
《在SPSS中数据分组.doc》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
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
2、.0,47.0,37.0,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
3、.0,50.0,48.0,46.0,56.0,45.0,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
4、&数据<39单击继续,单击确定。依次改变数字表达式和如果条件,完成所有数据的分组。4、统计各组数量,单击菜单栏分析——描述统计——频率,打开频率对话框,将变量选入变量,单击确定。5、绘制图表。126头基础母羊体重次数分布表单位:kg组别组中值次数36.0-37.5139.0-40.5142.0-43.5645.0-46.51848.0-49.52651.0-52.52754.0-55.52657.0-58.51260.0-61.5763.0-64.52单击菜单栏中图形——旧对话框——直方图,打开直方图对话框,将分组选入变量,显示正态曲线勾选,单击确定。
此文档下载收益归作者所有