proc tabulate data = ghpb13;
where filingsize in ('1','3');
class ent2 INS3 filingsize / PRELOADFMT;
TITLE 'Table A5. Selected Expenses of Group Health Plans';
title2 'by type of insurance and type of plan, 2013';
title3 '(numbers in millions)';
title3 'All Plans with Trusts';
var tot_contrib_AME emplr_contrib_income_AME participant_contrib_AME oth_contrib_rcvd_AME
tot_distrib_bnft_AME distrib_drt_partcp_AME ins_carrier_bnfts_AME ioh_ben
tot_admin_expenses_AME professional_fees_AME contract_admin_fees_AME invst_mgmt_fees_AME IOH_AEXP;
table (tot_distrib_bnft_AME='BENEFIT PAYMENTS'
distrib_drt_partcp_AME='Directly to participants or beneficiaries (including rollovers)'
ins_carrier_bnfts_AME='To insurance carriers for the provision of benefits'
ioh_ben='Other'
tot_admin_expenses_AME='ADMINISTRATIVE EXPENSES'
professional_fees_AME='Professional fees'
contract_admin_fees_AME='Contract administrator fees'
invst_mgmt_fees_AME='Investment advisory and management fees'
IOH_AEXP='Other')*sum=' '*f=m12f., 
(all='All Plans' INS3=' ')*(all='Total' ent2=' ')/MISSTEXT='-';
run;

proc tabulate data = ghpb13;
WHERE FILINGSIZE='1';
class ent2 INS3 filingsize / PRELOADFMT;
TITLE 'Table A5. Selected Expenses of Group Health Plans';
title2 'by type of insurance and type of plan, 2013';
title3 '(numbers in millions)';
title3 'Plans with 100 or More Participants & Trusts';
var tot_contrib_AME emplr_contrib_income_AME participant_contrib_AME oth_contrib_rcvd_AME
tot_distrib_bnft_AME distrib_drt_partcp_AME ins_carrier_bnfts_AME ioh_ben
tot_admin_expenses_AME professional_fees_AME contract_admin_fees_AME invst_mgmt_fees_AME IOH_AEXP;
table (tot_distrib_bnft_AME='BENEFIT PAYMENTS'
distrib_drt_partcp_AME='Directly to participants or beneficiaries (including rollovers)'
ins_carrier_bnfts_AME='To insurance carriers for the provision of benefits'
ioh_ben='Other'
tot_admin_expenses_AME='ADMINISTRATIVE EXPENSES'
professional_fees_AME='Professional fees'
contract_admin_fees_AME='Contract administrator fees'
invst_mgmt_fees_AME='Investment advisory and management fees'
IOH_AEXP='Other')*sum=' '*f=m12f., 
(all='All Plans' INS3=' ')*(all='Total' ent2=' ')/MISSTEXT='-';
run;

proc tabulate data = ghpb13;
WHERE FILINGSIZE='3';
class ent2 INS3 filingsize / PRELOADFMT;
TITLE 'Table A5. Selected Expenses of Group Health Plans';
title2 'by type of insurance and type of plan, 2013';
title3 '(numbers in millions)';
title3 'Plans with Fewer Than 100 Participants & Trusts';
var tot_contrib_AME emplr_contrib_income_AME participant_contrib_AME oth_contrib_rcvd_AME
tot_distrib_bnft_AME distrib_drt_partcp_AME ins_carrier_bnfts_AME ioh_ben
tot_admin_expenses_AME professional_fees_AME contract_admin_fees_AME invst_mgmt_fees_AME IOH_AEXP;
table (tot_distrib_bnft_AME='BENEFIT PAYMENTS'
distrib_drt_partcp_AME='Directly to participants or beneficiaries (including rollovers)'
ins_carrier_bnfts_AME='To insurance carriers for the provision of benefits'
ioh_ben='Other'
tot_admin_expenses_AME='ADMINISTRATIVE EXPENSES'
professional_fees_AME='Professional fees'
contract_admin_fees_AME='Contract administrator fees'
invst_mgmt_fees_AME='Investment advisory and management fees'
IOH_AEXP='Other')*sum=' '*f=m12f., 
(all='All Plans' INS3=' ')*(all='Total' ent2=' ')/MISSTEXT='-';
run;
