freq vars=cntry freehms prtyban euftf. * you can insert comments into your syntax to document what you are doing. * an asterisk at beginning means it will be recognised as a comment not a command CROSSTABS /TABLES=cntry BY freehms prtyban /CELLS= COUNT ROW. FREQUENCIES VARIABLES=freehms. EXECUTE. * create new variable grouping into 3 categories rather than 5 RECODE freehms (1 thru 2=1) (3=2) (4 thru 5=3) (SYSMIS=Copy) INTO freehms3 . VARIABLE LABELS freehms3 'Gays and lesbians free to live as they wish 3 category'. VALUE LABELS freehms3 1 'Agree or agree strongly' 2 'neither' 3 'disagree or stronger' .freq vars=freehms3. EXECUTE . FREQUENCIES VARIABLES=freehms freehms3. EXECUTE. FREQUENCIES VARIABLES=freehms freehms3. * apply the design weight, run the tables and then remove the weight. WEIGHT BY dweight . CROSSTABS /TABLES=cntry BY freehms freehms3 /CELLS= COUNT ROW. WEIGHT OFF.