Skip to content

Commit

Permalink
Update drift-diffusion-sim-single-trial-v01.R
Browse files Browse the repository at this point in the history
  • Loading branch information
ballardtj committed Mar 28, 2019
1 parent 0008168 commit ffabfae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drift-diffusion-sim-single-trial-v01.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ library(tidyverse) #for first time installation: "install.packages('tidyverse')"

### set parameter values for simulation ###

drift_rate_mean = .2 #mean change in evidence per second (positive values favour upper bound, negative values favour lower bound)
drift_rate_mean = .5 #mean change in evidence per second (positive values favour upper bound, negative values favour lower bound)
drift_rate_sd = 1 #sd of change in evidence per second (aka diffusion coefficient)
boundary_separation = 2 #distance between response thresholds, and value of upper threshold (lower threshold has value of 0)
start_point = 1 #level of evidence at start of trial (when half of boundary separation, no bias is present)
Expand Down

0 comments on commit ffabfae

Please sign in to comment.