Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exceedance probability: WARNING! #15

Closed
lionel-rigoux opened this issue Oct 7, 2015 · 2 comments
Closed

exceedance probability: WARNING! #15

lionel-rigoux opened this issue Oct 7, 2015 · 2 comments

Comments

@lionel-rigoux
Copy link
Member

From @GoogleCodeExporter on October 7, 2015 9:29

This thread is a warning on the use of exceedance probabilities (EPs).

By default, a RFX-BMS will try to compute exceedance probabilities using 
compiled C code for sampling on a Dirichlet distribution (spm_gamrnd.c). If the 
compilation has not been done, this attempt will fail and the toolbox will 
resort to a normal approximation of EPs.

The quality of this approximation increases with the ratio of number of 
subjects divided by the number of models. When this ratio gets smaller than 
one, the approximation can become slightly overconfident.

Note that the toolbox prompts the user with the following message: 'Warning: 
exceedance probabilities are approximated!'.


In such cases, users would be well advised to re-compile the code, so that 
EPs are correctly estimated. In some instances, it suffices to replace the 
files 'spm_gamrnd*.*' in the directory '/stats&plots/spm_code' with the 
attached files. If this does not work (if the warning message still appears), 
please follow this thread and we will find a solution.



Original issue reported on code.google.com by [email protected] on 28 Jan 2014 at 1:53

Attachments:

Copied from original issue: lionel-rigoux/mbb-vb-toolbox#5

@lionel-rigoux
Copy link
Member Author

From @GoogleCodeExporter on October 7, 2015 9:29

Note: this may affect the beta testers of the multi-source version of the 
toolbox!

Original comment by [email protected] on 28 Jan 2014 at 1:55

@lionel-rigoux
Copy link
Member Author

From @GoogleCodeExporter on October 7, 2015 9:29

Exceedance probability: resolved.

The default sampling approach for EPs has now been changed to incorporate novel 
matlab's pre-compiled smapling routines. RFX-BMS only reverts to SPM sampling 
routines if VBA cannot find matlab's sampling routines.

NB: the new implementation using matlab's sampling routines is about 100 times 
faster (because it avoids loops)!





Original comment by [email protected] on 29 Jul 2014 at 9:39

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant