# Problem Sets

This page will list the Problem Sets and when they will usually be turned in on paper throughout the course (unless otherwise noted below). You will usually turn in one problem set per group though some assignments will be turned in individually. You can find discussions about many of the Problem Sets here. Links to specific Problem Set discussions from ModernDive will be posted after the Problem Set is turned in below the Problem Set assignment here.

# PS 13 (Due Tues, May 2 by 2:45 PM)

• Can be hand-written or shared as a Google Doc
• Turned in individually
• Modify the code I provided in the slides in an R script and explain your results from the Problem in the slides.
• Provide your modified code and explain what each line of code is doing.
• What changes in the results of the analysis?
• Do we get the same result as with the mean and standard deviation?
• Read the article about Margin of Errors and Polling from Pew Research

• In two to three paragraphs, summarize the article and discuss how confidence intervals are useful in polling.
• DISCUSSION here

# PS 12 (Due Tues, April 25 by 1:00 PM)

• Summarize the main findings from the article and how it relates to the content in Chapter 7 of ModernDive in 3-5 paragraphs
• Create AT LEAST five multiple choice questions covering Chapters 6 and 7 of ModernDive.
• Create a Google Doc with your questions and share with isma5720@pacificu.edu
• Please follow the layout I have provided in the Sample Question Layout document here. Copy over the content of this document into a new Google Doc and then enter your questions.
• Each question should have four possible answers.
• Don’t mark what you choose to be the correct answer on what you turn in, but make note of your choice elsewhere to facilitate your learning.
• Please use Courier New font for all pieces of R code.

# PS 9 (Due Thurs, Apr 6 by 11:59 PM)

• Complete the ps9.Rmd file with an updated ggplot2 plot and creation of a dplyr summarization
• You’ll need to copy over relevant chunks from the group .Rmd file to reproduce and add to their analysis
• Also provide a summary of the vignette you’ve been assigned and a short discussion on how your plot and summarization better adds to the overall message of the vignette
• Focus on improving the social perspective of the vignette
• You’ll knit the ps9.Rmd file to create a ps9.html file that exists in your Google Drive folder.

# PS 8 (Due Thurs, Mar 23 by 4:20 PM)

• Complete the Google Form providing a midterm course evaluation, a peer review, and an individual review of your group project.
• Please be candid and up-front about ways I can improve the course after spring break. Remember that this course will challenge you and that won’t be changing after break, but if I can fix the timing or the way content is covered it is much better that I hear about that NOW and not when the class is over.

# PS 7 (Due Thurs, Mar 16 by 1:00 PM)

• Write down on a piece of paper AT LEAST five multiple choice questions covering ONLY Chapter 5 of ModernDive and the corresponding chapters on DataCamp.
• Each question should have four possible answers.
• Don’t mark what you choose to be the correct answer on what you turn in, but make note of your choice elsewhere to facilitate your learning.
• Please use Courier New font for all pieces of R code.
• Create a Google Doc with your questions and share with isma5720@pacificu.edu
• Please follow the layout I have provided in the Sample Question Layout document here. Copy over the content of this document into a new Google Doc and then enter your questions.

# PS 6

• Read Chapter 5 of ModernDive
• As you read, take careful notes of what you see as the key points conveyed and key things to remember about the R code.
• Learning Checks LC5.1-LC5.2, LC5.4-LC5.5, LC5.7, LC5.9-LC5.14

• We will be working on this in class on Tuesday and Thursday in groups, but you likely will need to work outside of class to complete it.
• You should be using RStudio on your own machines to check for understanding of the material and the code.
• You should write the code on your homework to answer the questions as needed and then put your discussion following the written code.
• DISCUSSION here

# PS 5 (Due Tues, Feb 28 by 1:00 PM)

• Complete DataCamp profile
• Click on your user ID in the top right of the screen when you first open DataCamp.
• Click on My Profile.
• Select Edit Account Settings.
• Input at the very least your first and last name. More helpful if you include a picture.
• You will lose half the points on PS5 if you have not completed this by Tuesday, February 28 at 1 PM!
• Write down on a piece of paper AT LEAST five multiple choice questions covering Chapters 3 and 4 of ModernDive and the corresponding chapters on DataCamp (Tidy Data through ggplot2 Review)
• Each question should have four possible answers.
• Don’t mark what you choose to be the correct answer on what you turn in, but make note of your choice elsewhere to facilitate your learning.
• Please use Courier New font for all pieces of R code.
• Create a Google Doc with your questions and share with isma5720@pacificu.edu
• Please follow the layout I have provided in the Sample Question Layout document here. Copy over the content of this document into a new Google Doc and then enter your questions.

# PS3 (Due Tues, Feb 21 by 2:45 PM)

• We will be working on this in class on Tuesday and Thursday in groups, but you likely will need to work outside of class to complete it.
• Learning Checks LC3.11-LC3.13 and LC3.15 AND LC4.1-LC4.2, LC4.4, LC4.6-LC4.7, and LC4.10-LC4.13
• Recall that View is not a function that works in DataCamp but does work in RStudio that we will work with later. You can view the data frames interactively here though.
• For LC4.6 and LC4.13, run your code in the sandbox in DataCamp and then write your code on your paper. Discuss what findings you have when looking at the plot. Remember that scatter-plots only work when analyzing the relationship between two numerical variables!
• To run the R code given in the gray chunks in the textbook, you can use this “sandbox” I’ve created for you as the last chapter of the DataCamp course. Click here.

• DISCUSSION here

# PS2 (Due Thurs, Feb 9 by 4:20 PM)

• We will be working to finish in class on Thursday in groups, but you should have a start on it BEFORE class
• Learning Checks LC3.2-LC3.7, LC3.9-LC3.10 from ModernDive
• To run the R code given in the gray chunks in the textbook, you can use this “sandbox” I’ve created for you as the last chapter of the DataCamp course. Click here.

• DISCUSSION here

# PS1 (Due Tues, Feb 7 by 4:20 PM)

• Write down AT LEAST five multiple choice questions covering the Introduction to R DataCamp course.
• Each question should have four possible answers.
• Don’t mark what you choose to be the correct answer on what you turn in, but make note of your choice elsewhere to facilitate your learning.
• Create a Google Doc with your questions and share with isma5720@pacificu.edu