C:\to_server\website\mrdcl-learning.com\mrdcl_files\PRJ-102\run1b.stp
start data,
serial number in columns 1,2,3,
card characters 1000,
!
!
ds $working=$4/1-3,
x='Working status\Full time;
Part time;
Not working/retired',
xt='Working status',
!
ds $age=$5/1-3,
x='Age\16-35;
36-54;
55+',
xt='Age',
ds $region=$6/1-3,
x='Region\West;Central;East',
xt='Region',
ds $q1=$8/1-3,
x='Buy regularly;
Buy occasionally;
Never buy',
xt='Q1 Frequency of buying Brand X',
!
di $country,
di $year,
ds $vcountry=$country/1-2,
x='USA;
China',
xt='Country',
ds $vyear=$year/2017,2018,
x='2017;
2018',
xt='Year',
finish data,
start tables,
%jh='Brand X Project : USA<jc>',
dm $banner=$working,$age,$region,
x=$working + $age + $region,
t#1=$q1 * $banner,
finish tables,
