PROC TABULATE DATA=ghpb18 MISSING NOSEPS;

CLASS contract_num_HEALTH INS3 ent3 filingsize / PRELOADFMT;
VAR TPART;                                                                                                                                                                                                                                                                                                                                                                
title 'Table B3. Distribution of Group Health Plan Participants';
title2 'by type of insurance, type of plan, and number of health insurance contracts, 2018'; 
title3 '(thousands)';
title4 'All Plans';
weight dup_wgt;
TABLE   (ALL='Total' contract_num_HEALTH=' ')*tpart=' '*sum=' '*f=k12f.,                                                                                                                                                                                       
		(ALL='All Plans' INS3=' ')*(ALL='Total' ent3=' ')/MISSTEXT='-' box='Number of Health Insurance Contracts';                                                                                                                                                                                                                                                                                                                                         
RUN;

PROC TABULATE DATA=ghpb18 MISSING NOSEPS;
where filingsize='1';
CLASS contract_num_HEALTH INS3 ent3 filingsize / PRELOADFMT;
VAR TPART;                                                                                                                                                                                                                                                                                                                                                                
title 'Table B3. Distribution of Group Health Plan Participants';
title2 'by type of insurance, type of plan, and number of health insurance contracts, 2018'; 
title3 '(thousands)';
title4 'Plans with 100 or More Participants and Trusts';
weight dup_wgt;
TABLE   (ALL='Total' contract_num_HEALTH=' ')*tpart=' '*sum=' '*f=k12f.,                                                                                                                                                                                       
		(ALL='All Plans' INS3=' ')*(ALL='Total' ent3=' ')/MISSTEXT='-' box='Number of Health Insurance Contracts';                                                                                                                                                                                                                                                                                                                                         
RUN;

PROC TABULATE DATA=ghpb18 MISSING NOSEPS;
where filingsize='2';
CLASS contract_num_HEALTH INS3 ent3 filingsize / PRELOADFMT;
VAR TPART;                                                                                                                                                                                                                                                                                                                                                                
title 'Table B3. Distribution of Group Health Plan Participants';
title2 'by type of insurance, type of plan, and number of health insurance contracts, 2018'; 
title3 '(thousands)';
title4 'Plans with 100 or More Participants and No Trusts';
weight dup_wgt;
TABLE   (ALL='Total' contract_num_HEALTH=' ')*tpart=' '*sum=' '*f=k12f.,                                                                                                                                                                                       
		(ALL='All Plans' INS3=' ')*(ALL='Total' ent3=' ')/MISSTEXT='-' box='Number of Health Insurance Contracts';                                                                                                                                                                                                                                                                                                                                         
RUN;

PROC TABULATE DATA=ghpb18 MISSING NOSEPS;
where filingsize='3';
CLASS contract_num_HEALTH INS3 ent3 filingsize / PRELOADFMT;
VAR TPART;                                                                                                                                                                                                                                                                                                                                                                
title 'Table B3. Distribution of Group Health Plan Participants';
title2 'by type of insurance, type of plan, and number of health insurance contracts, 2018'; 
title3 '(thousands)';
title4 'Plans with Fewer Than 100 Participants and Trusts';
weight dup_wgt;
TABLE   (ALL='Total' contract_num_HEALTH=' ')*tpart=' '*sum=' '*f=k12f.,                                                                                                                                                                                       
		(ALL='All Plans' INS3=' ')*(ALL='Total' ent3=' ')/MISSTEXT='-' box='Number of Health Insurance Contracts';                                                                                                                                                                                                                                                                                                                                         
RUN;
