Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
quantiles summary and qp_plot
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
DunovanK  
View profile  
 More options Sep 25 2012, 10:10 pm
From: DunovanK <dunov...@gmail.com>
Date: Tue, 25 Sep 2012 19:10:28 -0700 (PDT)
Local: Tues, Sep 25 2012 10:10 pm
Subject: quantiles summary and qp_plot

Hello all,

I have recently tried using the quantiles_summary and qp_plot modules but
have run into some roadblocks.  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)
<ipython-input-43-8a6de8a1d14d> in <module>()
      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-packag es/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'

Do I need to input the models parameter dict myself somewhere? After
getting a quantiles summary, I would like to create a quantile-probability
plot of the data.  With respect to the qp_plot() function, I'm not exactly
sure what the split_function does. Could someone provide an example of how
this should be set up?  I have experimented with simulating data sets using
the group estimated parameters but I would like to try this method out as
well.

Thank you for your help,

Kyle


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thomas Wiecki  
View profile  
 More options Sep 26 2012, 9:47 am
From: Thomas Wiecki <thomas.wie...@gmail.com>
Date: Wed, 26 Sep 2012 09:46:55 -0400
Local: Wed, Sep 26 2012 9:46 am
Subject: Re: [hddm-users] quantiles summary and qp_plot
Hi Kyle,

Thanks for reporting, that's a bug. I filed an issue here:

https://github.com/hddm-devs/hddm/issues/9

Thomas


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
DunovanK  
View profile  
 More options Sep 26 2012, 10:24 am
From: DunovanK <dunov...@gmail.com>
Date: Wed, 26 Sep 2012 07:24:17 -0700 (PDT)
Local: Wed, Sep 26 2012 10:24 am
Subject: Re: [hddm-users] quantiles summary and qp_plot

Great, thanks Thomas.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »