没有合适的资源?快使用搜索试试~ 我知道了~
首页Doing Bayesian Data Analysis: A Tutorial with R and BUGS
"《做贝叶斯数据分析:R和BUGS教程》是一本面向初学者的指南,由John K. Kruschke撰写。随着计算方法的进步,贝叶斯统计的吸引力急剧增长,本书提供了一种易于理解的途径,所有数学概念都通过直观的例子和解释来传授,只需要基本的代数和微积分知识。书的内容分为三个部分:基础篇,讲解参数、概率、贝叶斯法则以及R编程语言的基础;二元比例推断部分,深入介绍相关理论;广义线性模型部分,涵盖复杂方法如层次模型和Markov Chain Monte Carlo(MCMC)。 本书的核心特点包括: 1. 基础知识:从概率和随机抽样的基本概念开始,帮助读者建立坚实的基础。 2. R和BUGS编程:书中提供了大量使用R编程语言和BUGS软件的实例,从简单到复杂,逐步引导读者编写完整的程序进行数据分析和报告展示。 3. 全面覆盖:除了传统的t检验、方差分析(ANOVA)、多重比较、多元回归和卡方分析,还包括了实验设计和现代贝叶斯方法的应用。 4. 明确目标:每个章节都有明确的目的,且提供详细的步骤和指导,便于读者理解和实践。 5. 在线资源:包含R和BUGS的计算机编程代码,方便用户下载和扩展。 本书适合社会学和生物学研究者作为入门参考,也适合科研人员在日常工作中查阅。作者约翰·克鲁施克不仅传授理论,还强调实操性和实用性,通过实例演示如何将理论应用到实际问题中,使复杂的概念变得易于掌握。对于希望学习和掌握贝叶斯数据分析方法的读者来说,这是一本不可多得的实用教程。"
资源详情
资源推荐
![](https://csdnimg.cn/release/download_crawler_static/10015907/bg10.jpg)
1.3. THE ORGANIZATION OF THIS BOOK
3
• Section 2.3 introduces R.
• Chapter 4 explains Bayes’ rule.
• Chapter 7 explains Markov chain Monte Carlo methods.
• Section 7.4 introduces BUGS.
• Chapter 9 explains hierarchical models.
• Chapter 13 explains varieties of power analysis.
• Chapter 14 overviews the generalized linear model and various types of data
analyses that can be conducted.
• Section 23.1 summarizes how to report a Bayesian data analysis.
Figure 1.1: Essential sections of the book.
1.3 The organization of this book
This book has three major parts. The first part covers foundations: The basic ideas of
probabilities, models, Bayesian reasoning, and programming in R.
The second main part covers all the crucial ideas of modern Bayesian data analy-
sis while using the simplest possible type of data, namely dichotomous data such as
agree/disagree, remember/forget, male/female, etc. Because the data are so simplistic, the
focus can be on the Bayesian techniques. In particular, the modern techniques of “Markov
chain Monte Carlo” (MCMC) are explained thoroughly and intuitively. And, the ideas of
hierarchical models are thoroughly explored. Because the models are kept simple in this
part of the book, intuitions about the meaning of hierarchical dependencies can be devel-
oped in glorious graphic detail. This second part of the book also explores methods for
planning how much data will need to be collected to achieve a desired degree of precision
in the conclusions. This is called “sample size planning” or “power analysis”.
The third main part of the book applies the Bayesian methods to realistic data. The
applications are organized around the type of data being analyzed, and the type of measure-
ments that are used to explain or predict the data. For example, suppose you are trying to
predict college grade point average (GPA) from high school Scholastic Aptitude Test (SAT)
score. In this case the data to be predicted, the GPAs, are values on a metric scale, and the
predictor, the SAT scores, are also values on a metric scale. Suppose, on the other hand,
that you are trying to predict college GPA from gender. In this case the predictor is a di-
chotomous value, namely, male vs. female. Different types of measurement scales require
different types of mathematical models, but otherwise the underlying concepts are always
the same. Table 14.1 (p. 312) shows various combinations of measurement scales and their
corresponding models that are explored in detail in the third part of this book.
1.3.1 What are the essential chapters?
The foundations established in the first part of the book, and the Bayesian ideas of the
second part, are important to understand. The applications to particular types of data, in the
third part, can be more selectively perused as needed. Within those parts, however, there
![](https://csdnimg.cn/release/download_crawler_static/10015907/bg11.jpg)
4
CHAPTER 1. THIS BOOK’S ORGANIZATION: READ ME FIRST!
are some chapters that are essential:
• Chapter 4 explains Bayes’ rule.
• Chapter 7 explains Markov chain Monte Carlo methods.
• Chapter 9 explains hierarchical models.
• Chapter 14 overviews the generalized linear model and various types of data analyses
that can be conducted.
As an emphasis of the book is doing Bayesian data analysis, it is also essential to learn the
programming languages R and BUGS:
• Section 2.3 introduces R.
• Section 7.4 introduces BUGS.
Finally, the ultimate purpose of data analysis is to convince other people that their beliefs
should be altered by the data. The results need to be communicated to a skeptical audience,
and therefore additional essential reading is
• Section 23.1 summarizes how to report a Bayesian data analysis.
Another important topic is the planning of research, as opposed to the analysis of data
after they have been collected. Bayesian techniques are especially nicely suited for estimat-
ing the probability that specified research goals can be achieved as a function of the sample
size for the research. Therefore, although it might not be essential on a first reading, it is
essential eventually to read
• Chapter 13 regarding power analysis.
Figure 1.1 puts these recommendations in a convenient reference box, re-arranged into the
order of presentation in the book.
1.3.2 Where’s the equivalent of traditional test X in this book?
Because many readers will be coming to this book after having already been exposed to tra-
ditional 20th-century statistics that emphasize null hypothesis significance testing (NHST),
this book will provide Bayesian approaches to the usual topics in NHST textbooks. Ta-
ble 1.1 lists various tests covered by standard introductory statistics textbooks, along with
their Bayesian analogues. If you have been previously contaminated by NHST, but want to
know how to do an analogous Bayesian analysis, Table 1.1 may be useful.
A superficial conclusion from Table 1.1 might be, “Gee, the table shows that traditional
statistical tests do something analogous to Bayesian analysis in every case, therefore it’s
pointless to bother with Bayesian analysis.” Such a conclusion would be wrong. First,
traditional NHST has deep problems, some of which are discussed in Chapter 11. Second,
Bayesian analysis yields richer and more informative inferences than NHST, as will be
shown in numerous examples in throughout the book.
![](https://csdnimg.cn/release/download_crawler_static/10015907/bg12.jpg)
1.4. GIMME FEEDBACK (BE POLITE)
5
Table 1.1: Bayesian analogues of 20th century null hypothesis significance tests.
Traditional Analysis Name Bayesian Analogue
t-test for a single mean Chapter 15
t-test for two independent groups Chapter 18 (Section 18.3)
Simple linear regression Chapter 16
Multiple linear regression Chapter 17
Oneway ANOVA Chapter 18
Multi-factor ANOVA Chapter 19
Logistic regression Chapter 20
Ordinal regression Chapter 21
Binomial test Chapters 5–9, 20
Chi-square test (contingency table) Chapter 22
Power analysis (sample size planning) Chapter 13
1.4 Gimme feedback (be polite)
I have worked thousands of hours on this book, and I want to make it better.
If you have suggestions regarding any aspect of this book, please do e-mail me:
JohnKruschke@gmail.com. Let me know if you’ve spotted egregious errors or innocuous
infelicities, typo’s or thoughto’s. Let me know if you have a suggestion for how to clarify
something. Especially let me know if you have a good example that would make things
more interesting or relevant. I’m also interested in complete raw data from research that is
interesting to a broad audience, and which can be used with acknowledgement but without
fee. Let me know also if you have more elegant programming code than what I’ve cob-
bled together. The outside margins of these pages are intentionally made wide so that you
have room to scribble your ridicule and epithets before re-phrasing them into kindly stated
suggestions in your e-mail to me. Rhyming couplets are especially appreciated. If I don’t
respond to your e-mail in a timely manner, it is only because I can’t keep up with the deluge
of fan mail, not because I don’t appreciate your input. Thank you in advance!
1.5 Acknowledgments
This book has been six years in the making, and many colleagues and students have pro-
vided helpful comments. The most extensive comments have come from Drs. Luiz Pessoa,
Mike Kalish, Jerry Busemeyer, and Adam Krawitz; thank you all! Particular sections were
insightfully improved by helpful comments from Drs. Michael Erickson, Robert Nosofsky,
and Geoff Iverson. Various parts of the book benefitted indirectly from communications
with Drs. Woojae Kim, Charles Liu, Eric-Jan Wagenmakers and Jeffrey Rouder. Leads
to data sets were offered by Drs. Teresa Treat and Michael Trosset, among others. Very
welcome supportive feedback was provided by Dr. Michael Lee, and also by Dr. Adele
Diederich. A Bayesian-supportive working environment was provided by many colleagues
including Drs. Richard Shiffrin, Jerome Busemeyer, Peter Todd, James Townsend, Robert
Nosofsky, and Luiz Pessoa. Other department colleagues have been very supportive of
integrating Bayesian statistics into the curriculum, including Drs. Linda Smith and Amy
Holtzworth-Munroe. Various teaching assistants have provided helpful comments; in par-
ticular I especially thank Drs. Noah Silbert and Thomas Wisdom for their excellent as-
![](https://csdnimg.cn/release/download_crawler_static/10015907/bg13.jpg)
6
CHAPTER 1. THIS BOOK’S ORGANIZATION: READ ME FIRST!
sistance. As this book has evolved over the years, suggestions have been contributed by
numerous students, including Aaron Albin, Thomas Smith, Sean Matthews, Thomas Parr,
Kenji Yoshida, Bryan Bergert, and perhaps dozens of others who have contributed insight-
ful questions or comments that helped me tune the presentation in the book. To all the
people who have made suggestions but whom I have inadvertently forgotten to mention by
name, I extend my apologies and appreciation.
![](https://csdnimg.cn/release/download_crawler_static/10015907/bg14.jpg)
Part I
The Basics: Parameters, Probability,
Bayes’ Rule, and R
7
剩余541页未读,继续阅读
![txt](https://img-home.csdnimg.cn/images/20210720083642.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://profile-avatar.csdnimg.cn/f7cf506abb6149dca8b5d48b0a763507_admy55.jpg!1)
__春雪__
- 粉丝: 9
- 资源: 23
上传资源 快速赚钱
我的内容管理 收起
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助
![](https://csdnimg.cn/release/wenkucmsfe/public/img/voice.245cc511.png)
会员权益专享
最新资源
- BSC关键绩效财务与客户指标详解
- 绘制企业战略地图:从财务到客户价值的六步法
- BSC关键绩效指标详解:财务与运营效率评估
- 手持移动数据终端:常见问题与WIFI设置指南
- 平衡计分卡(BSC):绩效管理与战略实施工具
- ESP8266智能家居控制系统设计与实现
- ESP8266在智能家居中的应用——网络家电控制系统
- BSC:平衡计分卡在绩效管理与信息技术中的应用
- 手持移动数据终端:常见问题与解决办法
- BSC模板:四大领域关键绩效指标详解(财务、客户、运营与成长)
- BSC:从绩效考核到计算机网络的关键概念
- BSC模板:四大维度关键绩效指标详解与预算达成分析
- 平衡计分卡(BSC):绩效考核与战略实施工具
- K-means聚类算法详解及其优缺点
- 平衡计分卡(BSC):从绩效考核到战略实施
- BSC:平衡计分卡与计算机网络中的应用
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035711.png)
![](https://img-home.csdnimg.cn/images/20220527035111.png)
安全验证
文档复制为VIP权益,开通VIP直接复制
![](https://csdnimg.cn/release/wenkucmsfe/public/img/green-success.6a4acb44.png)