thresh.est {MPDiR}R Documentation

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)

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.

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.

Value

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

Author(s)

Kenneth Knoblauch

See Also

See also dose.p

Examples

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

[Package MPDiR version 0.2 Index]