Regression analysis is a statistical method used to estimate the relationship among continuous variables. Linear regression is the simplest and most frequently used type of regression analysis. The aim of linear regression is to describe the response variable y through a linear combination of one or more explanatory variables x1, x2, x3, …, xp. In other words, the explanatory variables get weighted with constants and then summarized. For example, the simplest linear model is y = a + bx, where the two parameters a and b are the intercept and slope, respectively. The model formula for this relationship in R is y ~ x. Note that all parameters are left out. So, if our linear model was y = a + bx + cz, then our model formula will be y ~ x + z.
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