SimulateNoBiasVsSubjectBias: Estimate slope and threshold with and without history biases

Description Usage Arguments Details Examples

Description

Run simulation using either subjects' natural history biases or without history biases (success, failure and L/R biases are set to 0). It sets success, failure and L/R biases of each subject to 0 when simulating no-bias responses and leaves them intact when simulating using subject's natural biases. The "IsSubject" field indicates if simulates has subject's natural biases (TRUE) or has biases removed (FALSE).

Usage

1
2
SimulateNoBiasVsSubjectBias(sbjWeights, nTrialsPerContrast = 100, B = 30,
  setLRBiasToZero = TRUE, probitWithLapseRate = TRUE)

Arguments

sbjWeights

regularized subject weights

nTrialsPerContrast

number of trials for each contrast

B

number of simulations

setLRBiasToZero

removes L/R bias (intercept) from all simulations, including from subject's weights

Details

Note: Simulations run using subjects' mean weights

Examples

1
SimulateNoBiasVsSubjectBias(sbjWeights, nTrialsPerContrast = 100, B = 30)

armanabraham/chb documentation built on May 10, 2019, 1:39 p.m.