PROC TABULATE DATA=ghpb16 MISSING NOSEPS;
CLASS PART8 INS3 ENT2 filingsize2 / PRELOADFMT;
title 'Table A11. Distribution of Group Health Plan Participants';
title2 'by type of insurance, type of plan, and number of participants, 2016';
TITLE3 'All Plans';
VAR TPART;                                                                                                                                                                                                                                                                                                                                                                
WEIGHT DUP_WGT;                                                                                                                                                                                                                                                                                                                                                                                
TABLE   (ALL='Total' PART8=' ')*tpart=' '*sum=' '*f=k12f.,                                                                                                                                                                                       
		(ALL='All Plans' INS3=' ')*(ALL='Total' ENT2=' ')/MISSTEXT='-' box='Number of Participants End of Year 1/';   
RUN; 

PROC TABULATE DATA=ghpb16 MISSING NOSEPS;
where filingsize2='1';
CLASS PART8 INS3 ENT2 filingsize2 / PRELOADFMT;
title 'Table A11. Distribution of Group Health Plan Participants';
title2 'by type of insurance, type of plan, and number of participants, 2016';
TITLE3 'Plans with Trusts';
VAR TPART;                                                                                                                                                                                                                                                                                                                                                                
WEIGHT DUP_WGT;                                                                                                                                                                                                                                                                                                                                                                                
TABLE   (ALL='Total' PART8=' ')*tpart=' '*sum=' '*f=k12f.,                                                                                                                                                                                       
		(ALL='All Plans' INS3=' ')*(ALL='Total' ENT2=' ')/MISSTEXT='-' box='Number of Participants End of Year 1/';   
RUN; 

PROC TABULATE DATA=ghpb16 MISSING NOSEPS;
where filingsize2='2';
CLASS PART8 INS3 ENT2 filingsize2 / PRELOADFMT;
title 'Table A11. Distribution of Group Health Plan Participants';
title2 'by type of insurance, type of plan, and number of participants, 2016';
TITLE3 'Plans with No Trusts';
VAR TPART;                                                                                                                                                                                                                                                                                                                                                                
WEIGHT DUP_WGT;                                                                                                                                                                                                                                                                                                                                                                                
TABLE   (ALL='Total' PART8=' ')*tpart=' '*sum=' '*f=k12f.,                                                                                                                                                                                       
		(ALL='All Plans' INS3=' ')*(ALL='Total' ENT2=' ')/MISSTEXT='-' box='Number of Participants End of Year 1/';   
RUN; 
