Dummy Variable?



I'm familiarizing myself with SAS after not using it for many years. My data
are the test scores of 33 students, each with a pre-test and post-test score
on 10 subtests. There is no control group. I want to (1) determine if there
is significant change between the pretest and post-test group means for each
subtest; (2) determine if any variables interact--e.g., gender, special
education status, teacher. I'm not sure how to set this up. I assume (always
an iffy process) that I begin with PROC GLM DATA = mydatafile; but I'm not
sure what to do next. Do I run separate PROC GLMs for each subtest? Is this
a repeated measures design given that each subject took a version of the
test twice over time? Is the
MODEL statement pretestA = post-testA ? Do I use the gender, etc. variables
for the CLASS statement? Someone suggested that I set up a dummy variable
for scores so that, for example, the pretest scores are 1 and the post-test
scores are 2. Assuming this is what I should do, would someone please
explain how to alter the .txt file that I imported from Excel? Or is there a
way to add this dummy variable afterwards? And finally, would you good
people please let me know what the correct syntax would be? I've been
reviewing SAS for weeks and reading newsgroup posts for many hours, but I'm
still confused. Thanks in advance.

-Andrea

*Please remove NOSPAM to contact me by e-mail.*


.