/* Formats for Public Survey Data */
PROC FORMAT cntlout=fmtout;

	value msainout
		1='MSA area'
		2='Non-MSA area';

	value censreg
		1='Northeast'
		2='Midwest'
		3='South'
		4='West';

	value censdiv
		1='New England'
		2='Middle Atlantic'
		3='East North Central'
		4='West North Central'
		5='South Atlantic'
		6='East South Central'
		7='West South Central'
		8='Mountain'
		9='Pacific';

	value fornum
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value yesno
		1='Yes'
		2='No'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value gender
		1='Male'
		2='Female'
		.d='Do not know'
		.r='Refused'
		.s='Skip';


	value traffica
		1='Very congested'
		2='Moderately congested'
		3='Slightly congested'
		4='Not at all congested'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value trafficb
		1='Much better'
		2='Somewhat better'
		3='Stayed about the same'
		4='Somewhat worse'
		5='Much worse'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value homey
		1='Convenience '
		2='Saves the company money'
		3='Saves me money'
		4='Saves me time'
		5='To avoid congestion'
		6='Allows me to take care of family members or be home when kids come home'
		7='I do not live in the same area as the company I work for'
		8='I work for multiple businesses'
		9='I get more work done at home'
		10='For health reasons or disability reasons'
		11='Lack of transportation'
		12='Any other reason'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value triptime
		1='Enter month and year'
		2='Less than three months ago'
		3='More than three months ago but less than one year ago'
		6='One year ago'
		4='More than one year ago'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value trasat
		1='Very satisfied'
		2='Satisfied'
		3='Dissatisfied'
		4='Very dissatisfied'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value scretime
		1='Much shorter than expected'
		2='Shorter than expected'
		3='About what you expected'
		4='Longer than you expected'
		5='Much longer than you expected'
		6='You had no expectation'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value screinte
		1='Excessive'
		2='Appropriate'
		3='Inadequate'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value screinfo
		1='Very well informed'
		2='Moderately well informed'
		3='Slightly informed'
		4='Not at all informed'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value screconf
		1='No confidence'
		2='A small amount of confidence'
		3='A moderate amount of confidence'
		4='A great deal of confidence '
		5='Total confidence'
		.d='Do not know'
		.r='Refused';

	value cellphon
		1='Definitely should'
		2='Probably should'
		3='Not sure'
		4='Probably should not'
		5='Definitely should not'
		.d='Do not know'
		.r='Refused';

	value age
		1='18 to 24 years'
		2='25 to 34'
		3='35 to 44'
		4='45 to 54'
		5='55 to 64'
		6='65 to 74'
		7='75 or older'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value educ
		1='Less than high school graduate'
		2='High school graduate (or GED)'
		3='Some college (or technical vocational school/professional business school)'
		4='Two-year college degree (AA: Associate in Arts)'
		5='Four-year college degree (BA or BS: Bachelor of Arts/Science degree)'
		6='Graduate degree (Masters, Ph.D., Lawyer, Medical Doctor)'
		.d='Do not know'
		.r='Refused';

	value income
		1='Under $15,000'
		2='From $15,000 to less than $30,000'
		3='From $30,000 to less than $50,000'
		4='From $50,000 to less than $75,000'
		5='From $75,000 to less than $100,000'
		6='From $100,000 to less than $125,000'
		7='$125,000 or more'
		.d='Do not know'
		.r='Refused';

	value totphon
		1='One'
		2='Two'
		3='Three'
		4='Four or more'
		.d='Do not know'
		.r='Refused';

	value precont
		1='Yes'
		2='No'
		3='Not sure'
		.d='Do not know'
		.r='Refused';

RUN;



/* Formats Allocation */

FORMAT
METRO	MSAINOUT.
CREGION	CENSREG.
CENDIV	CENSDIV.
J1010	YESNO.
J1020	YESNO.
J1040A	YESNO.
J1040B	YESNO.
J1040C	YESNO.
J1040D	YESNO.
J1040E	YESNO.
J1040F	YESNO.
J1040G	YESNO.
J1040H	YESNO.
J1040I	YESNO.
J1040J	YESNO.
J1040K	YESNO.
J1040L	YESNO.
J1045A	YESNO.
J1045B	YESNO.
J1045C	YESNO.
J1045D	YESNO.
J1045E	YESNO.
J1045F	YESNO.
J1045G	YESNO.
J1045H	YESNO.
J1045I	YESNO.
J1045J	YESNO.
J1045K	YESNO.
J1045L	YESNO.
J1050	TRAFFICA.
J1060A	YESNO.
J1060B	YESNO.
J1060C	YESNO.
J1060D	YESNO.
J1060E	YESNO.
J1060F	YESNO.
J1060G	YESNO.
J1060H	YESNO.
J1070	TRAFFICB.
J1080	YESNO.
J1090	YESNO.
J1100	YESNO.
J1120A	HOMEY.
T1010	YESNO.
T1020	YESNO.
T1040C	TRIPTIME.
T1050	YESNO.
T1070	TRASAT.
T1080	SCRETIME.
T1090	TRASAT.
T1100	YESNO.
T1110	SCREINTE.
T1120	TRASAT.
T1130	SCREINFO.
T1140A	YESNO.
T1140B	YESNO.
T1140C	YESNO.
T1140D	YESNO.
T1140E	YESNO.
T1140F	YESNO.
T1140G	YESNO.
T1140H	YESNO.
T1140I	YESNO.
T1140J	YESNO.
T1160	SCRECONF.
T1170	SCRECONF.
T1180	CELLPHON.
D1020	YESNO.
D1040D	AGE.
D1050	GENDER.
D1060	YESNO.
D1070A	YESNO.
D1070B	YESNO.
D1070C	YESNO.
D1070D	YESNO.
D1070E	YESNO.
D1080	EDUC.
D1090	INCOME.
D1160	TOTPHON.
D1170	YESNO.
D1190	PRECONT.

/* Continuous Variables: */

INLNGTH	FORNUM.
M1010	FORNUM.
M1020	FORNUM.
M1030	FORNUM.
M1040	FORNUM.
J1030	FORNUM.
J1035	FORNUM.
J1110	FORNUM.
T1030	FORNUM.
T1040A	FORNUM.
T1040B	FORNUM.
T1060A	FORNUM.
T1060B	FORNUM.
T1060C	FORNUM.
D1010	FORNUM.
BASEWGT	FORNUM.
NR_FACT	FORNUM.
PER_FACT	FORNUM.
PHN_FACT	FORNUM.
CEN_FACT	FORNUM.
WD_FACT	FORNUM.
FNLWGT	FORNUM.
;