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

	value msainout
		1='Inside an MSA'
		2='Outside an MSA';

	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 $tzone
		'C'='Central time'
		'E'='Eastern time'
		'M'='Mountain time'
		'P'='Pacific time'
		'A'='Alaska time'
		'H'='Hawaii time';

	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 useptwhy
		1='Have no vehicle available'
		2='Cheaper/Costs less/Saves money/Parking too expensive'
		3='Faster than other means of transportation'
		4='More convenient than other means of transportation'
		5='Less impact on the environment than other means of transportation'
		6='Parking not available'
		7='Away from home on business or pleasure travel'
		97='Other'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value ptpurp
		1='Work/Work-related'
		2='Shopping'
		3='College/Other school'
		4='Medical services'
		5='Social, religious worship, personal business'
		7='Other'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value comuwya
		1='Commuting to work or school'
		2='Recreation'
		3='Exercise/for my health'
		4='Personal errands (to the store, post office, and so on)'
		5='Required for my job'
		7='Some other purpose'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value roadtypa
		1='Paved roads, not on shoulders of paved roads, but on the actual road'
		2='Shoulders of paved roads'
		3='Bike lanes on roads'
		4='Sidewalks'
		5='Bike paths, walking paths or trails'
		6='Unpaved roads (for example dirt, gravel, sand)'
		7='Grass'
		97='Other'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value roadtypb
		1='Paved roads, not on shoulders of paved roads, but on the actual road'
		2='Shoulders of paved roads'
		3='Bike lanes on roads'
		4='Sidewalks'
		5='Bike paths, walking paths or trails'
		6='Unpaved roads (for example dirt, gravel, sand)'
		7='Track'
		8='Grass'
		97='Other'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

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

	value traseca
		1='Very insecure'
		2='Somewhat insecure'
		3='Somewhat secure'
		4='Very secure'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value trasafea
		1='Very unsafe'
		2='Somewhat unsafe'
		3='Somewhat safe'
		4='Very safe'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value traconva
		1='Very inconvenient'
		2='Somewhat inconvenient'
		3='Somewhat convenient'
		4='Very convenient'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value vehimpob
		1='The cost of the travel'
		2='Your security from terrorism or crime'
		3='Your safety from accidents'
		4='The amount of time it takes to complete the travel'
		5='The level of convenience of using a personal vehicle'
		.d='Do not know'
		.r='Refused'
		.s='Skip';
       
	value traimpob
		1='The cost of the travel'
		2='Your security from terrorism or crime'
		3='Your safety from accidents'
		4='The amount of time it takes to complete the travel'
		5='The level of convenience of using public transit'
		6='The level of customer service you receive'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value airimpob
		1='The cost of the travel'
		2='Your security from terrorism or crime'
		3='Your safety from accidents'
		4='The amount of time it takes to complete the travel'
		5='The level of convenience of traveling by air'
		6='The level of customer service you receive'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value dayscomu
		1='29-31 days/month'
		2='22-28 days/month'
		3='15-21 days/month'
		4='8-14 days/month'
		5='1-7 days/month'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value telemode
		1='Walk'
		6='Drive or ride in a personal vehicle, not in a company car'
		8='Drive or ride in a carpool or vanpool'
		4='Use public transit'
		9='Drive or ride in a company car'
		10='Bicycle to work'
		5='Use a combination of modes'
		97='Other'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value telenumb
		1='Alone'
		2='Other commuters'
		3='Other non-commuters (children, students, etc.)'
		.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'
		4='More than one year ago'
		5='Have never flown on a commercial airline'
		6='One year ago'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value tripurp
		1='Yes, business/job related'
		2='No'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value tripsect
		1='Economy or coach section (also sometimes called the main cabin)'
		2='First class section'
		3='There were no sections in the plane; all seats were in the same section'
		7='Other'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value triparea
		1='Business class section'
		2='Flight attendant'
		3='Flight crew section or cockpit'
		4='None of the sections'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value boarding
		1='Curbside baggage check-in (attendants checking bags just outside the airport doors)'
		2='Ticket counter'
		3='Self service check-in kiosk (an interactive computer terminal available for self service check-in)'
		4='Departure gate'
		5='Internet'
		7='Other'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value scretime
		1='Less than you expected'
		2='About what you expected'
		3='More than you expected'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value screinte
		1='Inadequate'
		2='Adequate'
		3='Excessive'
		.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'
		.s='Skip';

	value scresati
		1='Very unsatisfied'
		2='Somewhat unsatisfied'
		3='Neither unsatisfied nor satisfied'
		4='Somewhat satisfied'
		5='Very satisfied'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value screcons
		1='Very inconsistent'
		2='Somewhat inconsistent'
		3='Somewhat consistent'
		4='Very consistent'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

	value airimpct
		1='Less inclined to travel by commercial airline'
		2='More inclined to travel by commercial airline'
		3='Have had no effect on your commercial airline travel'
		.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';

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

	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='$100,000 or more'
		.d='Do not know'
		.r='Refused';

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

	value adphouse
		1='Household use only'
		2='Business use only'
		3='Both household and business use'
		.d='Do not know'
		.r='Refused'
		.s='Skip';

RUN;

