Page History: Staircase Method Element
Compare Page Revisions
Page Revision: 2012/03/17 23:32
|
Staircase Method
|
Info |
Category: |
Psychophisics Methods |
|
AddIn: |
Psychophisics |
Creator: |
OkazoLab Team |
|
Scope: |
Global |
Owns Snippets: |
no |
|
Usage: |
Snippets, Status Screen |
Staircase element allows an easy implementation of the adaptive staircase method.
Description
Staircase element assists in implementing the single staircase method that efficiently estimates participant's detection threshold in regards to stimulus intensity (e.g. contrast or duration). The element continuously calculates adjustments for stimulus intensity on the basis of participant's consecutive responses. In addition, the element estimates the threshold of the given participant, collects various statistics and even generates the real-time staircase plot for the status screen.
The element implements a single staircase. If multiple staircases are necessary for an experiment, separate Staircase elements can be used in parallel.
Snapshots
Snapshot 1
| Snapshot 2 |
Practical Use
Technique 1
- Add Staircase element to any of experiment's event. The event choice is not important for elements working in the global scope
- Set a value of the Initial Intensity property. That will
Technique 2
- Step 1
- Step 2
// Check the trial outcome. Result and RT just other user variables
// insert code snippet here..
Element actions aligned with different epochs of the parent event
Epoche | Actions |
---|
Initialized |
Rendered |
Activating |
Activated |
Running |
Deactivated |
Deinitialized |
Notes
Insert Notes here..
Properties
Generic Properties
Name | Description | Attributes | Value Type | Proxy Reflex |
---|
Settings |
Initial Value | Initial value of stimulus intensity | | Double | |
Staircase Step | Base step of changing stimulus intensity. A sign of the value defines the staircase direction relative to the initival value. | | Double | |
Performance Level | The desired performance level, or correct rate, for the measured threshold, in percentages. The staircase steps on correct and wrong response will be different if this value is not equal 50%, which indicates the chance level. The valid input range is 0<=X<100. | | Double | |
Reversal Number | The number of reversals before completing the threshold estimation. | | Int32 | |
Staircase Input |
Add Response | Adds the current trial response to the staircase data. Set either true or false to add correct/incorrect response. | | Object | |
All Responses | Array of the collected responses | | Boolean[] | |
Response Count | Current number of the collected responses | | Int32 | |
Staircase Results | Runtime action. Set to true in order to reset the staircase and start a new estimation process | | Boolean | |
Staircase Results |
Correct Rate | Correct rate of the collected responses in percentages | | Double | |
Is Completed | Indicates that the estimation of the threshold is completed - the number of reversal is reached. | | Boolean | |
Estimated Threshold | The current estimate of the the measured threshold. | | Double | |
Next Value | Next value for stimulus intensity as suggested by the staircase. Use it for adjusting a variable stimulus. Don't pickup the new value in the same snippet with adding a response, it's not estimated yet. Instead, read and use the new value in a separate subsequent snippet. | | Double | |
Values | All staircase values | | Double[] | |
Staircase Plot | Auto-updating plot of the staircase. Can be used at runtime as a source for a Image control on the Status Screen. | | ImageSource | |
+=== Properties inherited from clElement ===
Inherited properties of clElement
Name | Description | Constraints | Value Type | Upon Change |
---|
Control |
Is Enabled | If set to false the element is completely omitted when the experiment is run. | | Boolean |
|
Title | Title of the element. | | String |
|