API#
Bayesian#
|
Bayesian meta-d' model with hyperparametes at the group level. |
|
Extract rates and task parameters. |
MLE#
|
Estimate meta-d' using maximum likelihood estimation (MLE). |
|
Fit metad model using MLE. |
Plotting#
|
Plot nR_S1 and nR_S2 confidence ratings. |
|
Type2 ROC curve from observed an estimated data fit. |
SDT#
|
Hits, misses, false alarms and correct rejection from stimuli and responses. |
|
Compute hit and false alarm rates. |
|
Calculate d prime. |
Response criterion. |
|
|
Calculate the area under the type 2 ROC curve given from confidence ratings. |
Utils#
Convert raw behavioral data to nR_S1 and nR_S2 response count. |
|
|
Convert from continuous to discrete ratings. |
|
Simulate nR_S1 and nR_S2 response counts. |
|
Simulate response and confidence ratings for one or a group of participants. |
|
Simulate response and confidence ratings a group with 2 experimental conditions. |
|
Type 2 SDT simulation with variable noise. |
|
Convert response count to dataframe. |