# thresh.est: Estimate Threshold Level from Model Object In MPDiR: Data sets and scripts for Modeling Psychophysical Data in 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 2, 2019, 5:54 p.m.
{"ft_lang_label":"__label__en","ft_lang_prob":0.73413336,"math_prob":0.78542733,"size":770,"snap":"2021-21-2021-25","text_gpt3_token_len":174,"char_repetition_ratio":0.11488251,"word_repetition_ratio":0.0,"special_character_ratio":0.2012987,"punctuation_ratio":0.09219858,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.95555186,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2021-06-17T03:45:28Z\",\"WARC-Record-ID\":\"<urn:uuid:896b8809-83a5-4feb-931b-2bb955ef6faa>\",\"Content-Length\":\"37107\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:33d08fb4-ce0c-4a7f-8ff9-b62fc9524bbd>\",\"WARC-Concurrent-To\":\"<urn:uuid:e34211ec-5507-477f-a8cb-348ab79f67bc>\",\"WARC-IP-Address\":\"51.81.83.12\",\"WARC-Target-URI\":\"https://rdrr.io/rforge/MPDiR/man/thresh.est.html\",\"WARC-Payload-Digest\":\"sha1:CKVP6Y5JSGHDZB32WVBG4VTU6UMM5DHR\",\"WARC-Block-Digest\":\"sha1:CJ6ZRAGXGNNGLX4YABOTFN2LMCCGESIU\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2021/CC-MAIN-2021-25/CC-MAIN-2021-25_segments_1623487626465.55_warc_CC-MAIN-20210617011001-20210617041001-00462.warc.gz\"}"}