Problem Set 3
Data Notebooks in Quarto
Before attempting this assignment, be sure to follow the instructions noted in Week 2 page under “Course Content”.
Submit: .qmd file; HTML file; docx file (Due Week 3)
- Create an Quarto file (
File>>New File>>Quarto Document
). Title it “Week 3 Homework.qmd”,1 select “HTML” output, and uncheck “use visual markdown editor”. (You can always switch later.) - Use the 2005 British Election study file (
bes2005subset.csv
) to create a jittered scatterplot of Feelings toward Blair and Feelings on Social Spending. - In a brief text segment, interpret what the figure shows you.
- Load the 2000 National Election study file (
nes2000subset.csv
). - Find the correlation between income and partisanship, and draw a jittered scatter plot of partisanship (Y axis) and income (X-axis)
- In a brief text segment, interpret what the correlation and figure tells you.
- Render the document to HTML and docx and zip all three (.qmd, .html, and .docx files) together. Upload the .zip to Blackboard.2