Bayesian Modeling and Computation in Python
eBook - ePub

Bayesian Modeling and Computation in Python

Osvaldo A. Martin, Ravin Kumar, Junpeng Lao

  1. 398 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

Bayesian Modeling and Computation in Python

Osvaldo A. Martin, Ravin Kumar, Junpeng Lao

Dettagli del libro
Anteprima del libro
Indice dei contenuti
Citazioni

Informazioni sul libro

Bayesian Modeling and Computation in Python aims to help beginner Bayesian practitioners to become intermediate modelers. It uses a hands on approach with PyMC3, Tensorflow Probability, ArviZ and other libraries focusing on the practice of applied statistics with references to the underlying mathematical theory.

The book starts with a refresher of the Bayesian Inference concepts. The second chapter introduces modern methods for Exploratory Analysis of Bayesian Models. With an understanding of these two fundamentals the subsequent chapters talk through various models including linear regressions, splines, time series, Bayesian additive regression trees. The final chapters include Approximate Bayesian Computation, end to end case studies showing how to apply Bayesian modelling in different settings, and a chapter about the internals of probabilistic programming languages. Finally the last chapter serves as a reference for the rest of the book by getting closer into mathematical aspects or by extending the discussion of certain topics.

This book is written by contributors of PyMC3, ArviZ, Bambi, and Tensorflow Probability among other libraries.

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
Bayesian Modeling and Computation in Python è disponibile online in formato PDF/ePub?
Sì, puoi accedere a Bayesian Modeling and Computation in Python di Osvaldo A. Martin, Ravin Kumar, Junpeng Lao in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Volkswirtschaftslehre e Statistik für Volks- & Betriebswirtschaft. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

1 Bayesian Inference

DOI: 10.1201/9781003019169-1
Modern Bayesian statistics is mostly performed using computer code. This has dramatically changed how Bayesian statistics was performed from even a few decades ago. The complexity of models we can build has increased, and the barrier of necessary mathematical and computational skills has been lowered. Additionally, the iterative modeling process has become, in many aspects, much easier to perform and more relevant than ever. The popularization of very powerful computer methods is really great but also demands an increased level of responsibility. Even if expressing statistical methods is easier than ever, statistics is a field full of subtleties that do not magically disappear by using powerful computational methods. Therefore having a good background about theoretical aspects, especially those relevant in practice, is extremely useful to effectively apply statistical methods. In this first chapter, we introduce these concepts and methods, many, which will be further explored and expanded throughout the rest of the book.

1.1 Bayesian Modeling

A conceptual model is a representation of a system, made of the composition of concepts that are used to help people know, understand, or simulate the object or process the model represents [39]. Additionally, models are human-designed representations with very specific goals in mind. As such, it is generally more convenient to talk about the adequacy of the model to a given problem than its intrinsic correctness. Models exist solely as an aid to a further goal.
When designing a new car, a car company makes a physical model to help others understand how the product will look when it is built. In this case, a sculptor with prior knowledge of cars, and a good estimate of how the model will be used, takes a supply of raw material such as clay, uses hand tools to sculpt a physical model. This physical model can help inform others about various aspects of the design, such as whether the appearance is aesthetically pleasing, or if the shape of the car is aerodynamic. It takes a combination of domain expertise and sculpting expertise to achieve a useful result. The modeling process often requires building more than one model, either to explore different options or because the models are iteratively improved and expanded as a result of the interaction with other members of the car development team. These days it is also common that in addition to a physical car model, there is a digital model built-in Computer-Aided Design software. This computer model has some advantages over a physical one. It is simpler and cheaper to use for digital for crash simulations versus testing on physical cars. It is also easier to share this model with colleagues in different offices.
These same ideas are relevant in Bayesian modeling. Building a model requires a combination of domain expertise and statistical skill to incorporate knowledge into some computable objectives and determine the usefulness of the result. Data is the raw material, and statistical distributions are the main mathematical tools to shape the statistical model. It takes a combination of domain expertise and statistical expertise to achieve a useful result. Bayesian practitioners also build more than one model in an iterative fashion, the first of which is primarily useful for the practitioner themselves to identify gaps in their thinking, or shortcomings in their models. These first sets of models are then used to build subsequent improved and expanded models. Additionally, the use of one inference mechanism does not obviate the utility for all others, just as a physical model of a car does not obviate the utility of a digital model. In the same way, the modern Bayesian practitioner has many ways to express their ideas, generate results, and share the outputs, allowing a much wider distribution of positive outcomes for the practitioner and their peers.

1.1.1 Bayesian Models

Bayesian models, computational or otherwise, have two defining characteristics:
  • Unknown quantities are described using probability distributions 1. We call these quantities parameters 2.
  • Bayes’ theorem is used to update the values of the parameters conditioned on the data. We can also see this process as a reallocation of probabilities.
At a high-l...

Indice dei contenuti

Stili delle citazioni per Bayesian Modeling and Computation in Python

APA 6 Citation

Martin, O., Kumar, R., & Lao, J. (2021). Bayesian Modeling and Computation in Python (1st ed.). CRC Press. Retrieved from https://www.perlego.com/book/3114197/bayesian-modeling-and-computation-in-python-pdf (Original work published 2021)

Chicago Citation

Martin, Osvaldo, Ravin Kumar, and Junpeng Lao. (2021) 2021. Bayesian Modeling and Computation in Python. 1st ed. CRC Press. https://www.perlego.com/book/3114197/bayesian-modeling-and-computation-in-python-pdf.

Harvard Citation

Martin, O., Kumar, R. and Lao, J. (2021) Bayesian Modeling and Computation in Python. 1st edn. CRC Press. Available at: https://www.perlego.com/book/3114197/bayesian-modeling-and-computation-in-python-pdf (Accessed: 15 October 2022).

MLA 7 Citation

Martin, Osvaldo, Ravin Kumar, and Junpeng Lao. Bayesian Modeling and Computation in Python. 1st ed. CRC Press, 2021. Web. 15 Oct. 2022.