楼主: lshp691
4019 5

[问答] 请教一下,我的程序那错了,谢谢 [推广有奖]

  • 0关注
  • 0粉丝

高中生

5%

还不是VIP/贵宾

-

威望
0
论坛币
20 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
189 点
帖子
29
精华
0
在线时间
3 小时
注册时间
2007-7-20
最后登录
2016-4-16

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币

刚开始学SPSS,

请教一下,我的编程那错了,万分感谢

DATA LIST/id 1-3 age 4 profession 5 income 6 education 7 v1 8 v2 9 v3 10 v4 11 v5 12 v6 13-15 v7 16 v8 17 v9 18-20 v10 21.
VARIABLE LABEL id '样本号'age'调查者年龄'profession'调查者的职业'income'家庭年收入'education'调查者教育背景'
v1'您是否有装修的经历'v2'您在装修时(希望)选择的是'v3'您能接受的装修价位在元/m2'
v4'您在购买材料时注重材料的品牌'v5'您希望装修时购买的材料'v6'您装修时的感觉'
v7'您是否了解“工厂化生产,现场装配”这种施工方式'v8'如果目前您家里装修,您是否会考虑“工厂化生产,现场装配”这种施工方式'
v9'您不考虑“工厂化生产,现场装配”的主要原因是'v10您觉得装饰工厂化的前景如何'.
VALUE LABEL age 1'20以下'2'20~30'3'30~40'4'40~50'5'50以上/
profession 1'事业单位'2'国有企业'3'民营企业'4'个体工商户'5'其他'/
income1'2万以下'2'2~5万'3'5~10万'4'10万以上'/ education 1'高中以下'2'高中/
中专'3'大学以上'/ v1 1'是'2'否'/v2 1'马路游击队'2'一般装饰企业'3'工厂化装饰企业'/
v3 1'600-800'2'800-1000 '3'1000元以上'/
v4 1'是'2'否'3'无所谓'/
v5 1'成品'2'原材料自己加工'3'工厂化生产的成套部品'/
v6 1'费时'2'费力'3'费心'/
v7 1'是'2'否'3'不太清楚'/
v8 1'已采用'2'即将采用'3'观望'4'不采用'5'可以采用'/
v9 1'个性化问题'2'经济问题'3'不太熟悉'/
v10 1'必然趋势'2'观望'.
BEGIN DATA.
001 5 3 2 3 1 3 2 1 3 123 3 5 3 1

001 5 3 2 3 1 3 2 1 3 123 3 5 3 1
END DATA.

我的数据太多,不想直接输,可这样做数据导不进去,请指教,谢谢,谢谢!!!!!!!!

二维码

扫码加我 拉你入群

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

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

关键词:Profession Education ducation Variable Income 请教 程序

沙发
spoonshen 发表于 2007-8-27 04:59:00 |只看作者 |坛友微信交流群
你命令里面有21列,数据里面只有19列。

使用道具

藤椅
lshp691 发表于 2007-8-27 14:06:00 |只看作者 |坛友微信交流群

噢,谢谢您,我再试试

使用道具

板凳
lshp691 发表于 2007-8-27 22:07:00 |只看作者 |坛友微信交流群

Data List will read 1 records from the command file

Variable Rec Start End Format

ID 1 1 3 F3.0
AGE 1 4 4 F1.0

>Error # 4138 in column 24. Text: PROFESSION
>Unrecognized text appears on the DATA LIST command where a variable name
>was expected.
>This command not executed.

>Error # 100. Command name: VARIABLE LABEL
>This command is not permitted before the beginning of file definition
>commands.
>This command not executed.


>Error # 100. Command name: VALUE LABEL
>This command is not permitted before the beginning of file definition
>commands.
>This command not executed.


>Error # 105. Command name: BEGIN DATA
>This command is not valid before a working file has been defined.
>This command not executed.


>Error # 1. Command name: 001
>The first word in the line is not recognized as an SPSS command.
>This command not executed.


>Error # 1. Command name: 001
>The first word in the line is not recognized as an SPSS command.
>This command not executed.

使用道具

报纸
lshp691 发表于 2007-8-27 22:11:00 |只看作者 |坛友微信交流群

出现的是这个错误,请问是什么意思啊,谢谢

使用道具

地板
lshp691 发表于 2007-8-27 22:12:00 |只看作者 |坛友微信交流群

大家再帮我看看我的编程,还是错了,

先谢谢了,

使用道具

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

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-5-1 10:23