Data2EZ: Convert observed sample moments to diffusion parameter values

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Converts proportion correct (Pc), response time variance (VRT), and response time mean (MRT), to EZ diffusion model parameters.

Usage

1
Data2EZ(Pc, VRT, MRT, s = 0.1)

Arguments

Pc

Proportion of correct responses.

VRT

Variance of the response times in seconds.

MRT

Mean of the response times in seconds.

s

Scale parameter for the parameters (Ratcliff's convention is s = 0.1, the default).

Details

Use of MRT is optional; if MRT is absent Ter will not be computed.

Value

A list with estimates

v

Drift rate

a

Boundary separation

Ter

Non-decision time (is NA if MRT is absent)

Author(s)

Raoul Grasman

References

Grasman, R.P.P.P., Wagenmakers, E.-J.& van der Maas, H.L.J. (2009). On the mean and variance of response times under the diffusion model with an application to parameter estimation. Journal of Mathematical Psychology, 53(2), 55-68.

See Also

EZ2batch

Examples

1
    Data2EZ(Pc=0.8022, VRT=0.112035, MRT=0.7231)

EZ2 documentation built on May 2, 2019, 6:20 p.m.