Return to the Cannabis Timeline Followback page
TIMELINE FOLLOWBACK TEMPLATE (last 30 days) - Example: Cannabis
Script Author: Katja Borchert, Ph.D. (email@example.com) for Millisecond Software, LLC
last updated: 08-15-2015 by K.Borchert for Millisecond Software LLC
Script Copyright © 08-15-2015 Millisecond Software
This script implements a Cannabis Timeline Follow-Back calendar.
For more information about Timeline Follow-Backs at:
Participants are asked to fill out a calendar with their cannabis use for the last 30 days,
starting with yesterday.
DATA FILE INFORMATION:
The default data stored are:
Data file: 'TimelineFollowback*.iqdat' (a separate file for each participant)
build: Inquisit build
computer.platform: the platform the script was run on
date, time, subject, group: date and time script was run with the current subject/groupnumber
script.elapsedtime: time it took to run script (in ms)
/completed: 0 = script was not completed (script prematurely aborted); 1 = script was completed (all conditions run)
trialcode: the name of the currently recorded trial
(Note: not all trials that are run might record data)
/yesterday_date: stores yesterday's date as a string (e.g. 5/20/2013)
/yesterday_weekday: stores yesterday's weekday as an integer (e.g. 1 for Monday, ..., 7 for Sunday)
/leapyear: stores whether the year is a leap year
/date11: individual dates of each of the calendar boxes (e.g. 11 = 1st row, 1st column....61 = 6th row, 1st column)
/date61 = ""
/totalamount: sums up all the quantities that participants reported over the 30 day span; regardless of method
/mean_amount: mean daily quantity consumed (over 30 days); regardless of method
/count_nouse: sums up how often a participant has checked the nouse checkbox
1. Screen that asks for information input about start day ("yesterday") -> year, leap year, month, day, weekday
2. Screen that displays instructions (edit instructions under EDITABLE CODE -> Editable Instructions)
3. Calendar Display: a calendar display with the last 30 days filled in with the appropriate days
(all 30 days are displayed on one page)
=> each days asks for a) quantity b) method or c) No use checkbox
=> a screenshot is taken of the filled in calendar (default; works on Inquisit Lab only)
=> computer totals the quantities and calculates mean quantity for the last 30 days
=> computer totals the number of times participants select "no use"
check below for (relatively) easily editable parameters, stimuli, instructions etc.
Keep in mind that you can use this script as a template and therefore always "mess" with the entire code to further customize your experiment.