This page provides a quick showcase of exploratory analysis using the cleaned SSI-2012 dataset. We illustrate basic data distributions and aesthetic tastes using clean, standard visualizations in R.
1. Classical Music Tastes
Let’s examine how respondents rate their liking of Classical music (classicaltaste). This variable has four main levels: like, dislike, neither like nor dislike, and I am not familiar with this type of music.
Show Code
# Convert classicaltaste to standard factor for plottingdf_classical <- df |>filter(!is.na(classicaltaste)) |>mutate(classicaltaste =as_factor(classicaltaste))# Create bar chart with aesthetic mapping to y-axis (avoiding coord_flip)ggplot(df_classical, aes(y = classicaltaste)) +geom_bar() +labs(x ="Count of Respondents",y ="Classical Music Taste" )
Figure 1: Distribution of Classical Music Tastes among respondents.
As shown in Figure 1, 1,247 of the 2,264 respondents who answered this question (55%) report that they like Classical music, while 79 (about 3.5%) say they are not familiar with this type of music.
2. Subjective Social Class Self-Identification
Respondents were asked: “Which of these do you think best describes you?” with options: lower class, working class, middle class, and upper class (percclass).
Show Code
# Convert percclass to factor and filter missing valuesdf_class <- df |>filter(!is.na(percclass)) |>mutate(percclass =as_factor(percclass))# Plot distributionggplot(df_class, aes(y = percclass)) +geom_bar() +labs(x ="Count of Respondents",y ="Subjective Social Class" )
Figure 2: Self-described subjective social class of respondents.
As displayed in Figure 2, the majority of respondents identify as middle class or working class, with smaller proportions self-identifying as lower class or upper class.
3. Painting Impression Ratings (Pre-Test)
Before receiving any social manipulation, respondents gave their first impression of an abstract painting on a scale from 1 (like very much) to 7 (dislike very much) (taste1).
Show Code
# Convert taste1 to standard factor to represent its ordinal categoriesdf_painting <- df |>filter(!is.na(taste1)) |>mutate(taste1_factor =as_factor(taste1))ggplot(df_painting, aes(y = taste1_factor)) +geom_bar() +labs(x ="Count of Respondents",y ="Initial Rating (1 = Like Very Much, 7 = Dislike Very Much)" )
Figure 3: Distribution of initial painting taste ratings (1-7 scale).
The pre-test ratings in Figure 3 are spread across the scale. The most common responses are “I like it” (637) and “I like it just a little” (538); the neutral option (483) is less common than either.