Save all your current work, then open a new instance of SPSS. Make sure that you put warnings, etc. into the output file. . Cut-and-paste then run the syntax after the sig block. Art Art@DrKendall.org Social Research Consultants University Park, MD USA (301) 864-5570 new file. * this program creates 10 "Likert" variables . set seed = 20050727. input program. vector item (10,f1). loop id = 1 to 45. loop #k = 1 to 10. compute item(#k) = rnd(rv.uniform(1,5)). end loop. end case. end loop. end file. end input program. formats id (f3). value labels item1 to item5 1 'SD' 2 'D' 3 'Neither' 4 'A' 5 'SA'. compute myscale = sum(item1 to item10). Plance Debouver wrote: >Any SPSS syntax that can allows to create a Likert scale with 10 variables and fill it with random interger values between 1-5 with 45 cases? > > > > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com > > > >