Get startedGet started for free

Politics and Space

While the relationship between political party and military spending is no big surprise, what about the relationship between political party and another spending priority: space exploration?

Start your exploration by simplifying the dataset to include only people that identified as Republicans (Rep), Democrats (Dem), and Independents (Ind).

This exercise is part of the course

Inference for Categorical Data in R

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Subset data
gss_party <- ___
  # Filter out the "Oth"
  ___
Edit and Run Code