楼主: andrew2008
3501 1

[问答] SPSS新变量生成问题 [推广有奖]

  • 0关注
  • 0粉丝

学前班

50%

还不是VIP/贵宾

-

威望
0
论坛币
31 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
63 点
帖子
2
精华
0
在线时间
0 小时
注册时间
2008-10-29
最后登录
2015-7-1

楼主
andrew2008 发表于 2009-6-18 20:28:05 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
我是SPSS菜鸟,请教个小问题。我的数据库里面有3个变量(A, B C)为分类变量,0和1赋值,现在我想根据这三个变量产生一个新变量(D)。赋值条件就是if A=1 B=1 C=1  then D=1。
    这怎么设置啊。谢谢各位高手
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:SPSS 变量生成 PSS 新变量 分类变量 SPSS 变量

回帖推荐

hplcdadong 发表于2楼  查看完整内容

The following is one of the methods: Go to the syntax window, type the following, compute D=0. if (A=1 or B=1 or C=1) D=1. exec. Select the above syntax, then click the "run" button in the syntax window, you'll get your results. Good luck!

本帖被以下文库推荐

沙发
hplcdadong 发表于 2009-6-24 02:26:41
The following is one of the methods:
Go to the syntax window, type the following,

compute D=0.
if (A=1 or B=1 or C=1) D=1.
exec.

Select the above syntax, then click the "run" button in the syntax window, you'll get your results.
Good luck!
已有 1 人评分经验 论坛币 收起 理由
bakoll + 3 + 3 精彩帖子

总评分: 经验 + 3  论坛币 + 3   查看全部评分

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-27 15:27