SPSS考试操作题试卷

数据描述:Cosmetic surgery(整形手术)

In the USA, there was a 1600% increase in cosmetic surgical and non-surgical treatments between 1992 and 2002, and 65,000 people in the UK underwent privately and publicly funded operations in 2004 (Kellett, Clarke, & McGill, 2008). With the increasing popularity of this surgery, many people are starting to question the motives of those who want to go under the knife. There are two main reasons to have cosmetic surgery: (1) to help a physical problem, such as having breast reduction surgery to relieve back ache; and (2) to change your external appearance, for example by having a face-lift. Related to this second point, one day cosmetic surgery might be performed as a psychological intervention: to improve self-esteem (Cook, Rosser, & Salmon, 2006; Kellett et al., 2008). Our first example looks at the effects of cosmetic surgery on quality of life. The variables in the data file are

Post_QoL: This variable is a measure of quality of life after the cosmetic surgery(整形手术后的生活质量).

Base_QoL: Quality of life before the surgery.

Surgery: This dummy variable specifies whether the person has undergone cosmetic surgery (1) or whether they are on the waiting list (0).

Clinic: This variable specifies which of 10 clinics the person attended to have their surgery.

Age: This variable tells us the person’s age in years.

BDI: People volunteering for cosmetic surgery (especially when the surgery is purely for vanity) have different personality profiles than the general public (Cook, Rosser, Toone, James, & Salmon, 2006). In particular, these people might have low self-esteem or be depressed. When looking at quality of life it is important to assess natural levels of depression, and this variable used the Beck Depression Inventory (BDI) to do just that(BDI抑郁量表).

Reason: This dummy variable specifies whether the person had/is waiting to have surgery purely to change their appearance (0), or because of a physical reason (1).

Gender: This variable specifies whether the person was a man (1) or a woman (0).

本数据集有.sav(用于SPSS)与.dat(用于R)两种格式,你在答题过程中只允许使用一种格式的数据,例如,如果你首先使用了.dat格式的数据,你在答题过程中将不可以再使用.sav格式的数据,若答题中需要在SPSS中分析本数据集,你必须通过R的数据管理方法将.dat格式的数据导出到可以被SPSS导入的格式,并在答题中显示以上步骤。若违反此规定,你使用第二种格式数据集所解答的问题将不予计分。

以下全部问题,你可使用SPSS或者R甚至两者混合进行解答,但每种工具至少要被独立使用解决一个问题(小题)。

  • (25分) 任选数据集中的三个定类变量,完成以下问题:
  1. (15分)请运用推断统计方法,分析此三个变量中任意两个变量之间的关系,基于此给出上述变量间的关系,给出你的操作的过程并说明理由及实际意义;

答:我选用诊所(clinic)、性别(Gender)和外科(Surgery)三个变量。

设:

H0:不同性别间接受过整容手术的情况无差别

H1:不同性别间接受过整容手术的情况有差别

操作步骤:分析—描述统计—交叉表,将“Gender”选入“行变量”,“Surgery”选入“列变量”,在“统计”中勾选“卡方”“相关性”,点击确定。

输出结果如下图:

表1是统计概要说明,表明有效数据有276个,系统缺失值为0个。

表2是交叉表。

表3为卡方检验表,标下的注释解释了有0个单元格的期望频次小于5,满足实验要求,卡方检验是有效的。其中皮尔逊卡方值为24.941,皮尔逊卡方值的检验的显著性水平为0.000,小于0.05,因此接受原假设H0,拒绝备择假设H1。说明不同性别间接受过整容手术的情况有显著差异。结合表2交叉表,可以看出女性在是否接受整形手术的情况上等待的人数占比要高于男性,说明女性在是否接受整形手术方面相比较于男性更纠结,或者说更加难以决定。

  1. (10分) 针对你选择的三个变量,用统计作图方法描述展示三个变量间的关系,并基于此描述统计给出目标数据的特点分析。

操作步骤:打开spss文件,点击菜单栏“分析”—“描述统计”—“频率”,将“性别”“年龄”选入变量框中,在“图表”选项中勾选“条形图”,“图表值”选择“频率”。

输出结果:

统计

Age

Cosmetic Surgery

Gender

个案数

有效

276

276

276

缺失

0

0

0

众数

35

0

0

标准 偏差

11.095

.500

.496

方差

123.099

.250

.246

范围

47

1

1

最小值

18

0

0

最大值

65

1

1

Age

频率

百分比

有效百分比

累积百分比

有效

18

2

.7

.7

.7

19

2

.7

.7

1.4

20

5

1.8

1.8

3.3

21

2

.7

.7

4.0

23

6

2.2

2.2

6.2

24

7

2.5

2.5

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
提供的源码资源涵盖了安卓应用、小程序、Python应用和Java应用等多个领域,每个领域都包含了丰富的实例和项目。这些源码都是基于各自平台的最新技术和标准编写,确保了在对应环境下能够无缝运行。同时,源码中配备了详细的注释和文档,帮助用户快速理解代码结构和实现逻辑。 适用人群: 这些源码资源特别适合大学生群体。无论你是计算机相关专业的学生,还是对其他领域编程感兴趣的学生,这些资源都能为你提供宝贵的学习和实践机会。通过学习和运行这些源码,你可以掌握各平台开发的基础知识,提升编程能力和项目实战经验。 使用场景及目标: 在学习阶段,你可以利用这些源码资源进行课程实践、课外项目或毕业设计。通过分析和运行源码,你将深入了解各平台开发的技术细节和最佳实践,逐步培养起自己的项目开发和问题解决能力。此外,在求职或创业过程中,具备跨平台开发能力的大学生将更具竞争力。 其他说明: 为了确保源码资源的可运行性和易用性,特别注意了以下几点:首先,每份源码都提供了详细的运行环境和依赖说明,确保用户能够轻松搭建起开发环境;其次,源码中的注释和文档都非常完善,方便用户快速上手和理解代码;最后,我会定期更新这些源码资源,以适应各平台技术的最新发展和市场需求。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值