Beruflich Dokumente
Kultur Dokumente
2018-06-10
Preface
This is a book on probability and statistics suitable for the sophomore or
junior level at university. We assume knowledge of calculus at the level of
Calculus II. We do not assume prior experience with statistics or
programming, though students who have no experience with either
statistics or programming before starting this class should expect to have to
work hard. We will be using R as an integral part of the exposition — you
should not read this book without first getting R Studio installed. We will use
base R for the most part, with the following exceptions:
https://bookdown.org/speegled/foundations-of-statistics/?fbclid=IwAR2Ytu2X04II8B48BFeaFxP7BhbP3kydUWctz2Hz15bbzZEL-hvfKAr46Ds 1/4
1/2/2019 Foundations of Statistics with R
No book like this would be complete without a list of books that would be
useful for the student who wishes to learn more than what is in this book.
Here is a list of other resources that I have enjoyed learning from.
Our philosophy in this book is to not shy away from messy data sets. We
have relatively extensive sections on getting data into its correct format,
and we have many exercises with dealing with data. I feel that this is an
essential part of the course.
some results are provided, but this is not intended to support a proof based
course. I strongly encourage students to understand the proofs, but often
one only wants to understand the proof after understanding the result and
why it is important. When we use mathematical background that some
students may be rusty on, we provide a link to the Wikipedia page on that
topic.
0.1 Installing R
Mac Users
1. visit here,
2. Click on the “Download R for (Mac) OS X” link at the top of the page.
3. Click on the file containing the latest version of R under “Files.”
(Currently 3.4.1, as of July 13, 2017).
4. Save the .pkg file, double-click it to open, and follow the installation
instructions.
5. Next we need to install RStudio.
6. Go to www.rstudio.com and click on the “Download RStudio” button.
https://bookdown.org/speegled/foundations-of-statistics/?fbclid=IwAR2Ytu2X04II8B48BFeaFxP7BhbP3kydUWctz2Hz15bbzZEL-hvfKAr46Ds 3/4
1/2/2019 Foundations of Statistics with R
"rmarkdown", "tidyr")) .
Windows Users
1. visit here,
2. Click on the “Download R for Windows” link at the top of the page.
3. Click on the “base” link.
4. Click “R-patched.exe” and save the executable file somewhere on your
computer. Run the .exe file and follow the installation instructions.
5. Next we need to install RStudio.
6. Go to www.rstudio.com and click on the “Download RStudio” button.
7. Click on “Download RStudio Desktop.”
8. Click on the version recommended for your system, or the latest
Windows version, and save the executable file. Run the .exe file and
follow the installation instructions.
9. Finally we install crucial packages.
10. Open RStudio.
11. At the > prompt inside Console, type (or copy and paste)
install.packages(c("ggplot2", "dplyr", "ISwR", "MASS", "Sleuth3",
"rmarkdown", "tidyr")) .
https://bookdown.org/speegled/foundations-of-statistics/?fbclid=IwAR2Ytu2X04II8B48BFeaFxP7BhbP3kydUWctz2Hz15bbzZEL-hvfKAr46Ds 4/4