Bayesian Analysis


Bayesian analysis is revolutionary in that it can estimate complex models with no analytical solutions and also incorporate prior knowledge. This course introduces Bayesian analysis in a conceptually accessible way, with a focus on application and interpretation. Selected topics include the history of Bayesian analysis, the Bayes's theorem, the basics of likelihood theory, the Markov chain Monte Carlo methods, applications of the Bayesian methods for estimating generalized linear models and multilevel regression models, and post-estimation analysis (model diagnostics and comparisons). Examples and R code will be provided. Knowledge of R and linear regression is required.

Agenda (Request syllabus)

Day 1: Bayesian Framework and Bayesian Linear Regression

Day 2: Bayesian Estimation and Bayesian Generalized Linear Models

Day 3: Bayesian Inference and Multilevel Regression Models


Dr. Jun Xu is Professor of Sociology and Data Science at Ball State University. He received a Ph.D. in Sociology from Indiana University (Bloomington) and has been teaching methods courses for over 15 years. His methodological interests include Bayesian statistics, categorical data analysis, causal inference, machine learning, etc. He is the author of Modern Applied Regressions: Bayesian and Frequentist Analysis of Categorical and Limited Response Variables with R and Stan (Chapman & Hall/CRC) and a co-author of Ordered Regression Models: Parallel, Partial, and Non-Parallel Alternatives (with Andrew S. Fullerton, Chapman & Hall/CRC). He has published in Sociological Methods and Research, Social Science Research, and The Stata Journal and has authored or co-authored several statistical application packages, including "gencrm", "grcompare", and the very popular "SPost 9.0" package in Stata and "stdcoef" in R.

Class Time

TBA, 2023 (8pm-10:30pm, US ET). Zoom class with recordings available.


Regular tuition: $575. Early-bird tuition (register by June 1, 2023): $525. Alumni and student tuition (register by June 1, 2023): $475. To audit the first class for free, please register here. To register for the full course, please click the button below.


This is a great class and cleared up so many confusions and misunderstandings I had previously about both Bayesian and Frequentist statistics. This course is great for those who have quantitative skills to learn Bayesian analysis while reviewing the Frequentist statistics. It is also wonderful for the beginners to understand the basics of Bayesian analysis. Of course, the most wonderful part is the lab session which provides detailed R codes about how to run and interpret Bayesian models.

Dr. Xu provides very thorough and helpful details in the lectures and lab guides. I found them invaluable.