; PSY 1903
PSY 1903 Programming for Psychologists

Week 13

In Class Agenda

  • TBA
  • Task Set 13

Quiz question suggestions

After completing the videos and notes below, take a few minutes to complete the quiz question submission form by Tue Nov 26 @ Noon.

Videos

Work through the following videos and the accompanying notes before Class 13 (Tue Nov 26, 3pm). This is the order they suggest, but it should be fine to watch the statistics one before plotting if you prefer:

  • Plotting with base R (19:03 mins)
    • Please get a sense of some of the base R plotting (particularly histograms & box plots), but ggplot is more important so focus there
  • Plotting with ggplot2 (15:36 mins)
    • Make sure you understand the general syntax (data, aesthetics mapping, geoms) and layering
  • ggplot2 Customizing Themes and Labels (8:53 mins)
    • Get a sense of what you can customize and change to make your graphs more aesthetically pleasing. Check out the ggplot2 Advanced Themes and Theme Elements below to supplement this video
  • Introduction to ANOVA (13:40 mins)
    • For now, you only need to look at one-way ANOVA and follow-up Tukey's t-tests
  • Correlation Testing (13:30 mins)
    • Mostly focus on cor() and cor.test(), although you can look at the lm() section as well if you want

Total time: ~60 mins

Notes

  • From Data to Viz
    • Click on plot types, find the ggplot section, and select a plot to see the underlying code
  • Forthcoming...

Supplemental Reference Materials

These materials are optional but available for your reference. Links marked with an * may be of particular use.

Task Set

Week 13 Task Set in Canvas... Due Thu Nov 21 11:59pm