%*---This module creates the sf32000x defn by invoking the dovars macro to create the variables. Stored as module invoke_dovars.sas in the sf32000x/Tools directory. jgb, 8-2002. --; *<====Last revised 11/20/2009 12:41:42 PM, jgb--------------------------------------------------------------------; *--Revision History: 9-12-02: Fixing defns for hhinc35 and hhinc50 . 9-28-02: Again fixing defn for hhinc50. (was including the i13 element erroneously). Fixing defn of hval300. It previously was defined as H74i21 + H74i21 (instead of H74i22). 10-25-02: Fix label on PctVacHUSample (said "Occupied" instead of "Vacant"). 11-11-02: Fix defn of NonFamilyHHs (previously was only counting 2+ person nf hhs from Table P10). Changed Universe on disability table so it does not specify an age limit. 11-13-02: Add commuters. 11-26-02: Fixing AvgAgeUnit and AgeUnit5 per feedback from Lance. 12-04-02: Changing PctOf (universe var) for poor families and poor non-family households. Fixed typo in comment for housing value var. Added LandSQMI definition and edited PopPSQMI to get wtvar right. 12-9-02: Fixed definition of Householder variable. 06-24-03: Fix problem with EnglishLimited variable. 05-20-04: Fix problem with Under18 variable which was use a double-dash list that picked up Pct vars as part of the sum. 09-22-05: Fixing format for landsqmi making it 9.2 instead of (defaulting to) comma9. 01-18-07: Adding assignment stmt for &moe_default to avoid error msgs. 11-20-09: Fix problem with Disabled65 variable. --*; %let display=1; %*<--This parm was not available when original coding was done on this filetype. It never gets changed from this default value (yet). Having it assigned here just avoids all the warning messages. (jgb, 9-29-02)--; %global moe_default; %let moe_default=0; %let table=Population Basics; %let universe=Total Population; %let RefTables=P1; %let lvl=0; %let pctof= ; ****; _time1start=time(); %let display=1; %dovar(TotPop,%str(Total Persons (Sample Est)),P1i1,comment=%str(This value usually matches the complete count pop figure for states & counties because of weighting techniques. But not for places, tracts, etc.)) %let RefTables=P2; %dovar(SampCount,Unweighted Sample Count of Persons,P2i1) %let RefTables=P3; %dovar(TotPop100,%str(Total Persons (100% Count)),P3i1) %let RefTables=P4; %dovar(PctSample,Pct Persons Sampled,P4i1,fmt=5.1,wtvar=TotPop100) %let pctof=TotPop; %let universe=Total Population; %let lvl=1; %let RefTables=P5; %dovar(Urban,Urban Population,P5i2,comment=New definition for 2000. Counts people living 'in town' even if town is small or even if town is not an incorporated place.) %let lvl=2; %dovar(InUAs,In Urbanized Areas,P5i3) %dovar(InUCs,In Urban Clusters,Urban - InUAs,comment=Urban Clusters are like UAs but smaller) %let lvl=1; %dovar(Rural,Rural Population,P5i5,comment=%str(Use geocorr web app at mcdc.missouri.edu/applications/geocorr2000.html to get block level data by U/R categories)) %let lvl=2; %dovar(OnFarms,Persons on Farms,P5i6,comment=%nrbquote(An occupied 1-family house or mobile home is classified as a farm residence if: (1) the housing unit is located on a property of 1 acre or more, and (2) at least $1,000 worth of agricultural products were sold from the property in 1999. Group quarters and housing units that are in multiunit buildings or are vacant are not included as farm residences. The farm population consists of people in households living in farm residences. Some people who are counted on a property classified as a farm (including, in some cases, farm workers) are excluded from the farm population. Such people include those who reside in multiunit buildings or group quarters. Comparability: These are the same criteria that were used to define a farm residence in 1980 and 1990.)); %let lvl=0; %let display=0; %let pctof=; %dovar(LandSQMI,%str(Land Area in Square Miles),LandSQMI,fmt=9.2, comment=%str(Derived from geographic headers field AREALAND as AreaLand/2589988 per Footnote 13 in tech doc)); %let display=1; %let pctof=; %let RefTables=; %dovar(PopPerSQM,Persons Per Sq Mile,TotPop/LandSQMI,fmt=7.1,wtvar=LandSQMI) %let table=Age; %let universe=Total Population; %let RefTables=P8; %let pctof=TotPop; %let lvl=1; %dovar(Age0_4,Under 5 ,%str(sum(of P8i3-P8i7 P8i42-P8i46)),comment=%str(Remember: these are sample estimates that will be slightly different form SF1 comparables)) %dovar(Age5_9,Age 5 to 9,%str(sum(of P8i8-P8i12 P8i47-P8i51))) %dovar(Age10_14,10 to 14,%str(sum(of P8i13-P8i17 P8i52-P8i56))) %dovar(Age15_17,15 to 17,%str(sum(of P8i18-P8i20 P8i57-P8i59))) %dovar(Age18_19,18 to 19,%str(sum(of P8i21-P8i22 P8i60-P8i61))) %dovar(Age20_24,20 to 24,%str(sum(of P8i23-P8i25 P8i62-P8i64))) %dovar(Age25_34,25 to 34,%str(sum(of P8i26-P8i27 P8i65-P8i66))) %dovar(Age35_44,35 to 44,%str(sum(of P8i28-P8i29 P8i67-P8i68))) %dovar(Age45_54,45 to 54,%str(sum(of P8i30-P8i31 P8i69-P8i70)),comment=%str(Adding Age35_44 and Age45_54 gives you Baby Boomers, appx)) %dovar(Age55_59,55 to 59,%str(sum(of P8i32 P8i71))) %dovar(Age60_64,60 to 64,%str(sum(of P8i33-P8i34 P8i72-P8i73))) %dovar(Age65_74,65 to 74,%str(sum(of P8i35-P8i37 P8i74-P8i76))) %dovar(Age75_84,75 to 84,%str(sum(of P8i38-P8i39 P8i77-P8i78))) %dovar(Over85,Over 85,%str(sum(of P8i40 P8i79))) %let lvl=0; %dovar(Under18,Under 18,%str(sum(of Age0_4 Age5_9 age10_14 Age15_17 )),comment=Excludes 18-year-olds) %dovar(Over18,Over 18,%str(TotPop - Under18),comment=Includes 18-year-olds); %dovar(Age18_64,18 to 64,%str(sum(of P8i21-P8i34 P8i60-P8i73)),comment=Sometimes called the 'Adult Population') %dovar(Over21,Over 21,%str(Over18 - sum(of P8i21-P8i23 P8i60-P8i62))) %dovar(Over62,Over 62,%str(sum(of P8i34-P8i40 P8i73-P8i79))) %dovar(Over65,Over 65,%str(over62 - P8i34 - P8i73)) %let table=%str(Race and Hispanic); %let RefTables=P6; %let pctof=TotPop; %dovar(White1,White alone,P6i2,comment=Sample estimate so it may vary slightly from value reported on SF1) %dovar(Black1,Black alone,P6i3,comment=%str(Given a list of race categories to check this count is of people who checked 'Black or African American' and no other.)) %dovar(Indian1,Amer Indian Alaska Native alone,P6i4,comment=%str(Many people who checked the American Indian or Eskimo boxes also chose other races such as White. Those people are NOT included in this count)) %dovar(Asian1,Asian alone,P6i5,comment=Our dp1_2k reports also report counts of people who checked each of these race categories 'alone or in combination with other races') %dovar(HawnPI1,Hawaiian and Other Pac Islander alone,P6i6,comment=In 1990 these were counted as part of the 'Asian and Other Pacific Islander' race group) %dovar(Other1,Other race alone,P6i7,comment=Most of the people who chose Other race were hispanic) %dovar(MultRace,Two or More Races,P6i8,comment=The 6 race-alone categories plus this multi-race count should sum to the total pop) %let RefTables=P7; %dovar(HispPop,Hispanic,P7i10,comment=IMPORTANT NOTE!: Hispanic is NOT a race - it is a separate category) %dovar(White1NH,White Alone Not Hispanic,P7i3,comment=To be in this category the person must have checked only White for race and NOT checked the Hispanic option) %dovar(Minority,Minority Pop,%str(TotPop - White1NH),comment=%str(Persons who checked any race other than White, OR who checked Hispanic. White1NH + Minority=TotPop)) %let table=%str(Relationship of Persons in Households); %let universe=Persons in Households; %let RefTables=P9; %let pctof=Totpop; %dovar(HHPop,Persons in Households,P9i2,comment=%str(TotPop = HHPop + GQPop)) %let pctof=HHpop; %let lvl=1; %dovar(Householder,,P9i4+p9i18+p9i21,comment=%str(The Householder is the person who fills out the first column on the questionnaire. For married couples it can be the husband or the wife, whoever goes first)) %dovar(Spouse,,P9i7) %dovar(Child,Child of Householder,P9i8,comment=Age does not matter here. The child could be 50.) %dovar(Other_relative,Other Relative,%str(sum(of P9i12-P9i15))) %dovar(NonRelative,,P9i16) %let table=%str(Households by Type); %let universe=Households; %let RefTables=P10; %let pctof=; %dovar(TotHHs,Total Households,P10i1) %let pctof=TotHHs; %let lvl=1; %dovar(Families,,P10i6,comment=%str(Family Households are those with 2 or more persons related by blood, marriage or adoption)) %let lvl=2; %dovar(MarriedCouples,Married Couples,P10i7) %let lvl=3; %dovar(CouplesWithKids,Married Couples w Own Children < 18,P10i8) %let lvl=2; %dovar(SingleParents,Single Parent Families,%str(P10i12 + P10i15), comment=%str(The parent must be the householder and the children must be < 18. A single mother > 18 living in her mothers household is not counted here.)) %let lvl=3; %dovar(SingleMothers,Single Mothers,P10i15,comment=Easy to derive SingleFathers by substracting this from SingleParents) %let lvl=2; %dovar(OtherFamilies,Other Families,%str(Families-MarriedCouples-SingleParents)) %let lvl=1; %dovar(NonFamHHs,%str(Non-Family HHs),P13i11) %let lvl=2; %dovar(LivingAlone,Persons Living Alone,P10i2) _time1end=time(); _time2start=_time1end; %let table=%str(Marital Status); %let Universe=Persons Over 15; %let RefTables=P18; %let pctof=TotPop; %dovar(Over15,Over 15 Yrs of Age,P18i1) %let pctof=Over15; %let lvl=1; %dovar(NeverMarried,Never Married,%str(p18i3 + p18i12)) %dovar(Married,Now Married Not Separated,%str(sum(of P18i5 P18i8 P18i14 P18i17)), comment=%str(The qualifier Now also applies to next 3 categories)) %dovar(Separated,,%str(p18i7 + p18i16),comment=A married couple can have separate residences without being legally separated.) %dovar(Widowed,,%str(p18i9 + p18i18),comment=If you were widowed but remarried you are not counted here.) %dovar(Divorced,,%str(p18i10 + p18i19),comment=%str(If you were divorced but are now married, separated or widowed you are not counted here.)) %let table=%str(Language Spoken at Home); %let Universe=Persons Over 5; %let RefTables=P19; %let pctof=TotPop; %dovar(Over5,Over 5 Yrs of Age,P19i1) %let pctof=Over5; %let lvl=1; %dovar(EnglishOnly,Speak English Only,%str(sum(of p19i3 p19i25 p19i47))) %dovar(EnglishLimited,%bquote(Speak Eng less than "very well"), %str(Over5 - EnglishOnly - sum(of p19i5 p19i10 p19i15 p19i20 p19i27 p19i32 p19i37 p19i42 p19i49 p19i54 p19i59 p19i64))) %dovar(NoEnglish,Do Not Speak English, %str(sum(of p19i8 p19i13 p19i18 p19i23 p19i30 p19i35 p19i40 p19i45 p19i52 p19i57 p19i62 p19i67))) %let table=%str(Foreign Born Persons); %let Universe=Foreign Born Persons; %let RefTables=P21; %let pctof=TotPop; %dovar(ForeignBorn,%str(Foreign Born, exc native),P21i13,comment=Native Americans born abroad are not counted here) %let lvl=1; %dovar(Naturalized,Naturalized US Citizen,P21i14) %dovar(NonCitizen,Not a Citizen,P21i15) %let RefTables=P22; %dovar(EnteredLast10Yrs,Foreign Born Entered US in 1990 or Later,P22i2+P22i3) %let RefTables=PCT19; %let PctOf=ForeignBorn; %dovar(FBEurope,Born in Europe,PCT19i2) %dovar(FBAsia,%str(Born in Asia),PCT19i32) %dovar(FBLatinAmerica,%str(Born in Latin America),PCT19i93, comment=%str(Includes Caribbean, Central and South America)) %dovar(FBMexico,%str(Born in Mexico),PCT19i103,comment=This count is included in Latin America as well) %dovar(FBOther,%str(Born somewhere else),PCT19i67+PCT19i84+PCT19i123+PCT19i126, comment=%str(Includes persons born in Oceania, Africa, Northern America (Canada, mostly) and at sea)) %let table=%str(Residence in 1995); %let Universe=Persons Over 5; %let RefTables=P24; %let pctof=Over5; %dovar(SameHouse,Lived in Same House 5 Yrs Ago,P24i2) %dovar(SameCounty,Lived in Same County 5 Yrs Ago,SameHouse + P24i5) %dovar(SameState,Lived in Same State 5 Yrs Ago,SameCounty + P24i7) %let table=%str(Place of Work); %let Universe=Workers over 16; %let RefTables=P26; %let pctof=; %dovar(Worker16,Workers 16 and Over,P26i1,comment=Workers are those who had at least some employment in 1999) %let pctof=Worker16; %let lvl=1; %dovar(WorkInCounty,Work in County of Residence,P26i3) %let RefTables=P27; %dovar(WorkersInaPlace,Workers Living in a Place,P27i2) %let pctof=WorkersInaPlace; %let lvl=2; %dovar(WorkInPlace,Work in Place of Residence,P27i3) %let table=%str(Commuting); %let Universe=Workers over 16; %let RefTables=P30; %let pctof=Worker16; %dovar(DriveAlone,Drive Alone to Work,P30i3) %dovar(Carpool,,P30i4) %dovar(PublicTrans,Public Transportation or Taxi to Work,P30i5) %dovar(CycleWalk,Cycle or Walk to Work,%str(sum(of P30i12-P30i14)),comment='Cycle' means motorcycle or bicycle.) %dovar(WorkAtHome,Work at Home,P30i16, comment=We have omitted a small 'Other means' category which can be derived by subtracting the sum of these categories from Workers16) %let PctOf=; %let RefTables=P32 P33; %let display=0; %dovar(Commuters,,p32i1) %let display=1; %dovar(AvgCommute,Mean Travel Time to Work,%str(p33i1/p32i1),fmt=5.1,wtvar=Commuters,comment=In minutes) %let table=%str(School Enrollment); %let Universe=Persons Over 3; %let RefTables=P36; %let pctof=TotPop; %dovar(Over3,Over 3 Yrs of Age,p36i1) %let pctof=Over3; %let lvl=1; %dovar(EnrolledK12,%str(Enrolled in grades K-12), %str(sum(of p36i6 p36i9 p36i12 p36i15 p36i29 p36i32 p36i35 p36i38))); %let PctOf=EnrolledK12; %let lvl=2; %dovar(InPvtSchools,Enrolled in Private Schools K-12, %str(sum(of p36i8 p36i11 p36i14 p36i17 p36i31 p36i34 p36i37 p36i40))); %let PctOf=Over3; %let lvl=1; %dovar(InCollege,Enrolled in College,%str(sum(of p36i18 p36i21 p36i41 p36i44))); %let table=%str(Educational Attainment); %let universe=Persons Over 25; %let RefTables=P37; %let pctof=TotPop; %dovar(Over25,Over 25 Yrs of Age,p37i1) %let pctof=Over25; %let lvl=1; %dovar(LessThan9th,Less Than 9th Grade,%str(sum(of P37i3-P37i6 P37i20-P37i23))) %dovar(SomeHighSchool,%str(9th thru 12th grade, No Diploma),%str(sum(of P37i7-P37i10 P37i24-P37i27))) %dovar(HighSchool,High School Grad or GED,P37i11 + P37i28,comment=These are people with nothing beyond High School) %dovar(NoCollege,Did Not Attend College,LessThan9th + SomeHighSchool + HighSchool) %dovar(SomeCollege,%str(Some College, no degree),%str(sum(of P37i12-P37i14 P37i29-P37i31)), comment=This is not the complement of NoCollege. It is people with some college but no degree except maybe an associates) %dovar(Bachelors,,P37i15 + P37i32,Comment=People with a Bachelors and no more) %dovar(Masters,,P37i16 + P37i33,comment=%str(People with a Masters and no more. NA on STF3 in 1990.)) %dovar(ProfPHD,Prof School Degree or PhD,P37i17 + P37i18 + P37i34 + P37i35,comment=NA on STF3 in 1990) %dovar(GradProf,Graduate or Professional Degree,Masters + ProfPHD,comment=Added together for compatibility with 1990 STF3) _time2end=time(); _time3start=time(); ****; %let table=%str(Veteran and Armed Forces Status); %let universe=Persons Over 18; %let RefTables=P39; %let PctOf=TotPop; %dovar(Over18,Over 18 Yrs of Age,p39i1) %let pctof=Over18; %let lvl=1; %dovar(ArmedForces,Currently in Armed Forces,P39i4 + P39i9 + P39i15 + P39i20,comment=%str(Universe Was Persons 16+ in 1990)) %dovar(Civilian,Civilian Population > 18,P39i5 + P39i10 + P39i16 + P39i21) %dovar(Veteran,,P39i6 + P39i11 + P39i17 + P39i22,comment=Must currently be a civilian.) %let table=%str(Disability); %let Universe=Civilian Non-Institutionalized Persons; %let RefTables=P42; %let PctOf=; %dovar(DisabledUniv,Civilian Non-Inst Pop Over 5,P42i1, comment=%str(Excludes children < 5, military and persons in institutions) ) %let PctOf=DisabledUniv; %let lvl=1; %dovar(Disabled,Persons With 1 or more disabilities,sum(of P42i4 P42i7 P42i14 P42i21 P42i24 P42i28 P42i31 P42i38 P42i45 P42i48)) %let PctOf=; %let lvl=0; %dovar(DisabledUniv65,Civilian Non-Inst. Pop Over 65,sum(of P42i20 P42i23 P42i44 P42i47)) %let pctof=DisabledUniv65; %let lvl=1; %dovar(Disabled65,Persons Over 65 With a Disability,sum(of P42i21 P42i24 P42i45 P42i48)) *<--replace i47 w i48 11-20-09--; %let pctof=; %let lvl=0; %dovar(DisabledUniv16,Civilian Non-Inst. Pop 16-64,sum(of P42i6 P42i13 P42i30 P42i37)) %let pctof=DisabledUniv16; %let lvl=1; %let RefTables=P41; %dovar(WorkDisability,Persons 16-64 with a Work Disability,P41i13) %let table=%str(Employment Status); %let Universe=Persons over 16; %let RefTables=P43; %let PctOf=TotPop; %dovar(Over16,Over 16 Yrs of Age,p43i1) %let pctof=Over16; %let lvl=1; %dovar(CivLabForce,Civilian Labor Force,P43i5 + P43i12,comment=%str(To be in the 'CLF' you must be a civilian over 16 currently working or actively seeking work)) %let pctof=CivLabForce; %let lvl=2; %dovar(Unemployed,Unemployed Persons,P43i7 + P43i14) %dovar(CivLabForceFem,%str(Civ. Labor Force, Female),P43i12) %let Pctof=CivLabForceFem; %let lvl=3; %dovar(UnemployedFem,Unemployed Females,P43i14) %let PctOf=Over16; %let lvl=1; %dovar(NotInLF,Over 16 Not in Labor Force,P43i8 + P43i15,comment=%str(Adding this to CLF does not sum to Over16 since it does not include military, who are in the LF but not the CLF)) %let PctOf=MarriedCouples; %let lvl=0; %let RefTables=P48; %dovar(BothWork,%str(Married Couples who Both Work),P48i6 + P48i9) %dovar(OneWorks,%str(Married Couples, One Worker),P48i4,comment=%str(MC Families with 1 worker. It could be the 1 worker is neither the husband nor wife.)) %let table=%str(Work Force by Industry); %let Universe=Employed Civilian Labor Force; %let RefTables=P49; %let PctOf=CivLabForce; %dovar(EmployedCLF,Employed Persons in CLF,P49i1) %let lvl=1; %let PctOf=EmployedCLF; %dovar(Manufacturing,Employed in Manufacturing,P49i7 + P49i34) %dovar(RetailTrade,Employed in Retail Trade,P49i9 + p49i36) %dovar(Education,Employed in Education,P49i22 + P49i49) %dovar(HealthSA,%str(Employed In Health Care & Social Assistance),P49i23 + P49i50) %dovar(OtherIndustry,Employed in Other Industries,%str(EmployedCLF - Manufacturing - RetailTrade - Education - HealthSA)) %let lvl=0; %let PctOf=CivLabForce; %dovar(UnemployedCLF,Unemployed Persons in CLF,%str(CivLabForce - EmployedCLF),comment=%str(There appear to be questions about the comparibility/reliability of this figure vs BLS unemployment counts, at least in some areas)) %let table=%str(Work Force by Occupation); %let Universe=Employed Persons in CLF; %let RefTables=P50; %let PctOf=EmployedCLF; %dovar(ManProfOccs,%str(Management, professional & related occupations),P50i3 + P50i50) %dovar(ServiceOccs,Service occupations,P50i23 + P50i70) %dovar(SalesOffOccs,Sales and Office occupations,P50i31 + P50i78) %dovar(FarmFishOccs,%str(Farming, Fishing & Forestry occupations),P50i34 + P50i81) %dovar(ConsOccs,%str(Construction, extractions & maintenance occupations),P50i35 + P50i82) %dovar(TransOccs,%str(Production, Transportation + material moving occupations),P50i41 + P50i88) %let table=%str(Household Income in 1999); %let Universe=Households; %let RefTables=P52; %let PctOf=; %dovar(TotHHs,Total Households,P52i1) %let PctOf=TotHHs; %let lvl=1; %dovar(HHInc0,%str(Less than $10,000),P52i2,comment=Includes households with zero or negative income) %dovar(HHInc10,%str($10,000 to $14,999),P52i3) %dovar(HHInc15,%str($15,000 to $24,999),P52i4 + P52i5) %dovar(HHInc25,%str($25,000 to $34,999),P52i6 + P52i7) *---modifying formulae for next 2 variables 9-12-02. We were including p52i11 in the wrong interval before-; %dovar(HHInc35,%str($35,000 to $49,999),P52i8 + P52i9 + P52i10 ) %dovar(HHInc50,%str($50,000 to $74,999),P52i11 + P52i12) %dovar(HHInc75,%str($75,000 to $99,999),P52i13) %dovar(HHInc100,%str($100,000 to $149,999),P52i14 + P52i15) %dovar(HHInc150,%str($150,000 to $199,999),P52i16) %dovar(HHInc200,%str($200,000 or more),P52i17) %let pctof=; %let RefTables=P53; %let lvl=0; %dovar(MedianHHInc,Median HH Income,P53i1,Comment=%str(All income items from 2K census are for 1999 and are in 1999 dollars),wtvar=TotHHs) %let RefTables=P54; %dovar(AvgHHInc,Average Household Income,%str(round(P54i1/TotHHs)),wtvar=TotHHs,comment=%str(Note that we also have separate avgs for those with income under and over $200K)) %let PctOf=TotHHs; %dovar(HHIncLT200,%str(HHs W Income < $200,000),%str(TotHHs - HHInc200)) %let pctof=; %let lvl=1; %dovar(AvgHHIncLT200,Avg HH Income of HHs < $200k,%str(round(P54i2/HHIncLT200)),wtvar=HHIncLT200) %let lvl=0; %dovar(AvgHHIncGE200,Avg HH Income of HHs $200k or more,%str(round(P54i3/HHInc200)), wtvar=HHInc200,comment=%str(Many areas will have no HHs w Income over $200k so this avg. will be undefined.)) ****; _time3end=time(); _time4start=_time3end; %let table=Income Percentages by Source; %let Universe=Households; %let RefTables=P54; %dovar(TotalIncome,Aggregate Income in 1999,P54i1,fmt=dollar16.,len=8) %let PctOf=; %let RefTables=P68; %dovar(PctWages,%str(Pct Wage or Salary Income),100*P68i1/TotalIncome,fmt=5.1,len=8,wtvar=TotalIncome, comment=%str(Multiply TotalIncome by PctWages/100 to get TotalWages, etc.)) %let RefTables=P71; %dovar(PctSocSec,%str(Pct Soc Security Income),100*P71i1/TotalIncome,fmt=5.1,len=8,wtvar=TotalIncome) %let RefTables=P72; %dovar(PctSSI,%str(Pct SSI Income),100*P72i1/TotalIncome,fmt=5.1,len=8,wtvar=TotalIncome) %let RefTables=P73; %dovar(PctPubAssist,%str(Pct Public Assistance Income),100*P73i1/TotalIncome,fmt=5.1,len=8,wtvar=TotalIncome) %let RefTables=P74; %dovar(PctRetirement,%str(Pct Retirement Income),100*P74i1/TotalIncome,fmt=5.1,len=8,wtvar=TotalIncome) %let table=%str(Other Income Measures); %let Universe=Families or Persons; %let RefTables=P77; %let PctOf=; %dovar(MedianFamInc,Median Family Income,P77i1,wtvar=Families,comment=%str(You really should NOT take a weighted average of a median, of course)) %let RefTables=P78; %dovar(AvgFamInc,Average Family Income,%str(round(P78i1/Families)),wtvar=Families) %let RefTables=P82; %dovar(PCI,Per Capita Income,P82i1,comment=Total Aggregate Income divided by Total Population,wtvar=TotPop) %dovar(NMalesEarning,%str(Males 16+ with Earnings in 1999),P84i2) %let RefTables=P84 P86; %let lvl=1; %dovar(AvgMaleEarnings,%str(Avg Earnings of Males with Earnings),%str(round(P86i2/P84i2)),fmt=dollar7.,wtvar=NMalesEarning, comment=%str(This average includes both full and part-time workers so it can be misleading)) %let RefTables=P84; %let lvl=0; %dovar(NFemalesEarning,%str(Females 16+ with Earnings in 1999),P84i23) %let RefTables=P84 P86; %let lvl=1; %dovar(AvgFemEarnings,%str(Avg Earnings of Females with Earnings),%str(round(P86i3/P84i23)),fmt=dollar7.,wtvar=NFemalesEarning, comment=%str(This average includes both full and part-time workers so it can be misleading)) %let table=Poverty; %let Universe=Persons for whom poverty status is determined; %let RefTables=P87; %let PctOf=TotPop; %dovar(PovUniverse,Persons for whom poverty status determined,P87i1,comment=Excludes persons in group quarters and unrelated children in households) %let PctOf=PovUniverse; %let lvl=1; %dovar(Poor,Poor Persons,P87i2,comment=%str(See www.census.gov/hhes/www/poverty.html for details)) %let RefTables=P88; %dovar(VeryPoor,Persons below 50% of poverty level,P88i2) %dovar(Under185Poor,Persons below 185% of poverty level,%str(PovUniverse - P88i9 - P88i10),comment=Used to qualify for free and reduced lunch programs) %dovar(NearlyPoor,Persons Between 100 & 200% of poverty level,PovUniverse - Poor - P88i10) %let PctOf=; %dovar(MeanPovRatio,Mean Poverty Ratio, %str((P88i2*.25 + P88i3*.625 + P88i4*.875+P88i5*1.125+P88i6*1.375+P88i7*1.625+P88i8*1.800+P88i9*1.925+P88i10*3.0)/PovUniverse),fmt=6.3, comment=Our own statistical invention which attempts to create a measure of the degree of poverty by estimating the average poverty ratio for persons, wtvar=PovUniverse) %let PctOf=; %let lvl=0; %let RefTables=P89; %let display=0; %dovar(InFamPovUniv,Persons in Families for Whom Poverty Status determined, %str( sum(of p89i4 p89i5 p89i10 p89i11 p89i16 p89i17 p89i23 p89i24 p89i29 p89i30 p89i35 p89i36))); %let PctOf=InFamPovUniv; %let display=1; %dovar(PoorInFam,Poor Persons in Families,%str( sum(of p89i4 p89i5 p89i10 p89i11 p89i16 p89i17))); %let RefTables=P92; %let PctOf=Families; *--mod from p92i1 (total HHs) 12-4-02 jgb-; %dovar(PoorFamilies,Families Below Poverty,P92i3); %let PctOf=NonFamHHs; *---mod 12-4-02 jgb-; %dovar(PoorNonFamHHs,Non Family Households Below Poverty,%str(P92i2-P92i3)); %let table=Miscellaneous Population; %let Universe=Total Population; %let RefTables=P8; %let PctOf=TotPop; %dovar(Female,,P8i41); %let RefTables=P9; %dovar(GQPop,Group Quarters Population,P9i25) %dovar(InInstitutions,Institutionalized Population,P9i26,comment=This is a subset of Group Quarters pop) %let RefTables=PCT8; %dovar(GrandPrntsCaring,Grandparents Caring for Own Grandchildren,PCT8i3, comment=Caregiver must be at least 30 yrs old and sharing a household with the child. The child must be under 18) %let table=Housing Unit Basics; %let Universe=Total Housing Units; %let RefTables=H1; %let PctOf=; %dovar(TotHUs,Total Housing Units,H1i1,comment=These are just places where people can live. It includes vacant units. This is the sample estimate.) %let RefTables=H2; %dovar(SampHUs,Unweighted Sample HU Count,H2i1,comment=Number of units that got the long form) %let PctOf=; %let RefTables=H3; %dovar(TotHUs100,%str(Total Housing Units (100% Count)),H3i1) %dovar(OccHUs100,%str(Est Occupied Housing Units (100% Count)),%str(round(h2i2*100/h4i1)), comment=Estimated because the sampling percent was rounded to 1 decimal place); %dovar(VacHUs100,%str(Est Vacant Housing Units (100% Count)),%str(round(h2i3*100/h4i2)), comment=Estimated because the sampling percent was rounded to 1 decimal place); %dovar(PctOccHUSample,Pct of Occupied HUs in Sample,H4i1,comment=%str(Pct of Occupied HUs that got the long form. Bureau sampling rates are based on units, not persons),fmt=5.1,wtvar=OccHUs100) %dovar(PctVacHUSample,Pct of Vacant HUs in Sample,H4i2,comment=%str(Pct of Vacant HUs that got the long form. Bureau sampling rates are based on units, not persons),fmt=5.1,wtvar=VacHUs100) %let PctOf=TotHUs; %let RefTables=H5; %let lvl=1; %dovar(UrbanHUs,Urban Housing Units,H5i2) %dovar(RuralHUs,Rural Housing Units,H5i5) %let RefTables=H6; %dovar(Occupied,Occupied Housing Units,H6i2,comment=Units that actually had people living in them) %let PctOf=Occupied; %let RefTables=H7; %let lvl=2; %dovar(OwnerOcc,Owner occupied units,H7i2) %dovar(RenterOcc,Renter occupied units,H7i3) %let PctOf=TotHUs; %let lvl=1; %dovar(Vacant,Vacant Housing Units,H6i3) ****; _time4end=time(); _time5start=_time4end; %let table=Selected Housing Characteristics; %let Universe=Occupied housing units; %let RefTables=H20; %let PctOf=Occupied; %dovar(Crowded,With 1.5+ persons per room,H20i6 + H20i7 + H20i12 + H20i13) %let RefTables=H22; %dovar(Plumbing,Lacking complete plumbing facilities,H22i7 + H22i16) %let RefTables=H43; %dovar(NoPhone,Lacking telephone service,H43i11 + H43i28) %let RefTables=H44; %dovar(NoCars,No vehicles available,H44i3 + H44i10) %let PctOf=; %let RefTables=H18; %dovar(AvgHHSize,Average Household Size,H18i1,fmt=5.2,wtvar=Occupied,comment=Persons per occupied unit) %let PctOf=Occupied; %let RefTables=H38; %dovar(MovedIn5,Moved in last 5 Yrs,H38i3 + H38i4 + H38i10 + H38i11, comment=Householder moved in between 1995 and March 2000 so it is actually 5.25 yrs) %let PctOf=; %let RefTables=H39; %dovar(MedianYearIn,Median Year Moved In,H39i1,fmt=4.,wtvar=Occupied) %let table=Units in Structure; %let Universe=Housing Units; %let RefTables=H30; %let PctOf=TotHUs; %dovar(Units1,Single Family Units,H30i2 + H30i3,comment=Includes attached units) %dovar(Units2,2 to 4 Units,H30i4 + H30i5,comment=Duplexes plus 3 and 4 unit buildings) %dovar(Units5,5 to 19 Units,H30i6 + H30i7) %dovar(Units20up,In Buildings with 20+ Units,H30i8 + H30i9) %dovar(MobileHomes,Mobile Homes,H30i10) %dovar(BoatRV,%str(Boat, RV, Van, etc.),H30i11,comment=Includes essentially homeless people) %let table=Age of Structure; %let Universe=Housing Units; %let RefTables=H34; %let PctOf=TotHUs; %dovar(AgeUnit5,Units < 5 Yrs Old,H34i2 + h34i3,comment=Built in 1995 thru March 2000) %dovar(AgeUnit50,Units > 50 Yrs Old,H34i9 + H34i10,comment=Built in 1949 or earlier) %dovar(BuiltBefore1940,Units Built Before 1940,H34i10) %let PctOf=; %dovar(AvgAgeUnit,Average Age of Units, %str((H34i2*.625 + H34i3*3.75 + H34i4*8.25 +H34i5*15.75 + H34i6*25.75 + H34i7*35.75 + H34i8*45.75 + h34i9*55.75 + h34i10*75)/TotHUs),wtvar=TotHUs,fmt=5.1, comment=%str(Our own statistic. Estimates ages within intervals using midpoints and assigns arbitrary age of 75 yrs for homes built 1939 and earlier)) %let table=Gross Rents; %let Universe=Specified Renter Occupied Units; %let RefTables=H62; %let PctOf=RenterOcc; %let display=0; %dovar(SpecRenter,Specified Renter Occupied Units,H62i1,comment=Excludes special rental units such as those associated with a business) %let PctOf=SpecRenter; %let display=1; %dovar(CashRenter,Units Paying Cash Rent,H62i2) %let PctOf=CashRenter; %let lvl=2; %dovar(RentUnder300,Cash Rent < $300,sum(of H62i3-H62i7)) %dovar(Renter300,Rent $300 to $599,sum(of H62i8-H62i13)) %dovar(Rent600,Rent $600 to $999,sum(of H62i14-H62i19)) %dovar(RenterOver1000,Rent $1000 or more,sum(of H62i20-H62i23)) %let PctOf=; %let RefTables=H63; %dovar(MedianGrossRent,Median Gross Rent,H63i1,fmt=dollar7.,comment=For specified units paying cash rent,wtvar=CashRenter) %let RefTables=H64; %dovar(AvgGrossRent,Average Gross Rent,%str(H64i1/CashRenter),wtvar=CashRenter,fmt=dollar7.) %let PctOf=SpecRenter; %let lvl=1; %dovar(NoCashRent,No Cash Rent,H62i24,comment=Rented units paying no cash rent) %let table=Housing Values; %let Universe=Specified Owner Occupied Housing Units; %let RefTables=H74; %let PctOf=OwnerOcc; %let display=0; %dovar(SpecOwner,Specified Owner Occupied Units,H74i1,comment=Excludes houses on 10 or more acres and those associated with a business) %let Pctof=SpecOwner; %let display=1; %dovar(HvalUnder50,%str(House Value < $50,000),sum(of H74i2-H74i9),comment=This table based on the respondents estimate of what their house would sell for.) %dovar(Hval50,%str(Value $50,000 to $99,999),sum(of H74i10-H74i14)) %dovar(Hval100,%str(Value $100,000 to $149,999),H74i15 + H74i16) %dovar(Hval150,%str(Value $150,000 to $199,999),H74i17 + H74i18) %dovar(Hval200,%str(Value $200,000 to $299,999),H74i19 + H74i20) %dovar(Hval300,%str(Value $300,000 to $499,999),H74i21 + H74i22) %dovar(Hval500,%str(Value $500,000 to $999,999),H74i23 + H74i24) %dovar(HvalOverMillion,%str(Value $1 million or more),H74i25) %let PctOf=; %let RefTables=H76; %let lvl=0; %dovar(MedianHValue,Median House Value,H76i1,fmt=dollar9.,comment=%str(In April, 2000 dollars),wtvar=SpecOwner) %let RefTables=H78 H14; %dovar(AvgHValue,Average House Value,%str(H78i1/SpecOwner),fmt=dollar9.,wtvar=SpecOwner, comment=H78i1 is the aggregate value of all homes but it is topcoded so this value may be low) ; ****; _time5end=time();