![]() |
Model-free estimation of a psychometric function |
|---|---|
| Home | Downloads | Demonstration | Documentation | Examples | Functions | Contacts |
|---|
threshold_slope
[x_th,slope] = threshold_slope(pfit,xfit,thresh);Approximate value of
x(=x_th) for which the value of the estimated psychometric function is equal tothreshand the approximate value of slope atx_th.Input:
pfit: estimated values of the psychometric function
xfit: stimulus levels at which the function was estimatedOptional input:
thresh: criterion level at which to estimate threshold; default is 0.5Output:
x_th: estimated threshold
slope: estimated value of slope, i.e. derivative ofpfitatx_th