Programmable Calculator As Timer, Storer, and Decision Maker in Psychology Experiments

Programmable Calculator As Timer, Storer, and Decision Maker in Psychology Experiments

Behavior Research Methods & Instrumentation 1979, Vol. 11 (3),349-354 Programmable calculator as timer, storer, and decision maker in psychology experiments MARSHALL M. HAITH and BENNETT BERTENTHAL University ofDenver, Denver, Colorado 80208 This paper describes how a portable programmable calculator can be used to time behavior, to store time values from successive trials, and to perform criterial calculations on a trial-by­ trial basis. A specific application for visual habituation studies in infants is described and an exemplary program, currently in use, is listed. Many situations in psychology require timing of than 6 sec (for the three-trial sum). When criterion is behaviors over several successive trials. Often the be­ met, a dishabituating stimulus is presented. To evaluate havior of interest is timed by an observer with a stop­ the role of spontaneous regression in our own experi­ watch or timer, and time values are recorded after each ments, half of our subjects do not receive the dishabitua­ trial. A more complex situation occurs when intertrial tion stimulus until two trials after criterion is met computations are required. An example is habituation (lag condition). studies for which a subject-defined criterion is used. The instrumentation must be able to: (1) time This adaptation requires a determination of an initial looking duration on each trial, (2) store the time values baseline, a calculation of a moving average over the for later recovery, (3) perform the 50% or 6-sec criterion last n trials, and a comparison between baseline and calculations, (4) determine if a lag condition is in effect, moving average to determine if criterion has been met. and (5) inform the experimenter when the dishabitua­ When the criterion is met, a new experimental phase is tion trials should begin. A program is shown below introduced. which performs these calculations on an Hp·67 calcu­ For such applications, the experimenter has the lator. Lag and nonlag conditions are accommodated, and choice of using a stopwatch or timer and an observer an error routine to correct for false starts is included. who records durations from trial to trial; the observer The calculator currently sells for around $360. 1 or another person must perform the needed calculations between trials. This procedure places limits on the rate EXPERIMENTAL SEQUENCE at which trials can be presented, and it is error prone. Other alternatives, such as microprocessors or mini­ In testing a subject in our current experiments, the computers, have been used to time and store the succes­ following sequence occurs. The calculator is turned on sive trial durations as well as to carry out the intertrial with the "W/Prgm·Run" switch to "Run." The program calculations (Caron, Caron, & Carlson, in press;Celhoffer, card is passed through the calculator first for Side 1 Boukydis, Minde, & Muir, 1977; Scott & Masi, 1977). and then for Side 2. To start the program, either the However, such equipment is fairly expensive, relatively D or E button is pressed for lag and nonlag conditions, difficult to program, and often too bulky for field respectively. A display of "1" appears, indicating that applications. An alternative is a highly portable hand­ the calculator is ready to time behavior for Trial 1. calculator which may be programmed to do the job. Timing begins when the R/S button is pressed and stops Consider a current paradigm, which is used fairly when it is pressed again. (Actually, any keypress will widely for habituation research with human infants. The terminate timing.) The time value for Trial 1 appears behavior of interest is the duration of the baby's first in the display (in the form of 20 counts/sec) with no fixation of a stimulus. A subject-defined criterion of zeroes to the right of the decimal (significance explained habituation is established as follows. An initial looking below). When the A button is pressed, the value is stored baseline is defined as the average looking time on the and calculations are performed. Then a "2" appears in first three trials. The subject is said to have reached the display to indicate that Trial 2 is next, and the pro­ criterion when the average looking time on three succes­ cess repeats. Once criterion is reached (or two trials later sive trials drops below 50% of baseline. An exception is for the lag condition), the calculator displays all num­ made for short lookers; the criterion cannot be less bers with eight zeroes to the right of the decimal. The extended display cues the experimenter to begin the dishabituation phase. Up to 24 trials may be stored in The application described here was developed under NIMH this way. When Trial 24 is completed, "CRD" is dis­ Grant MH 23412 to M. Haith. We thank Dan Maddox for de­ signing the calculator cradle described in Figure 1 and Betty played; a magnetic card can then be passed through the Richardson for preparing the manuscript. calculator to record the time values for the first 24 Copyright 1979 Psychonomic Society, Inc. 349 0005-7878/79/030349-06$00.85/0 350 HAITH AND BERTENTHAL trials, and the experimenter can proceed to record (1) Have four or more trials occurred? (Steps 146-148.) additional trials. (The times for the first three trials and If not, all the following steps are skipped and prepara­ the last two trials are preserved for criterion calculations.) tion is made for the next trial (Steps 16-23). After the experiment is completed, the REG button is (2) Has criterion been met? This test is made by pressed to display the contents of the storage registers first determining if looking on the last three trials sums for 2 sec each, so they may be permanently recorded. to less than 6 sec (Steps 160·163). If not, the sum of Following is additional detail on the timing, calculation, times on the last three trials is compared to 50% of the and logic sequence. sum on the first three trials (Steps 174-182). If it is greater than 50%, the following steps are skipped, and Timing preparation is made for the next trial (Steps 197-202 Timing begins when the start button is pressed. and 16-23). A "+" operation is carried out 100 times in succession Postcriterion branch (Fl=l). (between Program Steps 26 and 126), at which time the (1) If Flag 1 was set on a prior trial, the calculator loop begins anew and continues until a button is pressed.' quickly branches (Steps 139-140) to determine if all Since a "1" is entered into the stack registers before storage registers have been used (Steps 197-202); then it each trial (Steps 17-20), each "+" operation increments sets up for the next trial (Steps 16-23). the displayed count by one. The time required for this (2) If criterion was just met on the current trial, a operation is quite stable but might vary from unit to check is first made to determine if the subject is in unit. On our calculator, each "+" operation requires the lag condition (Steps 186-187). If not, Flag 1 is set, about 50 msec, so we accrue about 20 counts/sec." and the calculator is instructed to display eight digits At the end of the timing interval, the count is divided (Steps 147-202 and 16-23). by 20 (Steps 135-137) so that the actual time, in (3) If a lag condition is in effect, the calculator seconds, is stored (Step 138). This value may have to be avoids a display change (Steps 189-190) and then waits changed slightly for individual units after the timing has two additional trials before changing the display been calibrated. (Steps 192 and 141-144). For both precriterion and postcriterion conditions, Storage preparation for the next trial includes a check for The time values are stored in successive memory whether all 24 storage registers have been used registers as follows. Storage Register 0 holds the current (Steps 197-202). If so, the calculator displays "CRD" trial count during timing. When the A button is pressed (Step 204) to prompt the experimenter to record the at the end of a trial, the trial count is placed in the contents of all the storage registers on a magnetic card. I register (program Steps 131 to 133), whose contents Finally, an error routine is provided in the program. can be used as an indirect address for a storage register. If the R/S button is pressed accidentally to start timing, Then, the actual duration for the current trial is the operator can stop timing (by pressing R/S again) deposited in the storage register whose number cor­ and then press B, which reinstates the calculator to its responds to the trial number. [This is done through normal state for the next trial (Steps 215-219). If the the indirect-store command which uses Register I R/S button is accidentally pressed during timing, which (Step 138)] . stops the calculator, timing may be resumed by simply repressing the R/S button. This description touches on Calculation only the major features of the program. For more detail The calculation routines consume less than 2 sec the interested reader should consult the program listing between trials, except for precriterion trials after Trial 3 in Table 1 and the user instructions for operating the which require about 3.5 sec. A branch is first made program in Table 2. depending on whether criterion has been met on prior trials, as indicated by Flag 1 being set (Step 139). LIMITATIONS Precriterion branch (Fl=O). If the criterion has not been met on prior trials the following determinations are One problem in using a calculator for timing is that made: the calculator can detect only mechanical keypresses.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    6 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us