readme.pop Data Group Name: pop Description: State and U.S. population by gender, race, and age: 1970-1992. Data Source(s): US Census: Intercensal Estimates of the Population of Counties by Age, Sex and Race, 1970-1980, 1980-1989, and 1990-1992. Comments: The 1980 population counts were taken from the 1980-89 Intercensial Estimates file. The intercensial estimates are given at the county level. These data have been aggregated to the state and national levels. A reduced version of these data was made which has just the state and US populations by year, i.e., without the gender, race, and age breakdowns. See the series "popst" for more information. Usage: To look up values of these data for a set of key variable values (in SAS): a) In your SAS program, before your data step add: %include 'pop.fmt'; b) set SUPERKEY to the combination of key variable values you want to look up. See "SUPERKEY=" under key variable description below. c) use a formatted put function of SUPERKEY with the data series format (See examples under "Usage" in detailed description of each data series). Key vars: Varname Typ Description YEAR Num Year Min=1970 Max=1992 STATE Num FIPS State code (99=US) Min=1 Max=99 GENDER Num Gender (1=male, 2=female, 9=both) Min=1 Max=9 RACE Num Race (1=white, 2=black, 3=other, 9=all) Min=1 Max=9 AGE5Y Num Age in 5-yr bands (0=0-4, ... 75=75+) Min=0 Max=99 SAS code to make SUPERKEY: SUPERKEY =(1000000*YEAR) + (10000*STATE) + (1000*GENDER) + (100*RACE) + AGE5Y; Data series [summary]: Varname Fmtname Typ Description ------- ------- --- ----------- POP POP. Num Population ---------------------------- Data series POP ---------------------------- Varname Fmtname Typ Description POP POP. Num Population Units=number of people Min=0 Max=255077569 Mean=345631.725 N=243984 N_Missing=0 How missings handled: Comments: Usage: myvar=put(superkey,POP.); ------------------------------------------------------------------------------ he SAS System 13:20 Wednesday, February 24, 1999 1 CONTENTS PROCEDURE Data Set Name: POP Observations: 243984 Member Type: DATA Variables: 6 Engine: V612 Indexes: 0 Created: 12:23 Monday, November 11, 1996 Observation Length: 23 Last Modified: 12:25 Monday, November 11, 1996 Deleted Observations: 0 Protection: Compressed: YES Data Set Type: Reuse Space: NO Sorted: YES Label: File Size (bytes): 8208384 -----Alphabetic List of Variables and Attributes----- # Variable Type Len Pos Label ------------------------------------------------------------------------------ 6 AGE5Y Num 3 20 Age in 5-yr bands (0=0-4, ... 75=75+) 2 GENDER Num 3 3 Gender (1=male, 2=female, 9=both) 4 POP Num 8 9 Population 3 RACE Num 3 6 Race (1=white, 2=black, 3=other, 9=all) 1 STATE Num 3 0 FIPS State code (99=US) 5 YEAR Num 3 17 Year -----Sort Information----- Sortedby: YEAR STATE GENDER RACE AGE5Y Validated: YES Character Set: ASCII