Sorry for the delayed response. That resulted in the same issue. It remains "Sampling..." for quite a long time and finally returns to the prompt. Here is my full script:
#!/usr/bin/python
import hddm
from hddm.utils import post_pred_check
from kabuki.analyze import *
import pylab
# Load data from csv file into a NumPy structured array
data = hddm.load_csv('Group_AllPriors_SubEWMA.csv')
# Create a HDDM model multi object
model = hddm.HDDM(data, depends_on={'v':'object', 'z':'condition'}, include=('T'), bias=True, is_group_model=True)
# Create model and start MCMC sampling
model.sample(50000, burn=20000, thin=2)
# Print fitted parameters and other model statistics
model.print_stats()
# Plot posterior distributions and theoretical RT distributions
plot_posterior_nodes(nodes=[model.nodes_db.ix['z(90F)']['node'], model.nodes_db.ix['z(90H)']['node'], model.nodes_db.ix['z(70F)']['node'], model.nodes_db.ix['z(70H)']['node'], model.nodes_db.ix['z(neutral)']['node']], bins=50)
pylab.show()
model.plot_posteriors()
model.plot_posterior_predictive(savefig=True)
hddm.utils.post_pred_check(model, progress_bar=False)
#post_pred_check(model, samples=50, bins=100, stats={'mean': np.mean, 'median': np.median}, evals=None, plot=False, progress_bar=False)
Any other suggestions?
Thank you,
Kyle