更新时间:2021-07-30 09:55:45
封面
版权页
Credits
About the Author
About the Reviewer
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. RefresheR
Navigating the basics
Getting help in R
Vectors
Functions
Matrices
Loading data into R
Working with packages
Exercises
Summary
Chapter 2. The Shape of Data
Univariate data
Frequency distributions
Central tendency
Spread
Populations samples and estimation
Probability distributions
Visualization methods
Chapter 3. Describing Relationships
Multivariate data
Relationships between a categorical and a continuous variable
Relationships between two categorical variables
The relationship between two continuous variables
Chapter 4. Probability
Basic probability
A tale of two interpretations
Sampling from distributions
The normal distribution
Chapter 5. Using Data to Reason About the World
Estimating means
The sampling distribution
Interval estimation
Smaller samples
Chapter 6. Testing Hypotheses
Null Hypothesis Significance Testing
Testing the mean of one sample
Testing two means
Testing more than two means
Testing independence of proportions
What if my assumptions are unfounded?
Chapter 7. Bayesian Methods
The big idea behind Bayesian analysis
Choosing a prior
Who cares about coin flips
Enter MCMC – stage left
Using JAGS and runjags
Fitting distributions the Bayesian way
The Bayesian independent samples t-test
Chapter 8. Predicting Continuous Variables
Linear models
Simple linear regression
Simple linear regression with a binary predictor
Multiple regression
Regression with a non-binary predictor
Kitchen sink regression
The bias-variance trade-off
Linear regression diagnostics
Advanced topics
Chapter 9. Predicting Categorical Variables
k-Nearest Neighbors
Logistic regression
Decision trees
Random forests
Choosing a classifier
Chapter 10. Sources of Data
Relational Databases
Using JSON
XML
Other data formats