Andrew Langbehn

6th Year PhD Student, University of Tennessee, Knoxville

Resources (in progress)


🔷

Learning to Use R and R Studio

A few years ago, I created a document to help new members of the lab get started using R and R studio. The document provides a basic overview of R and R studio, some common packages needed for typical data handling and analysis tasks in psychology, and resources/courses for coding in R. This is geared toward people who have little to no coding experience and looking for an introduction to coding in R.
  • PDF (Coming Soon)
🔷

Gathering Data from When2Meet Polls in R (Helpful for RA Scheduling)

The code below allows you to gather data from When2Meet polls in R, manipulate it, and create CSV files for scheduling RA assignments, experiments using the same lab space, etc.  
🔷

Evaluative Space Grids (ESGs) for Online Research

The Evaluative Space Grid is a single item measure of positive and negative affect (Larsen et al., 2009) based on the Evaluative Space Model (Cacioppo et al., 2011; Norris et al., 2010). There are several versions below coded in a combination of HTML, CSS, and JavaScript. The ESG can also be adapted to study ambivalent attitudes (e.g., how positive and negative people feel toward a stimulus). These ESGs can be added to Qualtrics surveys as well as be adapted for use with other online or computer based platforms.

Positive and Negative Affect ESG:
  • Five Point Scale
  • Six Point Scale
    • Working Example Here.  (Coming Soon)  
    • Code: Qualtrics_SixPoint_ESG-PosNeg.pdf (Coming Soon) 
Happy and Sad ESG
  •  Five Point Scale
  • Six Point Scale
    • Working Example Here.  (Coming Soon)  
    • Code: Qualtrics_SixPoint_ESG-HapSad.pdf (Coming Soon)  


🔷

Capturing Advanced Loop and Merge Randomization in Qualtrics

Base Qualtrics does not allow you to easily capture the order in which stimuli from loop and merge are presented to participants. One option is to create an embedded data variable for each of your stimuli, however, this is time-consuming and prone to errors when you have a large number of stimuli to display. This method allows you to capture the order in which your stimuli are presented to participants, along with information about each stimulus (e.g., name of stimuli, link to the stimuli, timing, participant's response, and more
🔷

Displaying Videos and Audio in Qualtrics with Custom Controls and Play Count

  •  (Coming Soon)  
🔷

Mock Blackjack Task in Qualtrics

  •  (Coming Soon)  
🔷

Recording Participants With Their Webcam in Qualtrics

This code will allow participants to record short videos as well as take photographs of themselves in a Qualtrics survey. Participants are not required to download any software which makes this easy to adopt for large scale online studies. Participants are required to give consent and allow you access to their webcam prior to the recording/photograph. 
  •  (Coming Soon)  
🔷

Getting a List of Qualtrics Video Names and IDs (HTML/JS)

Qualtrics no longer offers a convenient way to get the names and QIDs for videos hosted on their server. (You used to be able to find these by going to My Account > Qualtrics IDs > MyLibrary: Name) Now, you have to click on each video in your library > view > view > and copy and paste the link and name from the tab that opens.

These instructions (with code) allow you to copy and paste the names and IDs of up to 25 videos at a time.Â