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

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

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

	value phontype
		1='Home'
		2='Business'
		3='Both home and business'
		.d='Do not know'
		.r='Refused';

	value callbck
		1='Proceed'
		2='Schedule call back';

	value noptwhy
		1='Prefer my own vehicle'
		2='I am retired/not working/not in school'
		3='Need to make multiple stops to/from work/school'
		4='No public transit available in the local area'
		5='Do not understand/know routes and schedules'
		6='Not convenient'
		7='Not flexible'
		8='Takes too much time'
		9='Distance from home to stops is too great'
		10='Uncomfortable riding with strangers'
		11='Costs too much'
		12='Unreliable'
		13='Unsafe'
		15='Health/disability/physical limitations'
		14='Other'
		.d='Do not know'
		.r='Refused'
		.s='Appropriate skip';

	value comuwhy
		1='Commuting to work or school'
		2='Recreation'
		3='Exercise/for my health'
		4='Personal errands'
		6='Required for my job'
		5='Some other purpose'
		.d='Do not know'
		.r='Refused'
		.s='Appropriate skip';

	value roadtypa
		1='Paved roads, not on shoulder'
		2='Shoulders of paved roads'
		3='Bike lanes on roads'
		4='Sidewalks, walking paths or trails'
		5='Bike paths or trails'
		6='Unpaved roads'
		7='Grass'
		8='Other'
		.d='Do not know'
		.r='Refused'
		.s='Appropriate skip';

	value roadtypb
		1='Paved roads, not on shoulder'
		2='Shoulders of paved roads'
		3='Bike lanes on roads'
		4='Sidewalks, walking paths or trails'
		5='Bike paths or trails'
		6='Unpaved roads'
		9='Track'
		7='Grass'
		8='Other'
		.d='Do not know'
		.r='Refused'
		.s='Appropriate skip';

	value accitran
		1='Personal vehicle'
		2='Organized carpool or vanpool'
		3='City-to-city bus'
		4='City-to-city train'
		5='Public transit within city or metropolitan area'
		6='Commercial airplane'
		7='Charter, private or corporate airplane'
		8='Motorcycle, including motorized scooter or motorized bicycle'
		9='Bicycle'
		10='Walking, running, or jogging'
		11='Commercial boat, ship or ferry'
		12='Personal watercraft'
		13='Recreational boat'
		15='Other'
		.d='Do not know'
		.r='Refused'
		.s='Appropriate 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='Appropriate skip';

	value comuwher
		1='To work'
		2='To school'
		3='Both to work and to school'
		.d='Do not know'
		.r='Refused'
		.s='Appropriate skip';

	value comurout
		1='You go to work and to school on different days'
		2='You go to work, then directly to school'
		3='You go to work, then home, then to school'
		4='You go to school, then directly to work'
		5='You go to school, then home, then to work'
		6='Something else'
		.d='Do not know'
		.r='Refused'
		.s='Appropriate skip';

	value deltran
		1='Personal vehicle'
		2='Organized carpool or vanpool'
		3='City-to-city bus'
		4='City-to-city train'
		5='Public transit within city or metropolitan area'
		6='Commercial airplane'
		7='Charter, private or corporate airplane'
		8='Motorcycle, including motorized scooter or motorized bicycle'
		9='Bicycle'
		10='Walking, running, or jogging'
		11='Commercial boat, ship or ferry'
		12='Other'
		.d='Do not know'
		.r='Refused'
		.s='Appropriate skip';

	value causea
		1='Traffic volume'
		2='Crashes or accidents'
		3='Construction, repairs, or detours'
		4='Weather'
		5='Blocked intersections'
		6='Ill-timed traffic lights'
		7='Other'
		.d='Do not know'
		.r='Refused'
		.s='Appropriate skip';

	value causeb
		1='Weather'
		2='Mechanical problems'
		3='Capacity problems'
		4='Construction, repairs, detours'
		5='Congestion'
		6='Crime, fire, or security incidents'
		7='Other'
		.d='Do not know'
		.r='Refused'
		.s='Appropriate skip';

	value yesnogov
		1='Yes'
		2='No'
		3='Do not remember'
		.d='Do not know'
		.r='Refused';

	value govwhy
		1='Driver permit, license or training'
		2='Tags or registration'
		3='Pot holes, pavement problems, speed bumps, speed limits'
		4='Road rage, aggressive or drunk driving'
		5='Report an accident, speeding, or other violation observed'
		6='Snow, trash or debris removal'
		7='Car/truck/SUV crash tests, recalls, rollover, tires, airbags'
		8='Vehicle safety ratings'
		9='Baby or child seats'
		10='Airline service, delays, complaints or noise'
		11='Railroads, railroad crossings, or noise'
		12='Boating, boat safety, vessel documentation'
		13='Transportation data or statistics'
		14='Pipelines, hazardous materials'
		15='Other'
		.d='Do not know'
		.r='Refused'
		.s='Appropriate skip';

	value govname
		1='Bureau of Transportation Statistics (BTS)'
		2='Congress (United States Senate or House of Representatives)'
		3='Federal Aviation Administration (FAA)'
		4='Federal Railroad Administration (FRA)'
		5='Federal Motor Carrier Safety Administration (FMCSA)'
		6='Federal Transit Administration (FTA)'
		7='Federal Highway Administration (FHWA)'
		8='Maritime Administration (MARAD)'
		9='National Highway Traffic Safety Administration (NHTSA)'
		10='Research and Special Programs Administration (RSPA)'
		11='Secretary of the US Department of Transportation (OST)'
		12='St. Lawrence Seaway Development Corporation'
		13='United States Coast Guard'
		14='State Department of Motor Vehicles (DMV, MVA)'
		15='City, County, Township or Parish Government Office'
		16='County or Local Police, Sheriff'
		17='Public Transit Agency'
		18='State Department of Transportation (State DOT)'
		19='State Legislature (State Senate, Delegates, Representatives)'
		20='State Police, State Patrol, Highway Patrol'
		21='Some Other Agency'
		22='Do not know/do not remember'
		.r='Refused'
		.s='Appropriate skip';

	value opinion
		1='Disagree strongly'
		2='Disagree somewhat'
		3='Neither agree nor disagree'
		4='Agree somewhat'
		5='Agree strongly'
		6='NA'
		.d='Do not know'
		.r='Refused'
		.s='Appropriate skip';

	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'
		3='Some college'
		4='Two-year college degree'
		5='Four-year college degree'
		6='Graduate degree'
		.d='Do not know'
		.r='Refused';

	value income
		1='Under $15,000'
		2='From $15,000 to $29,000'
		3='From $30,000 to $49,000'
		4='From $50,000 to $74,000'
		5='From $75,000 to $99,000'
		6='$100,000 or more'
		.d='Do not know'
		.r='Refused';

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

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

	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 metroin
		1 = 'Inside an MSA'
		2 = 'Outside an MSA';

	value $tzone
		"C" = "Central time"
		"E" = "Eastern time"
		"M" = "Mountain time"
		"P" = "Pacific time";

