Page History: Staircase Method Element
Compare Page Revisions
Page Revision: 2012/01/24 18:39
|
New Element
|
Info |
Category: |
|
|
AddIn: |
Base Elements |
Creator: |
OkazoLab Team |
|
Scope: |
Parent Event |
Owns Snippets: |
no |
|
Usage: |
Runtime Screen,Snippets |
Staircase element assists in implementing the single staircase method for experiments with threshold estimation. The element estimates the stimulus levels based on participant input and given method parameters. In addition, the element generates a real-time staircase plot, which can be shown on the status screen.
Description
Short description
Snapshots
Snapshot 1
| Snapshot 2 |
Practical Use
Technique 1
- Step 1
- Step 2
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 |
|