readme.divrt Data Group Name: divrt Description: State Divorce Rates, 1956-1991 Data Source(s): Vital Statistics of the United States Raw data was entered into a file. See raw data file above. Comments: 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 'divrt.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 STATE Num State (FIPS) Min=1 Max=99 FIPS codes for US states, 99=US YEAR Num Year Min=1956 Max=1991 SAS code to make SUPERKEY: PERKEY =(10000*STATE) + YEAR; Data series [summary]: Varname Fmtname Typ Description ------- ------- --- ----------- DIVRATE DIVRATE. Num Divorce Rate (# per 1000 pop) ---------------------------- Data series DIVRATE ---------------------------- Varname Fmtname Typ Description DIVRATE DIVRATE. Num Divorce Rate (# per 1000 pop) Units=divorces and annulments per 1,000 popula Min=0.4 Max=36.6 Mean=4.30342644 N=1872 N_Missing=0 DIVRATEM DIVRATEM. Num DIVRATE missing flag DivRt missing/=state-ratioed natl-yr-avg Min=0 Max=1 Mean=0.0400641 N=1872 N_Missing=0 How missings handled: If a divorce rate is missing, it is set to the year- specific mean of nonmissing rates times the ratio of average state level and average US level. In this manner, the national trend is followed while preserving the average deviation of the state from the national figures. Comments: The US (state=99) values for divorce rate is the mean divorce rate across states, for each year. Usage: myvar=put(superkey,DIVRATE.); ============================================================================================ The SAS System 10:55 Monday, January 27, 1997 1 CONTENTS PROCEDURE Data Set Name: DIVRT Observations: 1872 Member Type: DATA Variables: 5 Engine: V611 Indexes: 0 Created: 11:43 Wednesday, June 12, 1996 Observation Length: 34 Last Modified: 11:43 Wednesday, June 12, 1996 Deleted Observations: 0 Protection: Compressed: YES Data Set Type: Reuse Space: NO Sorted: YES -----Alphabetic List of Variables and Attributes----- # Variable Type Len Pos Label ------------------------------------------------------------------------------- 4 DIVRATE Num 8 18 Divorce Rate (# per 1000 pop) 5 DIVRATEM Num 8 26 DivRt missing/=state-ratioed natl-yr-avg 2 STATE Num 8 8 State (FIPS) 3 ST_CHAR Char 2 16 State Postal Code 1 YEAR Num 8 0 Year -----Sort Information----- Sortedby: STATE YEAR Validated: YES Character Set: ASCII