# Week 3 assignment – data analysis using graphs and charts

Week 3 Assignment

These data come from the 2008 General Social Survey. A subset of 190 respondents were selected at random from the full data set.

Variable Information:

Children = number of children.

Education is highest year of education (e.g., 12 = High School; 16 = Bachelors, etc.).

Happy: 1 = Not too happy, 2 = Pretty Happy, 3 = Very Happy.

Health: 1 = Poor, 2 = Fair, 3 = Good, 4 = Excellent.

Income: 1 = Under \$1000; 2 = \$1000-2999; 3 = \$3000-3999; 4 = \$4000-4999; 5 = \$5000-5999; 6 = \$6000-6999; 7 = \$7000-7999; 8 = \$8000-9999; 9 = \$10000-12499; 10 = \$12500-14999; 11 = \$15000-17499; 12 = \$17500-19999; 13 = \$20000-22499; 14 = \$22500-24999; 15 = \$25000-29999; 16 = \$30000-34999; 17 = \$35000-39999; 18 = \$40000-49999; 19 = \$50000-59999; 20 = \$60000-74999; 21 = \$75000-\$89999; 22 = \$90000-\$109999; 23 = \$110000-\$129999; 24 = \$130000-\$149999; 25 = \$150000+.

Married: 0 = No, 1 = Yes.

Religious: 1 = Not religious, 2 = Slightly religious, 3 = Moderately religious, 4 = Very religious.

Using this data set:

1. Identify which variables could be depicted with the following visualizations (hint: some variables could be visualized using more than one of the following):

a. Histograms

b. Bar charts

c. Box plots

d. Stem-and-leaf plots

e. Pie charts

f. Line charts

g. Frequency tables

2. Create one of each of the above visualizations.

3. Of the visualizations that you created, which do you believe is the most informative? Why?