; PSY 1903
PSY 1903 Programming for Psychologists

Suggestion Box

Spot an error or have suggestions for improvement on these notes? Let us know!

Code Chat 2 Details

Our second/final code chat session will take place on Tuesday, Nov 2nd.

Each student will meet individually with the instructors to complete a basic data‐wrangling task in R. The goal is to assess your ability to independently apply key course concepts and clearly explain your reasoning as you work.

❄️ Due to the incoming winter storm, we will meet via Zoom instead of in-person. ❄️

Please join Garth’s Zoom at least 5 minutes before your scheduled time. You will be placed in the waiting room until we admit you. We will stay as close to schedule as possible, but if you are not admitted exactly at your start time, please hold while we finish with the previous student.

Schedule (Updated 12/1):

  1. Shyun — 3:00 pm to 3:20 pm
  2. Destinee — 3:20 pm to 3:40 pm
  3. Annabella — 3:40 pm to 4:00 pm
  4. Sophia — 4:00 pm to 4:20 pm
  5. Maya — 4:20 pm to 4:40 pm
  6. Deano — 4:40 pm to 5:00 pm
  7. Eliza — 5:00 pm to 5:20 pm
  8. Alaina — 5:20 pm to 5:40 pm

After your session, you may not discuss the task or its details with your peers.

Starting Files

Before our meeting, download the starter files here: codechat-2.zip.

Unzip the folder and place it in your psy1903/web directory.

In your file explorer, locate psy1903/web/codechat-2/codechat-2.Rproj and double click it to open the project in RStudio.

Please skim the included files to get oriented:

  • codechat2.R is a mostly blank script where you will write your code. At the start of the session we will provide instructions on additional starting code you will paste into this file.
  • README.md provides background on the data you’ll be working with, so read through it ahead of time.
  • data/raw/participant001.csv is the dataset you will analyze.

Note that during our session you will do all your work in the codechat2.R script. You do not need to worry about modularizing your code into multiple scripts or using a Quarto report.

Post Meeting

After your session, commit and push any code changes you made.

Then complete the brief self‐evaluation in the Code Chat 2 assignment on Gradescope. The assignment is due Thursday at 11:59 pm, but ideally you will fill it out soon after your session while the experience is fresh.

You can preview the evaluation here....

How to Prepare & What to Expect

To prepare, review:

  • Your notes
  • Course materials
  • Code from previous task sets

During the code chat:

  • You may write code from scratch or reuse code from previous examples.
  • You can reference course notes, your own notes, and online documentation.
  • You’ll be asked to think aloud, explaining your reasoning as you work.
  • Instructors will offer limited guidance but may ask clarifying questions or nudge you if you get stuck.

You may use AI tools, but how you use them will be considered in your evaluation:

  • Overreliance on AI will suggest limited understanding.
  • Strategic use (e.g., for small reminders or debugging) will be viewed positively.

A timer will be set at the start of your session to help us stay on schedule. Focus on completing as much as you can within the time frame.