Abstract
This chapter introduces the reader to the concepts of data modelling using least-squares, regression analysis through a simplified framework consisting of three iterative steps, model selection, parameter estimation, and model validation, which forms the foundation for all subsequent chapters. Model selection focuses on selecting an appropriate description of the data set given both physical and mathematical constraints. This chapter focuses on deterministic models, while subsequent chapters focus on stochastic or more complex models. Parameter estimations seeks to determine the values of the parameter for the given model and data set. Different approaches, including ordinary, linear regression; weighted, linear regression; and nonlinear regression, are examined in detail. Theoretical results are provided as necessary to illustrate the need for some of the components of the analysis. Also, detailed summaries listing all the required formulae are provided after each section. Finally, model validation, which consists of two components, residual testing and model adequacy testing, is explained in detail. Suggestions for corrective actions are also provided for commonly encountered issues in model validation. Detailed examples are provided to illustrate the different methods and approaches. By the end of the chapter, the reader should be familiar with the regression analysis framework and be able to apply it to complex, real-life examples.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
For two column vectors a and b, the dot product a · b can be defined as the matrix multiplication a T b or b T a.
- 2.
Author information
Authors and Affiliations
Appendix A3: Nonmatrix Solutions to the Linear, Least-Squares Regression Problem
Appendix A3: Nonmatrix Solutions to the Linear, Least-Squares Regression Problem
3.1.1 A.1 Nonmatrix Solution for the Ordinary, Least-Squares Case
The nonmatrix solution only applies to the case of solving a simple model that can be written as
Note that x can be replaced by f(x) here and in all the following equations.
The ordinary, least-squares problem can be solved by first computing the following two quantities:
Then, the linear regression coefficients can be calculated as follows:
The correlation coefficient is calculated using
The standard deviation of the model is given as
The standard deviation for coefficient b is given as
The standard deviation of coefficient a is given as
The confidence interval for the mean response at a value of x d is given by
The confidence interval for the prediction at a value of x d is given by
The total sum of squares would then be calculated using
3.1.2 A.2 Nonmatrix Solution for the Weighted, Least-Squares Case
The nonmatrix solution only applies to the case of solving a simple model that can be written as
Note that x can be replaced by f(x) here and in all the following equations.
The ordinary, least-squares problem can be solved by first computing the following two quantities:
Then, the linear regression coefficients can be calculated as follows:
The correlation coefficient is calculated using
The standard deviation of the model is given as
The standard deviation of coefficient b w is given as
The standard deviation of coefficient a is given as
The confidence interval for the mean response at a value of x d is given by
The confidence interval for the prediction at a value of x d is given by
It should be noted that the predicted weight at the given point, w d , should be determined from a model with n σ unknown parameters.
The total sum of squares would then be calculated using
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this chapter
Cite this chapter
Shardt, Y.A.W. (2015). Regression. In: Statistics for Chemical and Process Engineers. Springer, Cham. https://doi.org/10.1007/978-3-319-21509-9_3
Download citation
DOI: https://doi.org/10.1007/978-3-319-21509-9_3
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-21508-2
Online ISBN: 978-3-319-21509-9
eBook Packages: Chemistry and Materials ScienceChemistry and Material Science (R0)