|
From: | knassen |
Subject: | Re: PSPP-BUG: assertion error from src/data/case.c & measurement level is wrong |
Date: | Tue, 28 Feb 2023 20:25:21 -0500 |
Hi Ben, This one was a bit weird. I’ll attach the sps and raw data files here and see if you see the issue. I found that it had to do with the order of the STRING command and the DELETE VARIABLES command. As long as the STRING command is after the DELETE VARIABLES command, it works. So move STRING GENDERC (A8). after the DELETE VARIABLES command, and it should run. I’ve had that issue before, but had to move the STRING command to before the DELETE VARIABLES command to get it to run at that time. The data are hierarchical, set up as 5 cards, 59 characters wide. I’m not using several cards, and those account for the junk1-4 variables that get deleted (that is data from another part of the study). All the data are numeric except for GENDERC, which is the numeric GENDER variable recoded into Male/Female. The STRING command makes GENDERC 8 characters wide so data aren’t truncated. I run it from the command line as “pspp -o emotl_test.list -O width=150 emotl_test.sps” I don’t care much about the Measurement Level because we can use the VARIABLE LEVEL command to set that. It just didn’t do that before, so it was a surprise to see “Unknown.” Kent From: Ben Pfaff <blp@cs.stanford.edu> Thanks for the report. For the crash, to be able to figure this out, I'll need to look at at least the .sps file and possibly at least some of the data. Unless you assigned a measurement level to these variables, it's normal to see "Unknown". On Tue, Feb 28, 2023 at 4:07 PM <knassen@chartermi.net> wrote:
|
emotlng3.dat
Description: Binary data
emotl_test.sps
Description: application/spss-sps
[Prev in Thread] | Current Thread | [Next in Thread] |