R, a free and open source program, is one of the most powerful and the fastest-growing statistics program. Microsoft Excel is the most widely used spreadsheet program, but many statisticians consider its statistical tools too limited. In this book, the authors build on RExcel, a free add-in for Excel that can be downloaded from the R distribution network. RExcel seamlessly integrates the entire set of R's statistical and graphical methods into Excel, allowing students to focus on statistical methods and concepts and minimizing the distraction of learning a new programming language. Data can be transferred between R and Excel 'the Excel way' by selecting worksheet ranges and using Excel menus. R's basic statistical functions and selected advanced methods are available from an Excel menu. Results of the computations and statistical graphics can be returned back into Excel worksheet ranges. RExcel allows the use of Excel scroll bars and check boxes to create and animate R graphics as an interactive analysis tool. The book is designed as a computational supplement to introductory statistics texts and the authors provide RExcel examples covering the topics of the introductory course.
1 Getting started 1
2 Using RExcel and R Commander 13
3 Getting data into R 37
4 Normal and t distributions 61
5 Normal and t workbook 81
6 t-Tests 105
7 One-way ANOVA 165
8 Simple linear regression 193
9 What is least squares? 213
10 Multiple regression - two X-variables 235
11 Polynomial regression 269
12 Multiple regression - three or more X-variables 285
13 Contingency tables and the chi-square test 309
A Installation of RExcel 323
B Nuisances - installation, startup, or execution 333
References 339