Learn R Programming

modelfree (version 1.0-2)

binom_weib: Psychometric function fitting for Weibull link function

Description

Maximum likelihood estimates of the parameters of the Weibull model (GLM). The estimated parameters for the linear part are in vector b and the estimated exponent is K.

Usage

binom_weib( r, m, x, p = 1, initK = 2, guessing = 0, lapsing = 0 )

Arguments

r
number of successes in points x
m
number of trials in points x
x
stimulus levels
p
degree of the polynomial to be fitted on the linear scale; default is 1
initK
Power parameter in reverse Weibull model; default is 2
guessing
guessing rate; default is 0
lapsing
lapsing rate; default is 0

Value

  • valueObject with 3 components: b: vector of estimated coefficients for the linear part K: estiamte of the power parameter in the reverse Weibull model fit: glm object to be used in evaluation of fitted values

Examples

Run this code
data( "01_Miranda" )
value <- binom_revweib( example01$r, example01$m, example01$x )

Run the code above in your browser using DataLab