Hierarchical Gaussian Filter (HGF) model of conditioned hallucinations task (Powers et al 2017)

 Download zip file 
Help downloading and running models
Accession:229278
This is an instantiation of the Hierarchical Gaussian Filter (HGF) model for use with the Conditioned Hallucinations Task.
Reference:
1 . Powers AR, Mathys C, Corlett PR (2017) Pavlovian conditioning-induced hallucinations result from overweighting of perceptual priors. Science 357:596-600 [PubMed]
Citations  Citation Browser
Model Information (Click on a link to find other models with that property)
Model Type:
Brain Region(s)/Organism:
Cell Type(s):
Channel(s):
Gap Junctions:
Receptor(s):
Gene(s):
Transmitter(s):
Simulation Environment: MATLAB;
Model Concept(s): Hallucinations;
Implementer(s): Powers, Al [albert.powers at yale.edu]; Mathys, Chris H ;
/
HGF
analysis
hgfToolBox_condhalluc1.4
README
COPYING *
example_binary_input.txt
example_categorical_input.mat
example_usdchf.txt
Manual.pdf
tapas_autocorr.m
tapas_bayes_optimal.m
tapas_bayes_optimal_binary.m
tapas_bayes_optimal_binary_config.m
tapas_bayes_optimal_binary_transp.m
tapas_bayes_optimal_categorical.m
tapas_bayes_optimal_categorical_config.m
tapas_bayes_optimal_categorical_transp.m
tapas_bayes_optimal_config.m
tapas_bayes_optimal_transp.m
tapas_bayes_optimal_whatworld.m
tapas_bayes_optimal_whatworld_config.m
tapas_bayes_optimal_whatworld_transp.m
tapas_bayes_optimal_whichworld.m
tapas_bayes_optimal_whichworld_config.m
tapas_bayes_optimal_whichworld_transp.m
tapas_bayesian_parameter_average.m
tapas_beta_obs.m
tapas_beta_obs_config.m
tapas_beta_obs_namep.m
tapas_beta_obs_sim.m
tapas_beta_obs_transp.m
tapas_boltzmann.m
tapas_cdfgaussian_obs.m
tapas_cdfgaussian_obs_config.m
tapas_cdfgaussian_obs_transp.m
tapas_condhalluc_obs.m
tapas_condhalluc_obs_config.m
tapas_condhalluc_obs_namep.m
tapas_condhalluc_obs_sim.m
tapas_condhalluc_obs_transp.m
tapas_condhalluc_obs2.m
tapas_condhalluc_obs2_config.m
tapas_condhalluc_obs2_namep.m
tapas_condhalluc_obs2_sim.m
tapas_condhalluc_obs2_transp.m
tapas_Cov2Corr.m
tapas_datagen_categorical.m
tapas_fit_plotCorr.m
tapas_fit_plotResidualDiagnostics.m
tapas_fitModel.m
tapas_gaussian_obs.m
tapas_gaussian_obs_config.m
tapas_gaussian_obs_namep.m
tapas_gaussian_obs_sim.m
tapas_gaussian_obs_transp.m
tapas_hgf.m
tapas_hgf_ar1.m
tapas_hgf_ar1_binary.m
tapas_hgf_ar1_binary_config.m
tapas_hgf_ar1_binary_namep.m
tapas_hgf_ar1_binary_plotTraj.m
tapas_hgf_ar1_binary_transp.m
tapas_hgf_ar1_config.m
tapas_hgf_ar1_mab.m
tapas_hgf_ar1_mab_config.m
tapas_hgf_ar1_mab_plotTraj.m
tapas_hgf_ar1_mab_transp.m
tapas_hgf_ar1_namep.m
tapas_hgf_ar1_plotTraj.m
tapas_hgf_ar1_transp.m
tapas_hgf_binary.m
tapas_hgf_binary_condhalluc_plotTraj.m
tapas_hgf_binary_config.m
tapas_hgf_binary_config_startpoints.m
tapas_hgf_binary_mab.m
tapas_hgf_binary_mab_config.m
tapas_hgf_binary_mab_plotTraj.m
tapas_hgf_binary_mab_transp.m
tapas_hgf_binary_namep.m
tapas_hgf_binary_plotTraj.m
tapas_hgf_binary_pu.m
tapas_hgf_binary_pu_config.m
tapas_hgf_binary_pu_namep.m
tapas_hgf_binary_pu_tbt.m
tapas_hgf_binary_pu_tbt_config.m
tapas_hgf_binary_pu_tbt_namep.m
tapas_hgf_binary_pu_tbt_transp.m
tapas_hgf_binary_pu_transp.m
tapas_hgf_binary_transp.m
tapas_hgf_categorical.m
tapas_hgf_categorical_config.m
tapas_hgf_categorical_namep.m
tapas_hgf_categorical_norm.m
tapas_hgf_categorical_norm_config.m
tapas_hgf_categorical_norm_transp.m
tapas_hgf_categorical_plotTraj.m
tapas_hgf_categorical_transp.m
tapas_hgf_config.m
tapas_hgf_demo.m
tapas_hgf_demo_commands.m
tapas_hgf_jget.m
tapas_hgf_jget_config.m
tapas_hgf_jget_plotTraj.m
tapas_hgf_jget_transp.m
tapas_hgf_namep.m
tapas_hgf_plotTraj.m
tapas_hgf_transp.m
tapas_hgf_whatworld.m
tapas_hgf_whatworld_config.m
tapas_hgf_whatworld_namep.m
tapas_hgf_whatworld_plotTraj.m
tapas_hgf_whatworld_transp.m
tapas_hgf_whichworld.m
tapas_hgf_whichworld_config.m
tapas_hgf_whichworld_namep.m
tapas_hgf_whichworld_plotTraj.m
tapas_hgf_whichworld_transp.m
tapas_hhmm.m
tapas_hhmm_binary_displayResults.m
tapas_hhmm_config.m
tapas_hhmm_transp.m
tapas_hmm.m
tapas_hmm_binary_displayResults.m
tapas_hmm_config.m
tapas_hmm_transp.m
tapas_kf.m
tapas_kf_config.m
tapas_kf_namep.m
tapas_kf_plotTraj.m
tapas_kf_transp.m
tapas_logit.m
tapas_logrt_linear_binary.m
tapas_logrt_linear_binary_config.m
tapas_logrt_linear_binary_minimal.m
tapas_logrt_linear_binary_minimal_config.m
tapas_logrt_linear_binary_minimal_transp.m
tapas_logrt_linear_binary_namep.m
tapas_logrt_linear_binary_sim.m
tapas_logrt_linear_binary_transp.m
tapas_logrt_linear_whatworld.m
tapas_logrt_linear_whatworld_config.m
tapas_logrt_linear_whatworld_transp.m
tapas_ph_binary.m
tapas_ph_binary_config.m
tapas_ph_binary_namep.m
tapas_ph_binary_plotTraj.m
tapas_ph_binary_transp.m
tapas_quasinewton_optim.m
tapas_quasinewton_optim_config.m
tapas_riddersdiff.m
tapas_riddersdiff2.m
tapas_riddersdiffcross.m
tapas_riddersgradient.m
tapas_riddershessian.m
tapas_rs_belief.m
tapas_rs_belief_config.m
tapas_rs_precision.m
tapas_rs_precision_config.m
tapas_rs_precision_whatworld.m
tapas_rs_precision_whatworld_config.m
tapas_rs_surprise.m
tapas_rs_surprise_config.m
tapas_rs_transp.m
tapas_rs_whatworld_transp.m
tapas_rw_binary.m
tapas_rw_binary_config.m
tapas_rw_binary_dual.m
tapas_rw_binary_dual_config.m
tapas_rw_binary_dual_plotTraj.m
tapas_rw_binary_dual_transp.m
tapas_rw_binary_namep.m
tapas_rw_binary_plotTraj.m
tapas_rw_binary_transp.m
tapas_sgm.m
tapas_simModel.m
tapas_softmax.m
tapas_softmax_2beta.m
tapas_softmax_2beta_config.m
tapas_softmax_2beta_transp.m
tapas_softmax_binary.m
tapas_softmax_binary_config.m
tapas_softmax_binary_namep.m
tapas_softmax_binary_sim.m
tapas_softmax_binary_transp.m
tapas_softmax_config.m
tapas_softmax_namep.m
tapas_softmax_sim.m
tapas_softmax_transp.m
tapas_squared_pe.m
tapas_squared_pe_config.m
tapas_squared_pe_transp.m
tapas_sutton_k1_binary.m
tapas_sutton_k1_binary_config.m
tapas_sutton_k1_binary_plotTraj.m
tapas_sutton_k1_binary_transp.m
tapas_unitsq_sgm.m
tapas_unitsq_sgm_config.m
tapas_unitsq_sgm_mu3.m
tapas_unitsq_sgm_mu3_config.m
tapas_unitsq_sgm_mu3_transp.m
tapas_unitsq_sgm_namep.m
tapas_unitsq_sgm_sim.m
tapas_unitsq_sgm_transp.m
                            
   1.0357000e+00
   1.0319000e+00
   1.0359000e+00
   1.0343000e+00
   1.0303000e+00
   1.0328000e+00
   1.0311000e+00
   1.0326000e+00
   1.0247000e+00
   1.0245000e+00
   1.0175000e+00
   1.0178000e+00
   1.0184000e+00
   1.0189000e+00
   1.0241000e+00
   1.0259000e+00
   1.0262000e+00
   1.0265000e+00
   1.0286000e+00
   1.0398000e+00
   1.0449000e+00
   1.0410000e+00
   1.0422000e+00
   1.0414000e+00
   1.0403000e+00
   1.0435000e+00
   1.0472000e+00
   1.0513000e+00
   1.0535000e+00
   1.0613000e+00
   1.0613000e+00
   1.0596000e+00
   1.0568000e+00
   1.0558000e+00
   1.0614000e+00
   1.0724000e+00
   1.0729000e+00
   1.0728000e+00
   1.0735000e+00
   1.0695000e+00
   1.0663000e+00
   1.0681000e+00
   1.0751000e+00
   1.0761000e+00
   1.0762000e+00
   1.0778000e+00
   1.0717000e+00
   1.0718000e+00
   1.0794000e+00
   1.0836000e+00
   1.0763000e+00
   1.0762000e+00
   1.0763000e+00
   1.0796000e+00
   1.0807000e+00
   1.0841000e+00
   1.0761000e+00
   1.0739000e+00
   1.0737000e+00
   1.0790000e+00
   1.0798000e+00
   1.0709000e+00
   1.0734000e+00
   1.0763000e+00
   1.0745000e+00
   1.0745000e+00
   1.0716000e+00
   1.0765000e+00
   1.0738000e+00
   1.0702000e+00
   1.0616000e+00
   1.0584000e+00
   1.0583000e+00
   1.0611000e+00
   1.0580000e+00
   1.0538000e+00
   1.0585000e+00
   1.0595000e+00
   1.0620000e+00
   1.0619000e+00
   1.0604000e+00
   1.0590000e+00
   1.0685000e+00
   1.0712000e+00
   1.0680000e+00
   1.0653000e+00
   1.0647000e+00
   1.0634000e+00
   1.0642000e+00
   1.0581000e+00
   1.0529000e+00
   1.0583000e+00
   1.0619000e+00
   1.0619000e+00
   1.0621000e+00
   1.0690000e+00
   1.0718000e+00
   1.0751000e+00
   1.0700000e+00
   1.0663000e+00
   1.0656000e+00
   1.0593000e+00
   1.0572000e+00
   1.0529000e+00
   1.0568000e+00
   1.0601000e+00
   1.0620000e+00
   1.0621000e+00
   1.0656000e+00
   1.0653000e+00
   1.0694000e+00
   1.0740000e+00
   1.0774000e+00
   1.0729000e+00
   1.0730000e+00
   1.0756000e+00
   1.0791000e+00
   1.0865000e+00
   1.0836000e+00
   1.0785000e+00
   1.0784000e+00
   1.0781000e+00
   1.0841000e+00
   1.0943000e+00
   1.1103000e+00
   1.1134000e+00
   1.1115000e+00
   1.1082000e+00
   1.1078000e+00
   1.1030000e+00
   1.1096000e+00
   1.1104000e+00
   1.1133000e+00
   1.1246000e+00
   1.1342000e+00
   1.1343000e+00
   1.1364000e+00
   1.1349000e+00
   1.1511000e+00
   1.1510000e+00
   1.1498000e+00
   1.1499000e+00
   1.1500000e+00
   1.1568000e+00
   1.1626000e+00
   1.1581000e+00
   1.1546000e+00
   1.1546000e+00
   1.1597000e+00
   1.1597000e+00
   1.1561000e+00
   1.1594000e+00
   1.1568000e+00
   1.1540000e+00
   1.1570000e+00
   1.1636000e+00
   1.1637000e+00
   1.1631000e+00
   1.1566000e+00
   1.1490000e+00
   1.1440000e+00
   1.1473000e+00
   1.1501000e+00
   1.1500000e+00
   1.1400000e+00
   1.1382000e+00
   1.1297000e+00
   1.1176000e+00
   1.1176000e+00
   1.1098000e+00
   1.1087000e+00
   1.1083000e+00
   1.1085000e+00
   1.1081000e+00
   1.1035000e+00
   1.0984000e+00
   1.0919000e+00
   1.0921000e+00
   1.0877000e+00
   1.0852000e+00
   1.0803000e+00
   1.0683000e+00
   1.0642000e+00
   1.0633000e+00
   1.0634000e+00
   1.0643000e+00
   1.0607000e+00
   1.0573000e+00
   1.0520000e+00
   1.0552000e+00
   1.0582000e+00
   1.0582000e+00
   1.0619000e+00
   1.0584000e+00
   1.0566000e+00
   1.0466000e+00
   1.0460000e+00
   1.0510000e+00
   1.0510000e+00
   1.0514000e+00
   1.0513000e+00
   1.0515000e+00
   1.0439000e+00
   1.0484000e+00
   1.0552000e+00
   1.0552000e+00
   1.0506000e+00
   1.0576000e+00
   1.0584000e+00
   1.0460000e+00
   1.0408000e+00
   1.0413000e+00
   1.0413000e+00
   1.0417000e+00
   1.0383000e+00
   1.0459000e+00
   1.0483000e+00
   1.0428000e+00
   1.0395000e+00
   1.0394000e+00
   1.0431000e+00
   1.0544000e+00
   1.0553000e+00
   1.0537000e+00
   1.0519000e+00
   1.0515000e+00
   1.0515000e+00
   1.0412000e+00
   1.0421000e+00
   1.0419000e+00
   1.0367000e+00
   1.0347000e+00
   1.0346000e+00
   1.0347000e+00
   1.0368000e+00
   1.0376000e+00
   1.0294000e+00
   1.0270000e+00
   1.0259000e+00
   1.0284000e+00
   1.0284000e+00
   1.0275000e+00
   1.0189000e+00
   1.0147000e+00
   1.0132000e+00
   1.0164000e+00
   1.0170000e+00
   1.0170000e+00
   1.0142000e+00
   1.0113000e+00
   1.0103000e+00
   1.0134000e+00
   1.0207000e+00
   1.0202000e+00
   1.0202000e+00
   1.0121000e+00
   1.0002000e+00
   1.0029000e+00
   1.0084000e+00
   1.0137000e+00
   1.0103000e+00
   1.0104000e+00
   1.0065000e+00
   1.0032000e+00
   9.9030000e-01
   9.8620000e-01
   9.8330000e-01
   9.8300000e-01
   9.8320000e-01
   9.8460000e-01
   9.8120000e-01
   9.7630000e-01
   9.7810000e-01
   9.7800000e-01
   9.7420000e-01
   9.7420000e-01
   9.7430000e-01
   9.6860000e-01
   9.6400000e-01
   9.6320000e-01
   9.6480000e-01
   9.6310000e-01
   9.6290000e-01
   9.6320000e-01
   9.6240000e-01
   9.5780000e-01
   9.5190000e-01
   9.5610000e-01
   9.5970000e-01
   9.5950000e-01
   9.5940000e-01
   9.6640000e-01
   9.6410000e-01
   9.6510000e-01
   9.7430000e-01
   9.7740000e-01
   9.7720000e-01
   9.7060000e-01
   9.7810000e-01
   9.8900000e-01
   9.8510000e-01
   9.8570000e-01
   9.8290000e-01
   9.8290000e-01
   9.8730000e-01
   9.8600000e-01
   9.7910000e-01
   9.6760000e-01
   9.5900000e-01
   9.6320000e-01
   9.6320000e-01
   9.6480000e-01
   9.6480000e-01
   9.7080000e-01
   9.7160000e-01
   9.7610000e-01
   9.8140000e-01
   9.8120000e-01
   9.8190000e-01
   9.8700000e-01
   9.9450000e-01
   9.9100000e-01
   9.9500000e-01
   9.9300000e-01
   9.9290000e-01
   9.9100000e-01
   9.9070000e-01
   9.9540000e-01
   9.9840000e-01
   1.0015000e+00
   1.0040000e+00
   1.0038000e+00
   1.0017000e+00
   9.9970000e-01
   1.0035000e+00
   1.0000000e+00
   9.8830000e-01
   9.7370000e-01
   9.7380000e-01
   9.7990000e-01
   9.8100000e-01
   9.8810000e-01
   9.8510000e-01
   9.8220000e-01
   9.8150000e-01
   9.8150000e-01
   9.7820000e-01
   9.6470000e-01
   9.6220000e-01
   9.6830000e-01
   9.6350000e-01
   9.6930000e-01
   9.6930000e-01
   9.6740000e-01
   9.6150000e-01
   9.5510000e-01
   9.5510000e-01
   9.6030000e-01
   9.6210000e-01
   9.6210000e-01
   9.6170000e-01
   9.5320000e-01
   9.5090000e-01
   9.4080000e-01
   9.3580000e-01
   9.3500000e-01
   9.3490000e-01
   9.3520000e-01
   9.4110000e-01
   9.5470000e-01
   9.6640000e-01
   9.6520000e-01
   9.6780000e-01
   9.6780000e-01
   9.6690000e-01
   9.7040000e-01
   9.7250000e-01
   9.6800000e-01
   9.6470000e-01
   9.6390000e-01
   9.6390000e-01
   9.6500000e-01
   9.6190000e-01
   9.5970000e-01
   9.5890000e-01
   9.6370000e-01
   9.5890000e-01
   9.5890000e-01
   9.5650000e-01
   9.4710000e-01
   9.4330000e-01
   9.4410000e-01
   9.4470000e-01
   9.4250000e-01
   9.4260000e-01
   9.4200000e-01
   9.4130000e-01
   9.3690000e-01
   9.4310000e-01
   9.4980000e-01
   9.5560000e-01
   9.5600000e-01
   9.5620000e-01
   9.5620000e-01
   9.6260000e-01
   9.6270000e-01
   9.7130000e-01
   9.7370000e-01
   9.7380000e-01
   9.7230000e-01
   9.6930000e-01
   9.6510000e-01
   9.5610000e-01
   9.5010000e-01
   9.4500000e-01
   9.4480000e-01
   9.4650000e-01
   9.4410000e-01
   9.3640000e-01
   9.2810000e-01
   9.2720000e-01
   9.2880000e-01
   9.2890000e-01
   9.2810000e-01
   9.3010000e-01
   9.2640000e-01
   9.2680000e-01
   9.3000000e-01
   9.2550000e-01
   9.2520000e-01
   9.2570000e-01
   9.3090000e-01
   9.3280000e-01
   9.3180000e-01
   9.3160000e-01
   9.3010000e-01
   9.2990000e-01
   9.2750000e-01
   9.2140000e-01
   9.1550000e-01
   9.0150000e-01
   9.0330000e-01
   9.0140000e-01
   9.0120000e-01
   9.0470000e-01
   9.0400000e-01
   9.0390000e-01
   9.0860000e-01
   9.1270000e-01
   9.2040000e-01
   9.2060000e-01
   9.1970000e-01
   9.1840000e-01
   9.2170000e-01
   9.1680000e-01
   9.2290000e-01
   9.2430000e-01
   9.2440000e-01
   9.2360000e-01
   9.2390000e-01
   9.2130000e-01
   9.1790000e-01
   9.1280000e-01
   9.0740000e-01
   9.0800000e-01
   9.0820000e-01
   9.0180000e-01
   8.9720000e-01
   8.9400000e-01
   8.9340000e-01
   8.9280000e-01
   8.9280000e-01
   8.9550000e-01
   8.9780000e-01
   8.9450000e-01
   8.8500000e-01
   8.8620000e-01
   8.8680000e-01
   8.8680000e-01
   8.8330000e-01
   8.8000000e-01
   8.7530000e-01
   8.7280000e-01
   8.6970000e-01
   8.6580000e-01
   8.6580000e-01
   8.6630000e-01
   8.6430000e-01
   8.6150000e-01
   8.6300000e-01
   8.7280000e-01
   8.7970000e-01
   8.7940000e-01
   8.7570000e-01
   8.7660000e-01
   8.8210000e-01
   8.8630000e-01
   8.8710000e-01
   8.9330000e-01
   8.9340000e-01
   8.8860000e-01
   8.8480000e-01
   8.8070000e-01
   8.8180000e-01
   8.8020000e-01
   8.7810000e-01
   8.7830000e-01
   8.8150000e-01
   8.8250000e-01
   8.7710000e-01
   8.6970000e-01
   8.5800000e-01
   8.4990000e-01
   8.4980000e-01
   8.5160000e-01
   8.5160000e-01
   8.4780000e-01
   8.4290000e-01
   8.4040000e-01
   8.3430000e-01
   8.3440000e-01
   8.3580000e-01
   8.3580000e-01
   8.3660000e-01
   8.3880000e-01
   8.4200000e-01
   8.4360000e-01
   8.4360000e-01
   8.4080000e-01
   8.3990000e-01
   8.4890000e-01
   8.5130000e-01
   8.4860000e-01
   8.4910000e-01
   8.4920000e-01
   8.4730000e-01
   8.4340000e-01
   8.4060000e-01
   8.4060000e-01
   8.3770000e-01
   8.3360000e-01
   8.3370000e-01
   8.3600000e-01
   8.3350000e-01
   8.3310000e-01
   8.3590000e-01
   8.4510000e-01
   8.4710000e-01
   8.4740000e-01
   8.4830000e-01
   8.4610000e-01
   8.4060000e-01
   8.4190000e-01
   8.4320000e-01
   8.3720000e-01
   8.3720000e-01
   8.3680000e-01
   8.3490000e-01
   8.2790000e-01
   8.1470000e-01
   8.1600000e-01
   8.1560000e-01
   8.1510000e-01
   8.1510000e-01
   8.1950000e-01
   8.2220000e-01
   8.2040000e-01
   8.1850000e-01
   8.1960000e-01
   8.1890000e-01
   8.0870000e-01
   8.0290000e-01
   8.0160000e-01
   8.0190000e-01
   7.9680000e-01
   7.8630000e-01
   7.8710000e-01
   7.8800000e-01
   7.7770000e-01
   7.6890000e-01
   7.7300000e-01
   7.6590000e-01
   7.6820000e-01
   7.6650000e-01
   7.5910000e-01
   7.4370000e-01
   7.2570000e-01
   7.4140000e-01
   7.6740000e-01
   7.7820000e-01
   7.7860000e-01
   7.8810000e-01
   7.8560000e-01
   7.9170000e-01
   7.9250000e-01
   7.9060000e-01
   7.8550000e-01
   7.8590000e-01
   7.8780000e-01
   7.8920000e-01
   7.9270000e-01
   7.9530000e-01
   7.9730000e-01
   8.0690000e-01
   8.0700000e-01
   8.1350000e-01
   8.1830000e-01
   8.1210000e-01
   8.0140000e-01
   7.8850000e-01
   7.8890000e-01
   7.8890000e-01
   7.8760000e-01
   8.2410000e-01