Learn R Programming

MLDS (version 0.5.1)

MLDS-package: ~~ MLDS ~~ Maximum Likelihood Differerence Scaling

Description

Difference scaling is a method for scaling perceived supra-threshold differences. The package contains functions that allow the user to design and run a difference scaling experiment and to fit the resulting data by maximum likelihood.

Arguments

Author

Kenneth Knoblauch and Laurence T. Maloney

Maintainer: Ken Knoblauch ken.knoblauch@inserm.fr

Details

The package provides a function, mlds for estimating a perceptual scale using the data obtained from one or several difference scaling experiments. A second function, simu.6pt permits the interval validity of the scale to be evaluated using a bootstrap method. Several methods are supplied for accessing and examining the ‘mlds’ object generated by estimating the scale.

References

Maloney, L. T. and Yang, J. N. (2003). Maximum likelihood difference scaling. Journal of Vision, 3(8):5, 573--585, tools:::Rd_expr_doi("10.1167/3.8.5").

Knoblauch, K. and Maloney, L. T. (2008) MLDS: Maximum likelihood difference scaling in R. Journal of Statistical Software, 25:2, 1--26, tools:::Rd_expr_doi("10.18637/jss.v025.i02").

Examples

Run this code
library(MLDS)
data(kk1)  # data for one subject for 330 trials of the same experiment
plot(mlds(kk1)) # fit and plot the fitted difference scale

Run the code above in your browser using DataLab