Learn R Programming

MPDiR (version 0.2)

thresh.est: Estimate Threshold Level from Model Object

Description

Estimates stimulus level at which probability of a response is some fixed value given a model object for a probit model.

Usage

thresh.est(p, obj)

Value

Vector of numeric indicating the stimulus levels for the given performance levels.

Arguments

p

numeric vector giving the performance level for the desired threshold

obj

object inheriting from class ‘glm’ from a fit with a binomial family.

Author

Kenneth Knoblauch

Details

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.

See Also

See also dose.p

Examples

Run this code
data(HSP)
SHR1.glm <- glm(p/100 ~ log(Q), binomial(probit), HSP,
	subset = Obs == "SH" & Run == "R1")
thresh.est(1:3/4, SHR1.glm)

Run the code above in your browser using DataLab