tempData <- read.csv(url("https://laurencipriano.github.io/IveyBusinessStatistics/Datasets/GSS_HappyData.csv"), header = TRUE)
#Not run due to large size of data
summary(tempData)
Variable | Description |
---|---|
YEAR | Year for this respondent |
ID | Unique ID |
WEIGHT | Combined survey weight variables: WTSSCOMP*OVERSAMP |
Variable | Description |
---|---|
VHAPPY | Respondent’s general happiness 1: Very Happy 0: Pretty Happy or Not too happy |
COHORT | Respondent’s year of birth |
AGE | Age of Respondent |
SEX | Respondent’s sex |
RACE | Race of respondent |
DEGREE | Respondent’s highest degree |
EDUC | Highest year of school completed (0=no formal education) |
CLASS_ | Self-identified social class (lower, working, middle, upper) |
HEALTH | Respondent’s self-identified health status |
MARITAL | Marital status |
DIVORCE | Ever divorced or separated |
CHILDS | Number of children |
Variable | Description |
---|---|
REGION | Region where the interview took place |
SIZE | Size of place (city or town where respondent lives) in 1000s |
SRCBELT | Location (Large Standard Metropolitan Statistical Area (SMSAs) Suburb of Large SMSA; Smaller SMSA; etc.) |
XNORCSIZ | Detailed location size (City/Suburb/Rural and population size) |
HHTYPE1 | Household composition (Married no kids, Married with kids, etc.) |
HOMPOP | Number of persons in household |
ADULTS | Number of adults (people over 18 years) in household |
BABIES | Household members less than 6 yrs old |
PRETEEN | Household members 6 thru 12 yrs old |
TEENS | Household members 13 thru 17 yrs old |
KidsAtHome | Sum of BABIES, PRETEEN, & TEENS variables |
HappyPartner | Happiness of relationship with partner; Combination of happiness of relationship with GSS HAPCOHAB & HAPMAR variables |
Variable | Description |
---|---|
EARNRS | How many in family earn money? |
WRKSTAT | Labor force status |
PRESTG10 | Respondent’s occupational prestige score (0-100 scale) |
SEI10 | Respondent’s socioeconomic index |
SPWRKSTA | Spouse labor force status |
SPPRES10 | Spouse’s occupational prestige score (0-100 scale) |
SPSEI10 | Spouse’s socioeconomic index |
FINRELA | Opinion of family income (above or below average) |
SATFIN | Satisfaction with current financial situation |
FINALTER | Over the last few years, financial situation gotten better or worse? |
SATJOB | Overall satisfaction with work/role as home-maker |
UNEMP | Ever unemployed in the last 10 years? |
JOBLOSE | Job security: Is respondent likely to lose their job? |
JobFind | Job mobility: How hard would it be to find an equally good job? |
InflTarget | Regional inflation index for 2023 |
InflNominal | Regional inflation index for year of survey |
PersIncomeAdj | Estimated personal income adjusted for inflation Estimated income level, combining income brackets from eight different survey categorical definitions (RINCOME, RINCOM77, RINCOM82, RINCOM86, RINCOM91, RINCOM98, RINCOM06, RINCOM16) and then adjusted for inflation to 2023 real dollars. |
FamIncomeAdj | Estimated family income adjusted for inflation. Estimated family income level, combining income brackets from nine different survey categorical definitions (INCOME72, INCOME, INCOME77, INCOME82, INCOME86, INCOME91, INCOME98, INCOME06, INCOME16) and then adjusted for inflation to 2023 real dollars. |
Z.Inc_Pers | Year-specific Z-score of personal income |
Z.Inc_Fam | Year-specific Z-score of family income |
P.Inc_Pers | Year-specific percentile of personal income |
P.Inc_Fam | Year-specific percentile of family income |
Variable | Description |
---|---|
SOCBAR | How often do you … spend evening at a bar/tavern? |
SOCFREND | How often do you … spend an evening with friends? |
SOCOMMUN | How often do you … spend an evening with neighbour? |
SOCREL | How often do you … spend an evening with relatives? |
TVHOURS | How many hours per day watching tv? (0-24 hours) |
Variable | Description |
---|---|
POLVIEWS | Self-identifies as liberal or conservative |
PARTYID | Political party affiliation |
RELIG | Respondent’s religious preference |
RELITEN | Strength of religious affiliation |
ATTEND | How often r attends religious services |
FUND | How fundamentalist is r currently? |
Variable | Description |
---|---|
BORN | Was respondent born in the USA |
MomBornUS | Was r’s mother born in USA (1=yes, 2=no) |
DadBornUS | Was r’s father born in USA (1=yes, 2=no) |
GRANBORN | How many grandparents born outside the USA? |
REG16 | Region of residence, age 16 |
RES16 | Type of place lived in when 16 yrs old |
MOBILE16 | Geographic mobility since age 16 |
INCOM16 | r’s family income when 16 yrs old |
MASEI10 | r’s mother’s socioeconomic index |
PASEI10 | r’s father’s socioeconomic index |
Variable | Description |
---|---|
TAX | Do you consider the amount of federal income tax which you have to pay as too high, about right, or too low? |
LIFE | In general, do you find life exciting, pretty routine, or dull? |
HELPFUL | Most of the time, are people helpful or looking out for themselves? |
Variable | Description |
---|---|
CONFINAN | … banks and financial institutions |
CONBUS | … major companies |
CONCLERG | … organized religion |
CONEDUC | … education |
CONFED | … exec branch of fed govt |
CONLABOR | … organized labor |
CONPRESS | … press |
CONMEDIC | … medicine |
CONTV | … television |
CONJUDGE | … united states supreme court |
CONSCI | … scientific community |
CONLEGIS | … congress |
CONARMY | … military |