Skip to content

Custom psychometric functions #24

Description

@Duls91

customPFDemos.zip
Hello,

I wanted to implement two custom psychometric functions and test their performance with the simple routine from qpQuestPlusCoreFunctionDemo.m.
Attached are the custom PFs "Gumbel_pal" and "Weibull_pal". In the respective qpQuestPlusCoreFunctionDemo_Gumbel and qpQuestPlusCoreFunctionDemo_Weibull scripts, I specified the PFs and adjusted the stimulus domains.

The idea behind it:
The original Weibull function in mQuestPlus is a log-Weibull (or Gumbel) adjusted for the dB scale (therefore dividing by 20).
I wanted to write a more general log-scale Weibull ("Gumbel_pal").
Also, on a linear scale, a conventional Weibull ("Weibull_pal") would be useful.

Testing these two PFs leads to bad performance though. The stimuli presented by Quest seem to be way off and the parameter estimates for threshold or slope are disastrous.
I am not sure whether I adapted the scripts at all places to work with the custom PFs. Plotting the functions seems to result in a valid output i.e.

stimFine = linspace(-60,-20,100)';
y = qpPFGumbel_pal(stimFine, [-28, 0.15, 0.01, 0.01]);
plot(stimFine, y(:,2), 'linewidth', 2);

Hope someone can resolve this issue with me. Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions