new QuestHandler()
- Source:
Members
(static, readonly) Method :Symbol
QuestHandler method
Type:
- Symbol
Properties:
Name | Type | Description |
---|---|---|
QUANTILE |
Symbol | Quantile threshold estimate. |
MEAN |
Symbol | Mean threshold estimate. |
MODE |
Symbol | Mode threshold estimate. |
- Source:
Methods
(protected) _estimateQuestValue() → {void}
Estimate the next value of the QUEST variable, based on the current value
and on the selected QUEST method.
- Source:
Returns:
- Type
- void
(protected) _setupJsQuest() → {void}
Setup the JS Quest object.
- Source:
Returns:
- Type
- void
addResponse() → {void}
Add a response and update the PDF.
- Source:
Returns:
- Type
- void
confInterval()
Get an estimate of the 5%-95% confidence interval (CI).
- Source:
getQuestValue() → {number}
Get the current value of the variable / contrast / threshold.
- Source:
Returns:
the current QUEST value for the variable / contrast / threshold
- Type
- number
mean() → {number}
Get the mean of the Quest posterior PDF.
- Source:
Returns:
the mean
- Type
- number
mode() → {number}
Get the mode of the Quest posterior PDF.
- Source:
Returns:
the mode
- Type
- number
quantile() → {number}
Get the standard deviation of the Quest posterior PDF.
- Source:
Returns:
the quantile
- Type
- number
sd() → {number}
Get the standard deviation of the Quest posterior PDF.
- Source:
Returns:
the standard deviation
- Type
- number
setMethod(method, log)
Setter for the method attribute.
Parameters:
Name | Type | Description |
---|---|---|
method |
mixed | the method value, PsychoPy-style values ("mean", "median", "quantile") are converted to their respective QuestHandler.Method values |
log |
boolean | whether or not to log the change of seed |
- Source:
simulate()
Simulate a response.
- Source: