Received: by 10.58.132.238 with SMTP id ox14mr2493625veb.15.1347447451338; Wed, 12 Sep 2012 03:57:31 -0700 (PDT) X-BeenThere: hddm-users@googlegroups.com Received: by 10.220.214.66 with SMTP id gz2ls1698330vcb.2.gmail; Wed, 12 Sep 2012 03:57:30 -0700 (PDT) Received: by 10.52.23.145 with SMTP id m17mr3592154vdf.0.1347447450620; Wed, 12 Sep 2012 03:57:30 -0700 (PDT) Date: Wed, 12 Sep 2012 03:57:30 -0700 (PDT) From: Inge Leunissen To: hddm-users@googlegroups.com Message-Id: <6877b4e0-26fb-4c29-8dfc-f59e4ce87ade@googlegroups.com> In-Reply-To: <5ed8e30f-cb9c-4cc6-9132-8e6f4c6cc62c@googlegroups.com> References: <5ed8e30f-cb9c-4cc6-9132-8e6f4c6cc62c@googlegroups.com> Subject: Re: syntax questions MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_1946_21805145.1347447450282" ------=_Part_1946_21805145.1347447450282 Content-Type: multipart/alternative; boundary="----=_Part_1947_31129504.1347447450282" ------=_Part_1947_31129504.1347447450282 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sorry, I've been reading some of the previous post and just to make things clear: the model is hierarchical, and not a 'flat' group model On Wednesday, September 12, 2012 12:48:57 PM UTC+2, Inge Leunissen wrote: > > Hi, > > First of all congratulations on the update, everything works smoothly so > far! > > I've got 2 naive syntax questions. > > 1) I've ran a group model with a condition effect on 'a' and I'm trying to > compute the difference between conditions by means of the group_cond_diff > function I found in kabuki.analyze > > >>> group_cond_diff(model,'a','repeat','switch') > Traceback (most recent call last): > File "", line 1, in > File "C:\Python27\lib\site-packages\kabuki\analyze.py", line 215, in > group_con > d_diff > node_dict = hm.params_include[name].subj_nodes > AttributeError: 'HDDM' object has no attribute 'params_include' > > I assume that I did not enter the node name correctly but I've tried a > number of possibilities and it keeps giving the same error message. Can > anyone help me out with the correct syntax? > Moreover, I've also got a model which contains a group*condition > interaction, any tips on how I can adjust the script such that it loops > over subjects and groups? > > 2) I tested convergenge by means of the posterior plots and geweke. I > would however like to run the gelman_rubin. Since I've got a group model > the MAP method cannot be used and it is suggested to use the > subj_by_subj_map_init. I cannot seem to find this function anywere, how > should it be called? > > Thanks a lot! > > Inge > > ------=_Part_1947_31129504.1347447450282 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Sorry, I've been reading some of the previous post and just to make things = clear: the model is hierarchical, and not a 'flat' group model 
On Wednesday, September 12, 2012 12:48:57 PM UTC+2, Inge Leunissen wrote:<= blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left: 0.8ex;bord= er-left: 1px #ccc solid;padding-left: 1ex;">Hi, 

Fi= rst of all congratulations on the update, everything works smoothly so far!=  

I've got 2 naive syntax questions. 
1) I've ran a group model with a condition effect on 'a' and I'm tryin= g to compute the difference between conditions by means of the group_cond_d= iff function I found in kabuki.analyze

>&g= t;> group_cond_diff(model,'a','repeat','switch')
Tracebac= k (most recent call last):
  File "<stdin>", line 1, i= n <module>
  File "C:\Python27\lib\site-packages\= kabuki\analyze.py", line 215, in group_con
d_diff
 = ;   node_dict =3D hm.params_include[name].subj_nodes
At= tributeError: 'HDDM' object has no attribute 'params_include'

I assume that I did not enter the node name correctly but= I've tried a number of possibilities and it keeps giving the same error me= ssage. Can anyone help me out with the correct syntax? 
More= over, I've also got a model which contains a group*condition interaction, a= ny tips on how I can adjust the script such that it loops over subjects and= groups?

2) I tested convergenge by means of the p= osterior plots and geweke. I would however like to run the gelman_rubin. Si= nce I've got a group model the MAP method cannot be used and it is suggeste= d to use the subj_by_subj_map_init. I cannot seem to find this function any= were, how should it be called? 

Thanks a lot!=  

Inge 

------=_Part_1947_31129504.1347447450282-- ------=_Part_1946_21805145.1347447450282--