henhao
Sign in
NeurosciencebioRxiv
Preprint

Psychophysics with R: The R Package MixedPsy

Priscilla BalestrucciiD, Marc O. ErnstiD, Alessandro MoscatelliiD

PDFDOI

Abstract

Psychophysical methods are widely used in neuroscience to investigate the quantitative relation between a physical property of the world and its perceptual representation provided by the senses. Recent studies introduced the Generalized Linear Mixed Model (GLMM) to fit the responses of multiple participants in psychophysical experiments. Another approach (two-level approach) requires fitting psychometric functions to each individual participant data using a Generalized Linear Model (GLM), and then testing the hypotheses on the multiple participants by means of a second level analysis. For either options, the implementation of the statistical analysis in R is possible and beneficial. Here, we introduce the package MixedPsy to model and fit psychometric data in R, either with two-level and GLMM approaches. The package, freely available in the CRAN repository, uses different methods for the estimation of Point of Subjective Equivalence (PSE) and Just Noticeable Difference (JND), and provides utilities for immediate visualization and plotting of the fitted results. This manuscript aims to provide researchers with a practical tutorial for implementing a complete analysis pipeline for psychophysical data using MixedPsy and other packages and basic functionalities of the R programming environment.

02 /Specification & Classification

Click any tag to browse matching papers

Reproducibility ledger

Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.

Sign in to file a reproducibility report.