I would be very grateful for your reply. I have an SPSS datafile, with 722 cases and missing values coded as -1. I save the spss file into a FIXED ASCII file as usual and then run the (simplified) syntax:
TITLE: example DATA: FILE IS example.dat; VARIABLE: NAMES ARE yy yy2 yy3 xx xx2 xx3; USEVARIABLES ARE yy yy2 yy3 xx xx2 xx3; CATEGORICAL ARE yy yy2 yy3 xx xx2 xx3; MISSING ARE all (-1); MODEL: f1 BY yy yy2 yy3; f2 BY xx xx2 xx3;
THE PROBLEM is that in the OUTPUT the Number of observations is 720 instead of 722. I repeat saving the spss file into different datafiles (with different names) but the same error occurs. Any advice about why this may happen would be greatly appreciated Thanks very much Ioanna vrouva
SPSS saves some missing values as blanks. If you have blanks in the data set and are reading it with free format, the data will not be read correctly. If you cannot see the problem, please send the input, data, output, and your license number to firstname.lastname@example.org.