El sitio web de la UCLM utiliza cookies propias y de terceros con fines técnicos y de análisis, pero no recaba ni cede datos de carácter personal de los usuarios. Sin embargo, puede haber enlaces a sitios web de terceros, con políticas de cookies distintas a la de la UCLM, que usted podrá aceptar o no cuando acceda a ellos.
Puede obtener más información en la Política de cookies. Aceptar
This course is dedicated to describe in detail what Bayesian methods are, including prior, posterior and predictive distributions, and the use of Markov Chain Monte Carlo (MCMC) methods using OpenBUGS. We start with, a short description, with some examples, including the concept of conjugate distributions. We explain how these methods permit to convert a deterministic model into a random model by converting its parameters into random variables, as Bayesian method do, or to improve already random models into more complex ones using the same conversion. The OpenBUGS software is described and used to solve several classical methods in Statistics and Probability. We explain how the use of scripts can facilitate and speed up the simulation process. Apart form these examples, we include some fatigue models examples that show how we can even obtain the percentiles of percentile curves. This permit treating the randomness due to parameters.
Me Gusta
Compartir
The course is motivated and emphasis is made on using MCMC methods and OpenBUGS to transform deterministic models into random ones or performing a Bayesian analysis of already random models. With this tool, answers to problems can be given as density functions instead of simple point estimates or confidence intervals.
Presentation of the course
Enrique Castillo
OpenBUGS course motivation
In this block we introduce Bayesian methods, first, by giving the definitions of its main elements, and second, by means of some simple but illustrative examples. The concept of prior and posterior distributions are introduced and the formula to obtain the posterior, in terms of the prior and the sample likelihood is given. Prior and posterior predictive distributions are also defined and obtained. Some graphical examples are used to illustrate the new and deep concepts. The Doodle tool, to build the Bayesian network defining the models and their parameters is described in detail and some examples are given. Finally, an initial view of OpenBUGS is given using the BPR traffic model, which is converted from deterministic to random.
OpenBUGS Bayesian Methods
The Doodle tool in OpenBUGS
An initial view of OpenBUGS
How to use OpenBUGS
Calling OpenBUGS from matlab
We dedicate this second block to some statistical applications. We start with the problem of estimating a rate considering two cases: (a) the sample size is known, and (b) it is unknown. As already known, if the parameters are assumed to be random we get a Bayesian method to analyze this problem. Some interesting dependencies of the parameters will be discovered. The second example is the Pearson correlation example, in which this statistic is considered as a random variable, instead of a deterministic value. This allows us to answer the problem of finding the Pearson correlation of a model by means of a density function instead of a point or confidence estimate, which goes further beyond than the classical statistics.
The rate problem example with OpenBUGS
A Pearson correlation example with OpenBUGS
This block is dedicated to some programming tools that facilitate the use of Bayesian MCMC methods. We start with scripts, that allow us to use the software without the mouse, i. e., using program commands called scripts. In this way the speed in getting the results increases substantially. Next, we describe the JAGS tool, an alternative to the standard OpenBUGS, that allows as to compare results with a small extra work. The call to JAGS from Matlab is described. Finally, we explain how to use OpenBUGS from Matlab, by explaining how to generate the commands, the data and the initial files and how to generate scripts automatically and call then OpenBUGS later to initiate the simulation process.
Scripts in OpenBUGS
How to use OpenBUGS scripts
OpenBUGS with JAGS
OpenBUGS in Matlab
In this part we describe some engineering applications. We start with a heteroscedastic parabolic regression model, in which the parameters are considered as random instead of deterministic. Since in the deterministic version we can plot percentile regression curves, with this model each percentile curve has its own percentiles curves. The second example is a powerful non-linear random fatigue example, which is selected to satisfy some engineering, physical and statistical conditions and is enriched by assuming that its five parameters are random variables. In this way, each of the S-N percentile curves of the model can be given as stochastic processes, whose percentiles are obtained. Several deal data sets are used to fit the models.
Parabolic Regression with OpenBUGS
Fatigue models with OpenBUGS
This block is dedicated to provide the readers with some of the above examples implemented in matlab and/or JAGS. The whole listing of the programs are given, so that they can immediately run the programs and used them as templates to write their own examples. The complete results, figures, tables and files are automatically saved in a folder, whose name is selected by the user. I hope they enjoy with this experience that can change the way they work with deterministic and statistical models in the furure. If this is so, I will be happy of the change and progress this attitude and orientation implies.
The BPR Example
The Parabolic Regression Example
The Pearson Correlation Example
The Rate Model Example
The Fatigue Examples
Here are all the slideshows for Bayesian methods OpenBUGS
Slideshows