根据另一个变量的值计算变量
我正在学习 SPSS 的研究方法课程,但我对如何输入和定义代表某一点之后含义的值有点困惑。例如,我正在解决的问题是:
假设以下索引分数代表一项旨在了解个人抑郁程度的新调查的表现。根据调查设计,假设得分高于 20 代表抑郁个体。
分数:13.5、15.7、14.3、16.7、21.2、20.7、22.3、17.4、16.8 和 12.4
代表抑郁个体的那些个体的相对频率是多少?
如何定义或使超过 20 的值标记为“抑郁”以准确计算相对频率?
请并谢谢您!
I'm learning SPSS for a research methods class but I'm a bit confused on how to enter and define values that represent a meaning after a certain point. For example, the problem I am working on states:
Suppose the following indexed scores represent performance on a new survey meant to understand an individual’s level of depression. Suppose a score of above 20 represents a depressed individual based on the survey design.
Scores: 13.5, 15.7, 14.3, 16.7, 21.2, 20.7, 22.3, 17.4, 16.8, and 12.4
What is the relative frequency of those individuals that represent depressed individuals?
How would one define or make the values over 20 marked as "depressed" to accurately calculate the relative frequency?
Please and thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您需要根据现有变量计算一个新变量,如果原始变量超过阈值,则该变量的值为 1,否则为 0。有几种方法可以做到这一点,这是最简单的一种:
您现在可以添加标签并分析:
You need to calculate a new variable based on the existing one which will have a value of 1 if the original variable is over the threshold, and 0 if not. There are a few ways to do that, this is the simplest one:
You can now add labels and analyse: