thresh.est: Estimate Threshold Level from Model Object

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/thresh.est.R

Description

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

Usage

1
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

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

MPDiR documentation built on May 31, 2017, 4:18 a.m.