hddm-devs / hddm

HDDM is a python module that implements Hierarchical Bayesian parameter estimation of Drift Diffusion Models (via PyMC).
http://ski.clps.brown.edu/hddm_docs/
Other
261 stars 117 forks source link

error in parameter default tutorial #110

Open harrisonritz opened 7 months ago

harrisonritz commented 7 months ago

in parameter defaults tutorial, example is given for setting theta=0 by leaving it unspecified, saying that the default value is 0.

however, in the documentation on that page, the default appears to be 0.1. This should be corrected, because people might try this method for setting theta=0.

'angle': {'doc': 'Model formulation is described in the documentation under LAN Extension.nMeant for use with the extension.',
  'params': ['v', 'a', 'z', 't', 'theta'],
  'params_trans': [0, 0, 1, 0, 0],
  'params_std_upper': [1.5, 1.0, None, 1.0, 1.0],
  'param_bounds': [[-3.0, 0.3, 0.1, 0.001, -0.1], [3.0, 3.0, 0.9, 2.0, 1.3]],
  'boundary': <function ssms.basic_simulators.boundary_functions.angle(t=1, theta=1)>,
  'params_default': [0.0, 1.0, 0.5, 0.001, 0.1],
  'hddm_include': ['v', 'a', 't', 'z', 'theta'],
  'choices': [-1, 1],
  'slice_widths': {'v': 1.5,
   'v_std': 1,
   'a': 1,
   'a_std': 1,
   'z': 0.1,
   'z_trans': 0.2,
   't': 0.01,
   't_std': 0.15,
   'theta': 0.1,
   'theta_std': 0.2}},