Skip to content

Read-only version: For security reasons, the Research Information System (FIS) has been temporarily replaced by this read-only version. All public content and full texts remain available; login, editing, submission and statistics are not available. Questions: fis@uni-bamberg.de

Home › Publications › Bistablehistory : an R package for history-dependent analysis of perceptual time series

Publication

Bistablehistory : an R package for history-dependent analysis of perceptual time series

Pastukhov, Alexander (2022): Bistablehistory : an R package for history-dependent analysis of perceptual time series, in: Journal of Open Source Software : a developer friendly journal for research software packages, Jg. 7, Nr. 70, S. 1–6, doi: 10.21105/joss.03901.

Details

Faculty/Chair
Faculty/Professorship
Author
Title of the Journal
Journal of Open Source Software : a developer friendly journal for research software packages
ISSN
2475-9066
Year of publication
2022
Volume
7
Issue
70
Language
English
DOI
URL
Abstract

Our perception is subject to a process of adaptation that changes its operating properties (Clifford et al., 2007). This process manifests itself in a plethora of perceptual illusions and so-called aftereffects. It also plays an important role during the perception of multistable stimuli, such as a Necker cube (Fig. 1A). These are compatible with several, typically two, comparably likely perceptual interpretations. In the case of the Necker cube, one can perceive it as “upwards” or “downwards,” and during continuous viewing the perception switches between these alternatives (Fig. 1B).

Typically, time series for such multistable stimuli are fitted using the Gamma distribution (Fig. 1C). This assumes that individual dominance phase durations are exchangeable, i.e., the order in which they are drawn is unimportant. However, this ignores the effect of prior perception through adaptation (Ee, 2009) that makes individual dominance phases serially dependent on prior ones, violating assumptions about independent and identically distributed samples. In other words, each dominance phase is drawn from its specific distribution, whose parameters are also determined by the prior perceptual history. The bistablehistory package solves this problem by accounting for the slow accumulation process via a homogeneous first-order process (Pastukhov & Braun, 2011), providing tools for fitting time series using various distributions. It also allows for fitting while accounting for additional random or fixed factors. In addition, it provides a tool for extracting the estimated accumulated adaptation or computing it directly for further usage. The package aims to streamline the time series analysis for perceptual multistability and experiments on continuous perception in general. The package is built using the Stan probabilistic programming language (Carpenter et al., 2017). Thus, it provides posterior distributions, the ability to compare models via information criteria (Vehtari et al., 2017), etc. In addition, the package provides Stan code for performing the estimation and an example that explains how to implement a custom Stan model that relies on it.

GND Keywords
Visuelle Wahrnehmung
Anpassung
Zeitfaktor
Keywords
vision time
series binocular
riavlry
DDC Classification
150 Psychology
RVK Classification
CP 2500
Peer Reviewed
yes
International Distribution
yes
Open Access Journal
yes
Type
Article
URI
Activation date
2022-09-13

Permalink: https://fis.uni-bamberg.de/handle/uniba/55534 · Data as JSON · Cite: BibTeX · RIS

Data as of: 2026-11-16

Restricted read-only access: login, editing and submission are temporarily disabled.