I was wondering if you all could perhaps verify the validity of some syntax I'm trying to use for a regression. To give you some context, I'm making an effort to explore how two separate groups of students are performing year-to-year on a test. I am trying to filter the students based on several variables so that I am parceling out the groups of interest. However, when I run the regression, I am not getting the Ns I was expecting. In reviewing the original dataset, filtering out all cases that missing values for all included variables, I find that there should be more cases included in the outputs produced in SPSS. I am wondering if my syntax are not properly written, and are perhaps filtering out cases unnecessarily. The "ConsecutiveAttendance" variables are to specify that I want students who have attended either 1 year of program, or none at all. The other filters are for a particular district and to exclude High Schools. Sorry if this is a basic/dumb question, but I appreciate any help you guys could offer.

USE ALL.

COMPUTE filter_$=((ConsecutiveAttendance1213 = 1 or ConsecutiveAttendance1213 = 0) AND (SchoolType <> "HS") AND (SchoolDistrict1213= "Santa Ana USD")).

VARIABLE LABELS filter_$ '(ConsecutiveAttendance1213 = 1 or ConsecutiveAttendance1213 = 0) AND (SchoolType <> "HS") AND (SchoolDistrict1213= "Santa Ana USD")(FILTER)'.

VALUE LABELS filter_$ 0 'Not Selected' 1 'Selected'.

FORMATS filter_$ (f1.0).

FILTER BY filter_$.

EXECUTE.

REGRESSION

/DESCRIPTIVES MEAN STDDEV CORR SIG N

/MISSING LISTWISE

/STATISTICS COEFF OUTS R ANOVA

/CRITERIA=PIN(.05) POUT(.10)

/NOORIGIN

/DEPENDENT CST_ELA_SCORE_1213

/METHOD=ENTER ELStatus Gender FRL StudentEthnicity CST_ELA_SCORE_1112 THINKAtt150_1213.