RUN;

/* Formats Allocation */

FORMAT
METRO    METROIN.
TIMEZONE $TZONE. 
CREGION  CENSREG.
CENDIV	CENSDIV.
G0101	YESNO.
G0150	YESNO.
G0201	YESNO.
G0251	YESNO.
G0301	YESNO.
G0350	YESNO.
G0401	YESNO.
G0451	YESNO.
G0500	YESNO.
G0550	YESNO.
G0600	YESNO.
G0651	YESNO.
G0701	YESNO.
G0750	YESNO.
G0800A	NOPTWHY.
G0951A	COMUWHY.
G1051A	ROADTYPA.
G1101A	COMUWHY.
G1201A	ROADTYPB.
G1351	YESNO.
G1451A	ACCITRAN.
G1501A	YESNO.
G1501B 	YESNO.
G1501C 	YESNO.
G1501D 	YESNO.
G1501E 	YESNO.
G1501F 	YESNO.
G1501G 	YESNO.
G1501H 	YESNO.
G1501I 	YESNO.
B0101 	YESNO.
B0151	DAYSCOMU.
B0201	COMUWHER.
B0251A	COMUROUT.
B0301A	YESNO.
B0301B 	YESNO.
B0301C 	YESNO.
B0301D 	YESNO.
B0301E 	YESNO.
B0301F 	YESNO.
B0301G 	YESNO.
B0301H 	YESNO.
B0301I 	YESNO.
B0301J 	YESNO.
B0301K 	YESNO.
B0301L 	YESNO.
B0451A 	YESNO.
B0451B 	YESNO.
B0451C 	YESNO.
B0451D 	YESNO.
B0451E 	YESNO.
B0451F 	YESNO.
B0451G 	YESNO.
B0451H 	YESNO.
B0451I 	YESNO.
B0451J 	YESNO.
B0451K 	YESNO.
B0451L 	YESNO.
B0650	YESNO.
B0700A 	YESNO.
B0700B 	YESNO.
B0700C 	YESNO.
B0700D 	YESNO.
B0700E 	YESNO.
B0700F 	YESNO.
B0700G 	YESNO.
B0700H 	YESNO.
B0700I 	YESNO.
B0700J 	YESNO.
B0700K 	YESNO.
B0700L 	YESNO.
SM0100	YESNO.
SM0150A	DELTRAN.
SM0200A CAUSEA.
SM0250A CAUSEB.
SM0350 	YESNO.
SM0400 	YESNO.
SM0450 	YESNO.
SM0500 	YESNO.
SM0550 	YESNO.
T0101	YESNOGOV.
T0151A 	GOVWHY.
T0200A 	YESNO.
T0200B 	YESNO.
T0200C 	YESNO.
T0200D 	YESNO.
T0200E 	YESNO.
T0250A	GOVNAME.
T0351	OPINION.
T0401	OPINION.
T0451	OPINION.
T0501	OPINION.
MCG0100		YESNO.
MCG0151A	YESNO.
MCG0151B 	YESNO.
MCG0151C 	YESNO.
MCG0151D 	YESNO.
MCG0151E 	YESNO.
MCG0151F 	YESNO.
MCG0151G 	YESNO.
MCG0151H	YESNO.
MCG0151I 	YESNO.
MCG0151J 	YESNO.
MCG0151K 	YESNO.
MCG0151L 	YESNO.
MCG0151M 	YESNO.
MCG0151N 	YESNO.
MCG0151O	YESNO.
MCG0151P 	YESNO.
MCG0151Q 	YESNO.
MNH0205	OPINION.
MNH0210	OPINION.
D0100	YESNO.
D0300	AGE.
D0350	GENDER.
D0401A	YESNO.
D0401B 	YESNO.
D0401C 	YESNO.
D0401D 	YESNO.
D0401E 	YESNO.
D0401F 	YESNO.
D0401G 	YESNO.
D0450	EDUC.
D0500	INCOME.
D0551	YESNO.
D0700	ADDPHONE.
D0750	ADPHOUSE.
/* Continuous Variables: */
G0851A	FORNUM.
G0851B	FORNUM.
G0851C	FORNUM.
G0851D	FORNUM.
G0851E	FORNUM.
G0851F	FORNUM.
G0851G	FORNUM.
G0851H	FORNUM.
G0851I	FORNUM.
G0851J	FORNUM.
G0851K	FORNUM.
G0851L	FORNUM.
G0851M	FORNUM.
G0851N	FORNUM.
G0901A	FORNUM.
G0901B 	FORNUM.
G0901C 	FORNUM.
G0901D 	FORNUM.
G0901E 	FORNUM.
G1000A	FORNUM.
G1000B	FORNUM.
G1000C	FORNUM.
G1150A	FORNUM.
G1150B	FORNUM.
G1150C	FORNUM.
G1250A	FORNUM.
G1250B 	FORNUM.
G1250C 	FORNUM.
G1256A 	FORNUM.
G1256B 	FORNUM.
G1256C 	FORNUM.
G1401	FORNUM.
B0351A	FORNUM.
B0351B 	FORNUM.
B0351C 	FORNUM.
B0501A 	FORNUM.
B0501B 	FORNUM.
B0501C 	FORNUM.
D0060	FORNUM.
D0251	FORNUM.
BASEWGT	FORNUM.
NR_FACT	FORNUM.
PER_FACT	FORNUM.
PHN_FACT	FORNUM.
CEN_FACT	FORNUM.
WD_FACT	FORNUM.
FNLWGT	FORNUM.
;