Other packages > Find by keyword >

ream  

Density, Distribution, and Sampling Functions for Evidence Accumulation Models
View on CRAN: Click here


Download and install ream package within the R console
Install from CRAN:
install.packages("ream")

Install from Github:
library("remotes")
install_github("cran/ream")

Install by package version:
library("remotes")
install_version("ream", "1.0-5")



Attach the package and use:
library("ream")
Maintained by
Raphael Hartmann
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2024-09-10
Latest Update: 2024-09-20
Description:
Calculate the probability density functions (PDFs) for two threshold evidence accumulation models (EAMs). These are defined using the following Stochastic Differential Equation (SDE), dx(t) = v(x(t),t)*dt+D(x(t),t)*dW, where x(t) is the accumulated evidence at time t, v(x(t),t) is the drift rate, D(x(t),t) is the noise scale, and W is the standard Wiener process. The boundary conditions of this process are the upper and lower decision thresholds, represented by b_u(t) and b_l(t), respectively. Upper threshold b_u(t) > 0, while lower threshold b_l(t) < 0. The initial condition of this process x(0) = z where b_l(t) < z < b_u(t). We represent this as the relative start point w = z/(b_u(0)-b_l(0)), defined as a ratio of the initial threshold location. This package generates the PDF using the same approach as the 'python' package it is based upon, 'PyBEAM' by Murrow and Holmes (2023) <doi:10.3758/s13428-023-02162-w>. First, it converts the SDE model into the forwards Fokker-Planck equation dp(x,t)/dt = d(v(x,t)*p(x,t))/dt-0.5*d^2(D(x,t)^2*p(x,t))/dx^2, then solves this equation using the Crank-Nicolson method to determine p(x,t). Finally, it calculates the flux at the decision thresholds, f_i(t) = 0.5*d(D(x,t)^2*p(x,t))/dx evaluated at x = b_i(t), where i is the relevant decision threshold, either upper (i = u) or lower (i = l). The flux at each thresholds f_i(t) is the PDF for each threshold, specifically its PDF. We discuss further details of this approach in this package and 'PyBEAM' publications. Additionally, one can calculate the cumulative distribution functions of and sampling from the EAMs.
How to cite:
Raphael Hartmann (2024). ream: Density, Distribution, and Sampling Functions for Evidence Accumulation Models. R package version 1.0-5, https://cran.r-project.org/web/packages/ream. Accessed 24 Dec. 2024.
Previous versions and publish date:
1.0-1 (2024-09-10 11:50), 1.0-2 (2024-09-16 13:50), 1.0-3 (2024-09-17 11:30), 1.0-4 (2024-09-20 11:20)
Other packages that cited ream R package
View ream citation profile
Other R packages that ream depends, imports, suggests or enhances
Complete documentation for ream
Functions, R codes and Examples using the ream R package
Full ream package functions and examples
Downloads during the last 30 days
Get rewarded with contribution points by helping add
Reviews / comments / questions /suggestions ↴↴↴

Today's Hot Picks in Authors and Packages

Fstability  
Calculate Feature Stability
Has two functions to help with calculating feature selection stability. 'Lump' is a function that gr ...
Download / Learn more Package Citations See dependency  
ungroup  
Penalized Composite Link Model for Efficient Estimation of Smooth Distributions from Coarsely Binned Data
Versatile method for ungrouping histograms (binned count data) assuming that counts are Poisson di ...
Download / Learn more Package Citations See dependency  
qrmtools  
Tools for Quantitative Risk Management
Functions and data sets for reproducing selected results from the book "Quantitative Risk Managemen ...
Download / Learn more Package Citations See dependency  
RKEELjars  
Java Executable .jar Files for "RKEEL"
KEEL is a popular Java software for a large number of different knowledge data discovery tasks. Furt ...
Download / Learn more Package Citations See dependency  
timeperiodsR  
Simple Definition Of Time Intervals
Simple definition of time intervals for the current, previous, and next week, month, quarter and yea ...
Download / Learn more Package Citations See dependency  
colorist  
Coloring Wildlife Distributions in Space-Time
Color and visualize wildlife distributions in space-time using raster data. In addition to enabling ...
Download / Learn more Package Citations See dependency  

23,394

R Packages

202,214

Dependencies

63,416

Author Associations

23,395

Publication Badges

© Copyright 2022 - present. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA