Ruud Wetzelswetzels.ruud[at]gmail.com |
||||||||||||||||||||
| Home - Research - Publications - Code - Links | ||||||||||||||||||||
|
WBDev Tutorial
Over the last decade, the popularity of Bayesian data analysis data in the empirical sciences has greatly increased. This is partly due to the availability of WinBUGS -a free and flexible statistical software package that comes with an array of predefined functions and distributions- allowing users to build complex models with ease. For many applications in the psychological sciences, however, it is highly desirable to be able to define one's own distributions and functions. This functionality is available through the WinBUGS Development Interface (WBDev). This tutorial illustrates the use of WBDev by means of concrete examples, featuring the Expectancy-Valence model of risky behavior in decision-making, and the shifted Wald distribution of response times in speeded choice. All the code and data (zip) is available for download here. The software
We use four bits of software:
[1]WinBUGS download
WBDev scripts for psychologists
In the table below you can find various examples of WBDev scripts that can be useful for psychologists. If you have a WBDev script and want to share it, feel free to send me an email so I can host it here.
For WinBUGS examples that are relevant for cognitive modeling, you can visit Michael Lee's website. There you can find a coursebook on bayesian graphical modeling using WinBUGS. The book is a "work-in-progress" coming from graduate teaching, and is written by Michael Lee and EJ Wagenmakers. For other examples and tutorials, you can visit the BUGS resources page. |
||||||||||||||||||||