全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SPSS论坛
3336 1
2009-12-07

* Identify Duplicate Cases.


SORT CASES BY 姓名(A) 公民身份号码(A).


MATCH FILES



/FILE=*



/BY
姓名
公民身份号码



/FIRST=PrimaryFirst



/LAST=PrimaryLast.


DO IF (PrimaryFirst).


COMPUTE
MatchSequence=1-PrimaryLast.


ELSE.


COMPUTE
MatchSequence=MatchSequence+1.


END IF.


LEAVE
MatchSequence.


FORMATS
MatchSequence (f7).


COMPUTE
InDupGrp=MatchSequence>0.


SORT CASES InDupGrp(D).


File #1



KEY:
刘×霞
152123××××2921×(注:姓名、身份证号经过处理,避免泄露私人信息)




Error # 5130


File out of order.
All the files in MATCH FILES must be in non-descending


order on the BY variables.
Use SORT CASES to sort the file.


This command not executed.



Error # 547


A program error has occurred: A procedure has called OBSERV after having


received an end of file indication.
A second pass of the data involves


calling OBPINI again.
Please note the circumstances under which this error


occurred, attempting to replicate it if possible, and then notify Technical


Support.


This is an error from which the application cannot recover.


The PASW Statistics run will terminate now.








这是什么原因呢?谢谢!

二维码

扫码加我 拉你入群

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

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

全部回复
2014-12-4 11:43:05
上面的提示说你的配对文件都要先进行个案排序
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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