Learn R Programming

⚠️There's a newer version (0.4.0) of this package.Take me there.

DstarM (version 0.1.0)

Analyze Two Choice Reaction Time Data with the D*M Method

Description

A collection of functions to estimate parameters of a diffusion model via a D*M analysis. Build in models are: the Ratcliff diffusion model, the RWiener diffusion model, and Linear Ballistic Accumulator models. Custom models functions can be specified as long as they have a density function.

Copy Link

Version

Install

install.packages('DstarM')

Monthly Downloads

615

Version

0.1.0

License

GPL (>= 2)

Maintainer

Don den Bergh

Last Published

August 29th, 2016

Functions in DstarM (0.1.0)

byParticipant

Helper function to do DstarM analyses by participant.
getSter

Estimate variance of nondecision density
getTer

Calculate Mean of the nondecision distribution.
estQdf

Estimate quantiles of distribution
estObserved

Estimate observed data density
estND

Estimate nondecision denstiy
estDstarM

Do a D*M analysis
estCdf

Estimate cumulative distribution for D*M models
chisq

Calculates the distance between two probability densities.
testFun

Test fun.density with lower and upper bounds
Voss.density

Calculate model density for a given set of parameters
rtDescriptives

Descriptives of reaction time data
plotObserved

Plot histogram of data with overlayed model predicted density.
rtHist

Make histograms of reaction time data
simData

Simulate data from a given densitiy function via multinomial sampling
calcIC

Calculate Information Criteria