In this chapter, we began with an overview of statistical modeling and how to write model formulas in R. Then, we also saw how to fit our data using linear methods. More specifically, we showed you how to use linear regression, generalized linear models, and generalized additive models to model your data and use statistical methods to assess the fit of your model to help choose the best one. Next, we showed you how to use analysis of variance to fit your data to a linear model when all the explanatory variables are categorical. Finally, we also saw how to use exploratory methods such as linear discriminant analysis, principal component analysis, and hierarchical clustering to separate your data into groups. While linear models are the most commonly used statistical models in scientific computing, there are times when nonlinear methods are preferable. Now that you know how to use linear methods to model your data, you will move on to nonlinear methods in the next chapter, where you...
Mastering Scientific Computing with R
Mastering Scientific Computing with R
Overview of this book
Table of Contents (17 chapters)
Mastering Scientific Computing with R
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Free Chapter
Programming with R
Statistical Methods with R
Linear Models
Nonlinear Methods
Linear Algebra
Principal Component Analysis and the Common Factor Model
Structural Equation Modeling and Confirmatory Factor Analysis
Simulations
Optimization
Advanced Data Management
Index
Customer Reviews