C:\to_server\website\mrdcl-learning.com\mrdcl_files\DAT-103\run12.stp
start data,
serial number in columns 1,2,3,
card characters 100,
!
ds $gender=$4/1,2,
x='Male;
Female',
xt='Gender',
!
ds $rotat=$5/1,2,
x='A first, B second;
B first, A second',
xt='Rotation order',
!
ds $q1a=$11/1-3,
x='Good;
Average;
Poor',
xt='Rating statement 1',
ds $q1b=$12/1-3,
x='Good;
Average;
Poor',
xt='Rating statement 2',
ds $q1c=$13/1-3,
x='Good;
Average;
Poor',
xt='Rating statement 3',
ds $q1d=$14/1-3,
x='Good;
Average;
Poor',
xt='Rating statement 4',
ds $q1e=$15/1-3,
x='Good;
Average;
Poor',
xt='Rating statement 5',
ds $q1f=$16/1-3,
x='Good;
Average;
Poor',
xt='Rating statement 6',
ds $q1g=$17/1-3,
x='Good;
Average;
Poor',
xt='Rating statement 7',
ds $q1h=$18/1-3,
x='Good;
Average;
Poor',
xt='Rating statement 8',
ds $q1i=$19/1-3,
x='Good;
Average;
Poor',
xt='Rating statement 9',
ds $q1j=$20/1-3,
x='Good;
Average;
Poor',
xt='Rating statement 10',
ds $q2a=$21/1-3,
x='Good;
Average;
Poor',
xt='Rating statement 1',
ds $q2b=$22/1-3,
x='Good;
Average;
Poor',
xt='Rating statement 2',
ds $q2c=$23/1-3,
x='Good;
Average;
Poor',
xt='Rating statement 3',
ds $q2d=$24/1-3,
x='Good;
Average;
Poor',
xt='Rating statement 4',
ds $q2e=$25/1-3,
x='Good;
Average;
Poor',
xt='Rating statement 5',
ds $q2f=$26/1-3,
x='Good;
Average;
Poor',
xt='Rating statement 6',
ds $q2g=$27/1-3,
x='Good;
Average;
Poor',
xt='Rating statement 7',
ds $q2h=$28/1-3,
x='Good;
Average;
Poor',
xt='Rating statement 8',
ds $q2i=$29/1-3,
x='Good;
Average;
Poor',
xt='Rating statement 9',
ds $q2j=$30/1-3,
x='Good;
Average;
Poor',
xt='Rating statement 10',
finish data,
start tables,
if $rotat/1,t#1=$q1a *,
bt='All ratings for A',
if $rotat/2,t#1=$q2a *,
if $rotat/1,t#2=$q1b *,
bt='All ratings for A',
if $rotat/2,t#2=$q2b *,
if $rotat/1,t#3=$q1c *,
bt='All ratings for A',
if $rotat/2,t#3=$q2c *,
if $rotat/1,t#4=$q1d *,
bt='All ratings for A',
if $rotat/2,t#4=$q2d *,
if $rotat/1,t#5=$q1e *,
bt='All ratings for A',
if $rotat/2,t#5=$q2e *,
if $rotat/1,t#6=$q1f *,
bt='All ratings for A',
if $rotat/2,t#6=$q2f *,
if $rotat/1,t#7=$q1g *,
bt='All ratings for A',
if $rotat/2,t#7=$q2g *,
if $rotat/1,t#8=$q1h *,
bt='All ratings for A',
if $rotat/2,t#8=$q2h *,
if $rotat/1,t#9=$q1i *,
bt='All ratings for A',
if $rotat/2,t#9=$q2i *,
if $rotat/1,t#10=$q1j *,
bt='All ratings for A',
if $rotat/2,t#10=$q2j *,
if $rotat/2,t#11=$q1a *,
bt='All ratings for B',
if $rotat/1,t#11=$q2a *,
if $rotat/2,t#12=$q1b *,
bt='All ratings for B',
if $rotat/1,t#12=$q2b *,
if $rotat/2,t#13=$q1c *,
bt='All ratings for B',
if $rotat/1,t#13=$q2c *,
if $rotat/2,t#14=$q1d *,
bt='All ratings for B',
if $rotat/1,t#14=$q2d *,
if $rotat/2,t#15=$q1e *,
bt='All ratings for B',
if $rotat/1,t#15=$q2e *,
if $rotat/2,t#16=$q1f *,
bt='All ratings for B',
if $rotat/1,t#16=$q2f *,
if $rotat/2,t#17=$q1g *,
bt='All ratings for B',
if $rotat/1,t#17=$q2g *,
if $rotat/2,t#18=$q1h *,
bt='All ratings for B',
if $rotat/1,t#18=$q2h *,
if $rotat/2,t#19=$q1i *,
bt='All ratings for B',
if $rotat/1,t#19=$q2i *,
if $rotat/2,t#20=$q1j *,
bt='All ratings for B',
if $rotat/1,t#20=$q2j *,
finish tables,
