binom_weib: Psychometric function fitting for Weibull link function

Description Usage Arguments Value Examples

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

1
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

value

Object 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

1
2
data( "01_Miranda" )
value <- binom_revweib( example01$r, example01$m, example01$x )

Example output

Loading required package: PolynomF
Loading required package: SparseM

Attaching package: 'SparseM'

The following object is masked from 'package:base':

    backsolve

modelfree documentation built on May 2, 2019, 6:07 p.m.