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
260 stars 118 forks source link

quantiles_summary() and qp_plot() are broken #9

Closed twiecki closed 11 years ago

twiecki commented 12 years ago

I first ran a model called 'model' then called

quantiles_summary(model, method='deviance', n_samples=50, quantiles = (10, 30, 50, 70, 90), sorted_idx = None, cdf_range = (-6, 6))

Which led kicked back:

AttributeError Traceback (most recent call last)

in () 1 quantiles_summary(model, method='deviance', n_samples=50, 2 quantiles = (10, 30, 50, 70, 90), sorted_idx = None, ----> 3 cdf_range = (-5, 5)) /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/hddm/utils.pyc in quantiles_summary(hm, method, n_samples, quantiles, sorted_idx, cdf_range) 636 #Init 637 n_q = len(quantiles) --> 638 wfpt_dict = hm.params_dict['wfpt'].subj_nodes 639 conds = wfpt_dict.keys() 640 n_conds = len(conds) AttributeError: 'HDDM' object has no attribute 'params_dict'
twiecki commented 11 years ago

Any update on this? Moving to a new branch otherwise.

isofer commented 11 years ago

no, I'm working on more important fixes.

On Mon, Nov 12, 2012 at 5:03 PM, Thomas Wiecki notifications@github.comwrote:

Any update on this? Moving to a new branch otherwise.

— Reply to this email directly or view it on GitHubhttps://github.com/hddm-devs/hddm/issues/9#issuecomment-10305755.