/* Formats Allocation */
FORMAT
METRO	MSAINOUT.
CREGION	CENSREG.
CENDIV	CENSDIV.
TIMEZONE	$TZONE.
G0103	YESNO.
G0150	YESNO.
G0303	YESNO.
G3001A	USEPTWHY.
G3051A	PTPURP.
G0819	YESNO.
G0201	YESNO.
G0210	YESNO.
G0251	YESNO.
G0880	YESNO.
G0350	YESNO.
G0560	YESNO.
G0570	YESNO.
G0453	YESNO.
G0501	YESNO.
G0952A	COMUWYA.
G1054A	ROADTYPA.
G0551	YESNO.
G1102A	COMUWYA.
G1205A	ROADTYPB.
G0703	YESNO.
G0602	YESNO.
G0754A	YESNO.
G0754B	YESNO.
G0754C	YESNO.
G0754D	YESNO.
G0754E	YESNO.
G0754F	YESNO.
G0754G	YESNO.
G0754H	YESNO.
G0754I	YESNO.
G0754J	YESNO.
G0754K	YESNO.
G0754L	YESNO.
G0754M	YESNO.
G0754N	YESNO.
G2017	TRASATA.
G2026	TRASECA.
G2046	TRASAFEA.
G2066	TRASATA.
G2086	TRACONVA.
G2094	VEHIMPOB.
G2117	TRASATA.
G2126	TRASECA.
G2146	TRASAFEA.
G2166	TRASATA.
G2186	TRACONVA.
G2190	TRASATA.
G2194	TRAIMPOB.
G2217	TRASATA.
G2226	TRASECA.
G2246	TRASAFEA.
G2266	TRASATA.
G2286	TRACONVA.
G2290	TRASATA.
G2294	AIRIMPOB.
D0901	YESNO.
B0105 	YESNO.
B0159B	DAYSCOMU.
B0155A	TELEMODE.
B0161	TELENUMB.
B0310	YESNO.
B0315	YESNO.
B0371	YESNO.
B0378	YESNO.
B0375	YESNO.
B0376	YESNO.
B0395	YESNO.
B0398	YESNO.
B0380	YESNO.
B0386	YESNO.
B2311A	TRIPTIME.
B2321 	TRIPURP.
B2333 	TRIPSECT.
B2334 	TRIPAREA.
B2341 	YESNO.
B2401	YESNO.
B2430	YESNO.
B2651D	YESNO.
B2660	BOARDING.
B2751	SCRETIME.
B2801	SCREINTE.
B2853	SCRECONF.
B2900	SCRESATI.
B2950	SCRESATI.
B2977	SCRECONS.
B3002	SCRECONF.
B3100	AIRIMPCT.
B4310	YESNO.
B4320	YESNO.
B4330	YESNO.
B4391A	YESNO.
B4391B	YESNO.
B4391C	YESNO.
B4391D	YESNO.
B4391E	YESNO.
B4391F	YESNO.
B4391G	YESNO.
B4391H	YESNO.
B4391I	YESNO.
B4391J	YESNO.
B4391K	YESNO.
B4391L	YESNO.
B4391M	YESNO.
B4391N	YESNO.
B4391O	YESNO.
B4391P	YESNO.
B4391Q	YESNO.
B5011	YESNO.
B5021	YESNO.
SE0175	YESNO.
MNH0510	YESNO.
MNH0580	YESNO.
MNH0600	YESNO.
D0104	YESNO.
D1103	YESNO.
D0110	YESNO.
D0106	YESNO.
D0107	YESNO.
D0300	AGE.
D0350	GENDER.
D0404	YESNO.
D0402A	YESNO.
D0402B 	YESNO.
D0402C 	YESNO.
D0402D 	YESNO.
D0402E 	YESNO.
D0402F 	YESNO.
D0450	EDUC.
D0501	INCOME.
D0553	ADPHONE.
D0751	ADPHOUSE.
D0810	YESNO.
/* Continuous Variables: */
INLNGTH	FORNUM.
G0851A	FORNUM.
G0851B	FORNUM.
G0851C	FORNUM.
G0851D	FORNUM.
G0902B 	FORNUM.
G0851O	FORNUM.
G0851E	FORNUM.
G0902C 	FORNUM.
G0851F	FORNUM.
G0902D 	FORNUM.
G0851Q	FORNUM.
G0902F	FORNUM.
G0851R	FORNUM.
G0902G	FORNUM.
G0852H	FORNUM.
G0852I	FORNUM.
G1002A	FORNUM.
G1002B	FORNUM.
G1002C	FORNUM.
G0851J	FORNUM.
G1151A	FORNUM.
G1151B	FORNUM.
G1151C	FORNUM.
G0852M	FORNUM.
G1259A 	FORNUM.
G1259B 	FORNUM.
G1259C 	FORNUM.
G0851K	FORNUM.
B0159A	FORNUM.
B0320A	FORNUM.
B0320B 	FORNUM.
B0320C 	FORNUM.
B0352A	FORNUM.
B0352B 	FORNUM.
B0352C 	FORNUM.
B0353	FORNUM.
B0363	FORNUM.
B0388	FORNUM.
B2311B	FORNUM.
B2311C	FORNUM.
B2422	FORNUM.
B2442	FORNUM.
B2601A	FORNUM.
B2601B	FORNUM.
B2601C	FORNUM.
B2651A	FORNUM.
B2651B	FORNUM.
B2651C	FORNUM.
B2701A	FORNUM.
B2701B	FORNUM.
B2701C	FORNUM.
B4341	FORNUM.
B4351	FORNUM.
B4361	FORNUM.
B4366	FORNUM.
B4370	FORNUM.
B4380	FORNUM.
D0061	FORNUM.
D0105	FORNUM.
D0251	FORNUM.
BASEWGT	FORNUM.
NR_FACT	FORNUM.
PER_FACT	FORNUM.
PHN_FACT	FORNUM.
CEN_FACT	FORNUM.
WD_FACT	FORNUM.
FNLWGT	FORNUM.
;