statistics/SPSS
---CODEBOOK---
You must pay attention to the level of measurement for all projects.
A codebook will contain all possible variables in a given data set. Read over the descriptive statistics and explore the data (i.e., the .sav) file in SPSS in order to learn more. This data is a subset of the GENERAL SOCIAL SURVEY (GSS) from around 2012. The data has been cleaned (e.g., many cases omitted from the “original data”) and the response categories edited for ease of use. Sample: n=744 Americans from who completed the GSS. To learn more about GSS, select the following link: http://gss.norc.org/
Code Variable Description Response Categories
marital Marital status Married, Divorced, Single, etc.
sibs Number of sisters and brothers 0-99
childs Number of children 0-99
age Age of respondent 18-99
educ Highest year of education 0-99
sex Respondent sex 1=male; 2=female
race Respondent race 0=no; 1=white; 2=black; 3=other
partyid Political spectrum ID 1 to 7=Strong Rep to Strong Dem. 8=Other party
VOTE =08 Voted in 2008 Election 1=yes; 2=no; 3=ineligible
happy General happiness 1=very happy; 2=pretty happy; 3=not too happy
satfin Satisfaction with financial situation =satisfied; 2=more or less; 3=not at all
tvhours Hours per day watching TV 0-99
health1 R’s health in general Excellent, Very Good, Good, Fair, Poor
mntlhlth Number of days of poor mental health in last month (30 days)
0-30
---DESCRIPTIVES---
marital
Value Count Percent
Standard Attributes Position 3
Label MARITAL
STATUS
Type Numeric
Format F1
Measurement Nominal
Role Input
Valid Values 1 MARRIED 349 46.9%
2 WIDOWED 19 2.6%
3 DIVORCED 114 15.3%
4 SEPARATED 21 2.8%
5 NEVER
MARRIED 241 32.4%
Missing Values 9 NA 0 0.0%
sibs
Value Count Percent
Standard Attributes Position 4
Label NUMBER OF
BROTHERS
AND SISTERS
Type Numeric
Format F2
Measurement Scale
Role Input
N Valid 744
Missing 0
Central Tendency and
Dispersion
Mean 3.48
Standard Deviation 2.983
Percentile 25 2.00
Percentile 50 3.00
Percentile 75 5.00
Labeled Values -1 IAP 0 0.0%
98 DK 0 0.0%
99 NA 0 0.0%
childs
Value Count Percent
Standard Attributes Position 5
Label NUMBER OF
CHILDREN
Type Numeric
Format F1
Measurement Scale
Role Input
N Valid 744
Missing 0
Central Tendency and
Dispersion
Mean 1.57
Standard Deviation 1.545
Percentile 25 .00
Percentile 50 2.00
Percentile 75 2.00
Labeled Values 0 ZERO 254 34.1%
1 ONE 110 14.8%
2 TWO 210 28.2%
3 THREE 101 13.6%
4 FOUR 44 5.9%
5 FIVE 11 1.5%
6 SIX 3 0.4%
7 SEVEN 3 0.4%
8 EIGHT 8 1.1%
9 DK NA 0 0.0%
age
Value Count Percent
Standard Attributes Position 6
Label AGE OF
RESPONDENT
Type Numeric
Format F2
Measurement Scale
Role Input
N Valid 744
Missing 0
Central Tendency and
Dispersion
Mean 42.39
Standard Deviation 13.621
Percentile 25 32.00
Percentile 50 41.00
Percentile 75 52.00
Labeled Values 89 89 0 0.0%
98 DK 0 0.0%
99 NA 0 0.0%
educ
Value Count Percent
Standard Attributes Position 7
Label HIGHEST YEAR
OF SCHOOL
COMPLETED
Type Numeric
Format F2
Measurement Scale
Role Input
N Valid 744
Missing 0
Central Tendency and
Dispersion
Mean 13.97
Standard Deviation 2.963
Percentile 25 12.00
Percentile 50 14.00
Percentile 75 16.00
Labeled Values 97 IAP 0 0.0%
98 DK 0 0.0%
99 NA 0 0.0%
degree
Value Count Percent
Standard Attributes Position 8
Label RS HIGHEST
DEGREE
Type Numeric
Format F1
Measurement Ordinal
Role Input
Valid Values 0 LT HIGH
SCHOOL 76 10.2%
1 HIGH SCHOOL 367 49.3%
2 JUNIOR
COLLEGE 57 7.7%
3 BACHELOR 158 21.2%
4 GRADUATE 86 11.6%
Missing Values 7 IAP 0 0.0%
8 DK 0 0.0%
9 NA 0 0.0%
sex
Value Count Percent
Standard Attributes Position 9
Label RESPONDENT
S SEX
Type Numeric
Format F1
Measurement Nominal
Role Input
Valid Values 1 MALE 386 51.9%
2 FEMALE 358 48.1%
race
Value Count Percent
Standard Attributes Position 10
Label RACE OF
RESPONDENT
Type Numeric
Format F1
Measurement Nominal
Role Input
Valid Values 1 WHITE 556 74.7%
2 BLACK 107 14.4%
3 OTHER 81 10.9%
Missing Values 0 IAP 0 0.0%
partyid
Value Count Percent
Standard Attributes Position 11
Label POLITICAL
PARTY
AFFILIATION
Type Numeric
Format F1
Measurement Ordinal
Role Input
Valid Values 0 STRONG
DEMOCRAT 117 15.7%
1 NOT STR
DEMOCRAT 137 18.4%
2 IND,NEAR DEM 94 12.6%
3 INDEPENDENT 146 19.6%
4 IND,NEAR REP 61 8.2%
5 NOT STR
REPUBLICAN 105 14.1%
6 STRONG
REPUBLICAN 67 9.0%
7 OTHER PARTY 17 2.3%
Missing Values 8 DK 0 0.0%
9 NA 0 0.0%
VOTE08
Value Count Percent
Standard Attributes Position 12
Label DID R VOTE IN
2008
ELECTION
Type Numeric
Format F1
Measurement Nominal
Role Input
Valid Values 1 Voted 490 65.9%
2 Did not vote 203 27.3%
3 Ineligible 51 6.9%
Missing Values 0 IAP 0 0.0%
8 DON'T KNOW 0 0.0%
9 No answer 0 0.0%
happy
Value Count Percent
Standard Attributes Position 13
Label GENERAL
HAPPINESS
Type Numeric
Format F1
Measurement Ordinal
Role Input
Valid Values 1 VERY HAPPY 229 30.8%
2 PRETTY
HAPPY 455 61.2%
3 NOT TOO
HAPPY 60 8.1%
Missing Values 0 IAP 0 0.0%
8 DK 0 0.0%
9 NA 0 0.0%
satfin
Value Count Percent
Standard Attributes Position 14
Label SATISFACTION
WITH
FINANCIAL
SITUATION
Type Numeric
Format F1
Measurement Ordinal
Role Input
Valid Values 1 SATISFIED 197 26.5%
2 MORE OR
LESS 343 46.1%
3 NOT AT ALL
SAT 204 27.4%
Missing Values 0 IAP 0 0.0%
8 DK 0 0.0%
9 NA 0 0.0%
tvhours
Value Count Percent
Standard Attributes Position 15
Label HOURS PER
DAY
WATCHING TV
Type Numeric
Format F2
Measurement Scale
Role Input
N Valid 744
Missing 0
Central Tendency and
Dispersion
Mean 2.48
Standard Deviation 2.165
Percentile 25 1.00
Percentile 50 2.00
Percentile 75 3.00
Labeled Values -1 IAP 0 0.0%
98 DK 0 0.0%
99 NA 0 0.0%
health1
Value Count Percent
Standard Attributes Position 16
Label RS HEALTH IN
GENERAL
Type Numeric
Format F1
Measurement Ordinal
Role Input
Valid Values 1 Excellent 169 22.7%
2 Very good 228 30.6%
3 Good 248 33.3%
4 Fair 88 11.8%
5 Poor 11 1.5%
Missing Values 0 IAP 0 0.0%
8 DONT KNOW 0 0.0%
9 NO ANSWER 0 0.0%
mntlhlth
Value Count Percent
Standard Attributes Position 17
Label DAYS OF
POOR MENTAL
HEALTH PAST
30 DAYS
Type Numeric
Format F2
Measurement Scale
Role Input
N Valid 744
Missing 0
Central Tendency and
Dispersion
Mean 3.79
Standard Deviation 6.481
Percentile 25 .00
Percentile 50 1.00
Percentile 75 5.00
Labeled Values -1 IAP 0 0.0%
98 DONT KNOW 0 0.0%
99 NO ANSWER 0 0.0%