全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SPSS论坛
4231 5
2007-08-26

刚开始学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.

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

二维码

扫码加我 拉你入群

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

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

全部回复
2007-8-27 04:59:00
你命令里面有21列,数据里面只有19列。
二维码

扫码加我 拉你入群

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

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

2007-8-27 14:06:00

噢,谢谢您,我再试试

二维码

扫码加我 拉你入群

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

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

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.

二维码

扫码加我 拉你入群

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

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

2007-8-27 22:11:00

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

二维码

扫码加我 拉你入群

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

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

2007-8-27 22:12:00

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

先谢谢了,

二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群