Description Usage Arguments Value Examples
Maximum likelihood estimates of the parameters of psychometric function with guessing and lapsing rates (GLM) or only guessing rate. The estimated parameters for the linear part are in vector b and the estimated limits are in lims.
1 | binom_lims( r, m, x, gl = c( "both" ), link = c( "logit" ), p = 1, K = 2, initval = NULL )
|
r |
number of successes in points x |
m |
number of trials in points x |
x |
stimulus levels |
gl |
indicator, calulate only guessing if "guessing", only lapsing if "lapsing" and both guessing and lapsing if "both"; default is "both" |
link |
link function; default is "logit" |
p |
degree of the polynomial to be fitted on the linear scale; default is 1 |
K |
Power parameter in Weibull and reverse Weibull models; default is 2 |
initval |
initial value for guessing and lapsing; default is c( 0.01, 0.01) if guessing and lapsing rates are estimated, and 0.01 if only guessing or only lapsing rate is estimated |
value |
The object returned by internal functions binom_g, binom_l, or binom_gl, depending on only guessing, only lapsing, or guessing and lapsing are estimated |
1 2 | data( "01_Miranda" )
value <-binom_lims( example01$r, example01$m, example01$x )
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.