thresh.est | R Documentation |
Estimates stimulus level at which probability of a response is some fixed value given a model object for a probit model.
thresh.est(p, obj)
p |
numeric vector giving the performance level for the desired threshold |
obj |
object inheriting from class ‘glm’ from a fit with a binomial family. |
Calculates the stimulus level(s) for a probit model of a psychometric function for given levels of performance. For a more general version, see dose.p in pkgMASS.
Vector of numeric indicating the stimulus levels for the given performance levels.
Kenneth Knoblauch
See also dose.p
data(HSP)
SHR1.glm <- glm(p/100 ~ log(Q), binomial(probit), HSP,
subset = Obs == "SH" & Run == "R1")
thresh.est(1:3/4, SHR1.glm)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.