fitQuickfun | R Documentation |
this function currently does not work as intended
fitQuickfun(
x,
y,
t = NA,
model = "static",
lapseRate = 0.02,
numGuesses = 25,
maxThresh = 5
)
x |
stimulus strengths to fit [positive, e.g., SOA] |
y |
responses to fit [bernoulli] |
t |
vector of trial numbers, if desired |
model |
"static" or "exp," depending on what the parameters correspond to |
lapseRate |
At what lapse rate were the parameters fit? |
maxThresh |
How high of a threshold is acceptable (in multiples of the largest stimulus strength value)? |
Given data, what are the predicted Quick parameters? Fits [by minimizing negative log likelihood] either a time-evolving or a static Quick function (Ahissar & Hochstein). If time-evolving, then threshold is each fit by a 3-parameter exponential decay function.
Returns a data frame with fit parameters and the [negative] log likelihood.
example
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.