关于自制数据无法读入HLM的问题
上次做作业的时候有同学问我为什么自己造的一个数据HLM读不出来,出现这样的提示:"Invalid dictionary subtype in SPSS level 1. and ***.sav is an empty file.”
我们现在所用的版本都存在一定的问题,无法直接读入更高版本的SPSS数据。这个郭老师以前已经回答过这个问题:
zguo 2005-9-17 05:40
另:
我注意到你说HLM根本没有看到你的一层数据,那可能是因为你用的是老版本的HLM(<6.0)。那么,它不能读取新版本的SPSS(>11)数据格式。我刚毕业的博士生葛建军也遇到过此问题。
最好你还是用HLM6.0以上,就不存在这个问题了。
另外,在没有新HLM软件条件下,我试验过一个笨办法也行,葛建军最后就是这么做的。即用现有的SPSS打开HLM原带SAV文件(那肯定是SPSS老版本),加入你自己的数据,删去其原来数据,然后存盘。那么老版HLM就可以读取你的数据了。你可以试试。
但是,在现有SPSS中将你自己的数据直接另存为SPSS老版本格式并不能解决上述问题!葛建军曾戏称HLM原带SAV数据为“面引子”。
hypnotist 2005-9-17 18:12
多谢郭老师!
我把自己的SPSS版本降到10.0,终于可以建立ssm文件了!
另外国外学者都知道这一问题存在(下面是几个人的邮件交往)
[url]http://www.listserv.uga.edu/cgi-bin/wa?A2=ind0611&L=spssx-l&P=57545[/url] :
Date: Tue, 28 Nov 2006 20:20:31 -0600
Reply-To: RC Intrieri <[email]RC-Intrieri@wiu.edu[/email]>
Sender: "SPSSX(r) Discussion" <[email]SPSSX-L@LISTSERV.UGA.EDU[/email]>
From: RC Intrieri <[email]RC-Intrieri@wiu.edu[/email]>
Subject: Re: empty file message
Content-Type: text/plain; format=flowed; charset="iso-8859-1";
reply-type=response
Actually the solution for this problem involves going to the HLM website.
This is an acknowledged problem with the interface between SPSS and HLM 6.
There is a patch available to apply to HLM. This will allow the direct
transfer of
information from SPSS in and creation of the HLM mdf file.
Best,
Bob Intrieri
----- Original Message -----
From: "Lisa Stickney" <[email]Lts1@ptd.net[/email]>
To: <[email]SPSSX-L@LISTSERV.UGA.EDU[/email]>
Sent: Tuesday, November 28, 2006 7:29 PM
Subject: Re: empty file message
> Hi Bill,
>
> This is a recognized problem with HLM v6. I encountered this problem
> in
> August, and got around it by saving my SPSS files in a SAS format then
> read
> the SAS file into HLM. I did this and found this worked particularly well
> with SAS transport files.
>
> Alternatively, in October, SSI released v6.02. According to SSI, it is
> compatibile with data files created using both SPSS14 and SPSS15. I am in
> the process of upgrading and have not tested it yet, but I see no reason
> it
> shouldn't work.
>
> I hope this helps and good luck.
>
> Best,
> Lisa
>
> Lisa T. Stickney
> Ph.D. Candidate
> The Fox School of Business
> and Management
> Temple University
> [email]Lts@temple.edu[/email]
>
>
>
> ----- Original Message -----
> From: "Bill Wu" <[email]nurwu@buffalo.edu[/email]>
> To: <[email]SPSSX-L@LISTSERV.UGA.EDU[/email]>
> Sent: Tuesday, November 28, 2006 1:27 PM
> Subject: empty file message
>
>
>> Recently, when I used two SPSS files (level 1 and level 2) to create an
>> HLM mdm file, I got the following message. I am wondering this is an
>> SPSS problem or HLM problem. Because these two files works last year for
>> my class. I have these two files upload to university's network system
>> called UB Learns.
>>
>> The message error message from HLM says: "Invalid dictionary subtype in
>> SPSS level 1. and LOS1.sav is an empty file. Actually, I can open
>> LOS1.sav by SPSS (v.14), it is not an empty file. The same two files I
>> used to upload to university computer are fine, I can use them to create
>> the HLM .mdm file without any problem. Any idea, what is wrong with
>> these two files.
>>
>>
>> Bill
最保险的方法是用自己的数据去换HLM提供了例子数据
我试了用15.0存成spss7.0数据,HLM仍然出现问题。最保险的办法是按照郭老师的笨方法。此外,ID需要排序。页:
[1]