bayesianSpatialMemoryHuttenlocher: bayesianSpatialMemoryHuttenlocher

Description Usage Arguments Details Value See Also Examples

Description

A simple package that assembles the symmetric model used by Huttenlocher and colleagues to analyze spatial estimations from memory in one dimension.

Usage

1
2
3
4
bayesianSpatialMemoryHuttenlocher(stimuli, kappaObjective = 0.5,
  kappa = psiLogOdds(kappaObjective), tauStimuli = 1, tauCategory = 1,
  boundary = 1, leftBoundary = -1 * boundary, rightBoundary = boundary,
  center = 0, responses = "prediction", responseGrid = NULL)

Arguments

stimuli

a vector of stimuli, in public units between -inf and inf

kappaObjective

An alternative specification giving kappa in objective units

kappa

The location of the right-side category (presumed symmetric on both sides around the midline of the screen)

tauStimuli

The precision of the stimulus traces: should be a single number

tauCategory

The precision of the category distribution: should be a single number

boundary

The subject-specific location of the boundaries: may bear any relation to true stimuli, except that it should not leave real data outside the boundaries

leftBoundary

The location of the posited (or fitted) psychological left-hand boundary of the screen. Defaults to -1 * 'boundary'

rightBoundary

The location of the posited (or fitted) psychological right-hand boundary of the screen. Defaults to 'boundary'

center

The posited (or fitted) psychological center of the screen (in public units: should be near the true center)

responses

an optional vector of responses. If responses are given, the return value is the logLikelihood of the responses given the parameters

responseGrid

an optional vector of response structured Responses

Details

This package

Value

A vector the transformed stimuli, or the logLikelihood of them.

See Also

psiIdentity, multiCycleInverse

Examples

1
2
3
bayesianSpatialMemoryHuttenlocher(-99:100/100)
bayesianSpatialMemoryHuttenlocher(-99:100/100, kappa=1, tauStimuli=2)
bayesianSpatialMemoryHuttenlocher(1:100, kappa=1, tauStimuli=2, responses=2*(1:100)^.9)

dlandy/WarpedBayes documentation built on May 29, 2019, 2:49 p.m.