Contents vii 6.9. Summary 387 Exercises 391 Chapter 7. More Linear Models 399 7.1. Additive Models 399 7.2. Assessing the Quality of a Model 413 7.3. One-Way ANOVA 423 7.4. Two-Way ANOVA 455 7.5. Interaction and Higher Order Terms 470 7.6. Model Selection 474 7.7. More Examples 482 7.8. Permutation Tests and Linear Models 493 7.9. Summary 496 Exercises 499 Appendix A. A Brief Introduction to R 507 A.1. Getting Up and Running 507 A.2. Working with Data 513 A.3. Lattice Graphics in R 527 A.4. Functions in R 535 A.5. Some Extras in the fastR Package 542 A.6. More R Topics 544 Exercises 546 Appendix B. Some Mathematical Preliminaries 549 B.1. Sets 550 B.2. Functions 552 B.3. Sums and Products 553 Exercises 555 Appendix C. Geometry and Linear Algebra Review 559 C.1. Vectors, Spans, and Bases 559 C.2. Dot Products and Projections 563 C.3. Orthonormal Bases 567 C.4. Matrices 569 Exercises 575 Appendix D. Review of Chapters 1–4 579 D.1. R Infrastructure 579 D.2. Data 580 D.3. Probability Basics 581 D.4. Probability Toolkit 581
Previous Page Next Page