families.csv

tempData <- read.csv(url("https://laurencipriano.github.io/IveyBusinessStatistics/Datasets/families.csv"), header = TRUE)

summary(tempData)
>       TYPE         PERSONS         CHILDREN        INCOME           REGION    
>  Min.   :1.00   Min.   : 2.00   Min.   :0.00   Min.   :-22166   Min.   :1.00  
>  1st Qu.:1.00   1st Qu.: 2.00   1st Qu.:0.00   1st Qu.: 18300   1st Qu.:2.00  
>  Median :1.00   Median : 3.00   Median :1.00   Median : 34550   Median :3.00  
>  Mean   :1.43   Mean   : 3.14   Mean   :0.95   Mean   : 41336   Mean   :2.53  
>  3rd Qu.:1.00   3rd Qu.: 4.00   3rd Qu.:2.00   3rd Qu.: 55828   3rd Qu.:3.00  
>  Max.   :3.00   Max.   :25.00   Max.   :9.00   Max.   :451887   Max.   :4.00  
>    EDUCATION   
>  Min.   :31.0  
>  1st Qu.:39.0  
>  Median :39.0  
>  Mean   :39.4  
>  3rd Qu.:41.0  
>  Max.   :46.0

The data set families contains information about 43,886 families living in the city of Cyberville. The city has four regions. In these exercises, we will learn about the families of Cyberville by using sampling. For each family, the following information is recorded:

List of Family Variables and Definitions
Variable Description
Family type Family type
1: Husband-wife family Husband-wife family
2: Male-head family Male-head family
3: Female-head family Female-head family
Number of persons in family Total number of persons in the family
Number of children in family Total number of children in the family
Family income Family income (numeric)
Region Region where the family resides
1: North North region with 10,149 families
2: East East region with 10,390 families
3: South South region with 13,457 families
4: West West region with 9,890 families
Education Education level
31: Less than 1st grade Less than 1st grade
32: 1st, 2nd, 3rd, or 4th grade 1st, 2nd, 3rd, or 4th grade
33: 5th or 6th grade 5th or 6th grade
34: 7th or 8th grade 7th or 8th grade
35: 9th grade 9th grade
36: 10th grade 10th grade
37: 11th grade 11th grade
38: 12th grade, no diploma 12th grade, no diploma
39: High school graduate High school graduate, high school diploma, or equivalent
40: Some college but no degree Some college but no degree
41: Associate degree in college (occupation/vocation program) Associate degree in college (occupation/vocation program)
42: Associate degree in college (academic program) Associate degree in college (academic program)
43: Bachelor’s degree Bachelor’s degree (e.g., B.S., B.A., A.B.)
44: Master’s degree Master’s degree (e.g., M.S., M.A., M.B.A.)
45: Professional school degree Professional school degree (e.g., M.D., D.D.S., D.V.M., LL.B., J.D.)
46: Doctoral degree Doctoral degree (e.g. Ph.D., Ed.D.)