如何解决HLM与SPSS版本不匹配,制作mdm文件
发布网友
发布时间:2022-04-25 11:52
我来回答
共1个回答
热心网友
时间:2023-08-31 05:41
因为有同学问关于HLM读入SPSS数据的问题,并且将相关的数据和软件给了我。我用SPSS15.0打开两个数据,没有什么问题。但是,用HLM读入这两个文件以便组成mdm文件时,问题出来了——要么就是说这个文件是空的,要么就说格式不正确。
所以查看了网站中的一些说法发现了一些文字。
熊军是这样说的:
解决方法:一个是使用HLM6.0以上的版本;另一个就是用自己的SPSS打开HLM低版本自带的SAV数据文件,复制自己的数据覆盖该自带数据文件,另存即可。第一个方法呢,我没有试,因为我没有6.0版本的嘛;第二个呢,很好用的*^_^* 特意分享,省得有同志如我般白白耽误两天时间。
但是第二个方法似乎仍然不管用,而且非常的麻烦和浪费时间。更值得关注的是将***.sav文件转换成sas的数据文件比如说***.xpt文件进行转换。我基本上是从下面的通信中获得启发的。
Bill:
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.
对于比尔的来信,丽莎回复如下:
Lisa T. Stickney Ph.D. Candidate:
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.