Confidence intervals for d primes based on Maximum likelihood estimation
Show older comments
Hi everyone, I am searching for a code/script for calculating the 95% confidence intervals for d primes using the Maximum likelihood estimation procedure. Does someone have it and be willing to share.
Thanks in anticipation,
Cheers, Imran
4 Comments
Walter Roberson
on 24 Nov 2011
What are "d primes" in this context??
Imran Dhamani
on 24 Nov 2011
Daniel Shub
on 24 Nov 2011
d' is the common name given to the "index of sensitivity": http://en.wikipedia.org/wiki/D%27
Daniel Shub
on 24 Nov 2011
If someone is willing to write code for you (and I doubt they are), you would need to provide more information: How many measurements of d' do you have? How many signal and no signal presentations is each measurement based on? Your equation suggests 1I-2AFC, is this correct?
Answers (1)
Daniel Shub
on 24 Nov 2011
0 votes
The easiest way is to probably bootstrap the confidence intervals. You can create N experiments where you flip M coins. On each flip, you flip a coin to decide if you will use either your signal (heads) or no signal (tails) coin. The probability of heads with this coin is based on the probability of a signal trial. The probability of heads (yes response) of the signal and no signal coins is based on the hit rate (signal coin) and false alarm rates (no signal coin).
Once you make N*M flips (ignoring the extra flip to decide the trial type), you can generate N estimates of d'. Sort these and then the 95% CI is the values for the top and bottom 2.5%.
Categories
Find more on Correlation and Convolution in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!