Search found 28 matches

by Nick Prins
Wed Sep 10, 2025 11:39 am
Forum: Psychometric Function Fitting, Bayesian Criterion (PAL_PFHB)
Topic: Weibull function for hierarchical bayesian models
Replies: 3
Views: 2987

Re: Weibull function for hierarchical bayesian models

Ah, yes, I see. Thanks for pointing that out. The palamedestoolbox.org/weibullandfriends.html page was created before the PFHB routines even existed. The page demonstrates things using the maximum-likelihood fitting scheme (i.e., using the PAL_PFML routines). And these do use a different syntax ...
by Nick Prins
Tue Sep 09, 2025 6:15 pm
Forum: Psychometric Function Fitting, Bayesian Criterion (PAL_PFHB)
Topic: Weibull function for hierarchical bayesian models
Replies: 3
Views: 2987

Re: Weibull function for hierarchical bayesian models

You can specify the form of the psychometric function by using the 'PF' argument to the PAL_PFHB_fitModel function. Type 'help PAL_PFHB_fitModel' to see how to use the optional arguments. We very strongly suggest to log-transform stimulus values and using the Gumbel instead of using the Weibull on ...
by Nick Prins
Wed May 14, 2025 4:07 pm
Forum: Model Choices
Topic: How can I test that my data are normally distributed for a 2AFC experiment?
Replies: 2
Views: 18857

Re: How can I test that my data are normally distributed for a 2AFC experiment?

The assumption to test here is not normality of the data. The difference between the parametric bootstrap and the non-parametric bootstrap is that the parametric bootstrap assumes that the fitted psychometric function (PF) is accurate. The non-parametric bootstrap does not make that assumption ...
by Nick Prins
Mon Feb 10, 2025 9:23 pm
Forum: Psychometric Function Fitting, Bayesian Criterion (PAL_PFHB)
Topic: Fixing false alarm rate per condition/subject
Replies: 3
Views: 115767

Re: Fixing false alarm rate per condition/subject

Glad to hear I was helpful. Correct, Palamedes currently does not support including between-subject factors in a factorial (or other) design. Effects across multiple factors and their interactions can be defined but only across within-subject conditions.
by Nick Prins
Thu Feb 06, 2025 1:17 pm
Forum: Adaptive Measurement (PAL_AMPM, PAL_AMRF, PAL_AMUD)
Topic: PAL_AMPM adaptive fitting estimates too low threshold
Replies: 1
Views: 85113

Re: PAL_AMPM adaptive fitting estimates too low threshold

Hmmm... There's a lof information here. Where is the unexpected estimate coming from? From the [P]AL_PFBA_Fit line in the code? Or the value of PM.threshold after running the PSI method? Or somewhere else yet? What would really help is some code that demonstrates the issue and that needs only Matlab ...
by Nick Prins
Tue Feb 04, 2025 10:15 pm
Forum: Psychometric Function Fitting, Bayesian Criterion (PAL_PFHB)
Topic: Fixing false alarm rate per condition/subject
Replies: 3
Views: 115767

Re: Fixing false alarm rate per condition/subject

Hi Gerard,
Glad to hear you find Palamedes useful and gives you good fits.
Currently, the PFHB routines do not allow comparing groups of observers. You can compare individual observers against other individual observers but that’s it. You can of course run two separate analyses, one for each group ...
by Nick Prins
Thu Nov 28, 2024 9:04 pm
Forum: Adaptive Measurement (PAL_AMPM, PAL_AMRF, PAL_AMUD)
Topic: Is pDev threshold of 0.05 the only choice when using PAL_PFML_GoodnessOfFit.m
Replies: 4
Views: 83945

Re: Is pDev threshold of 0.05 the only choice when using PAL_PFML_GoodnessOfFit.m

Yes, I did misunderstand. I thought you were trying to keep the data but make the fits acceptable, one way or another. There really is no ‘clean’ way to exclude bad data from an analysis. There is no rule that says that if your goodness-of-fit p is less than 0.05 (or any other number) you can simply ...
by Nick Prins
Wed Nov 27, 2024 12:55 pm
Forum: Adaptive Measurement (PAL_AMPM, PAL_AMRF, PAL_AMUD)
Topic: Is pDev threshold of 0.05 the only choice when using PAL_PFML_GoodnessOfFit.m
Replies: 4
Views: 83945

Re: Is pDev threshold of 0.05 the only choice when using PAL_PFML_GoodnessOfFit.m

Ask twelve people for their opinion on this and you’re likely to get 13 different answers. Maybe others will join in to this discussion but here’s my two cents. Your model makes assumptions, e.g., ‘the true relation between stimulus intensity and the probability that the participant will make ...
by Nick Prins
Thu Nov 23, 2023 1:29 pm
Forum: Adaptive Measurement (PAL_AMPM, PAL_AMRF, PAL_AMUD)
Topic: Can a prior be weighted?
Replies: 1
Views: 51664

Re: Can a prior be weighted?

The recommended way to specify custom priors is demonstrated in the code below. It puts an ex-Gaussian prior on alpha (ex-Gaussian is often used to model skewed distributions including RTs) and puts a Normal prior on slopes. Strategy can be extended to put any custom prior on any of the PF's ...
by Nick Prins
Sat May 27, 2023 11:18 am
Forum: Psychometric Function Fitting, Bayesian Criterion (PAL_PFHB)
Topic: Single subject multiple condition demo
Replies: 3
Views: 77658

Re: Single subject multiple condition demo

By the time the error occurs, you have already modeled your data (using the first call to PAL_PFHB_fitModel in the demo). The crash you report happens during an alternative fit that uses a model matrix. The crash happens because the model matrix M is specific to a three-condition setup (and I gather ...