Ordinary LeastSquares Outline Linear regression Geometry of leastsquares
- Slides: 56
Ordinary Least-Squares
Outline • Linear regression • Geometry of least-squares • Discussion of the Gauss-Markov theorem Ordinary Least-Squares
One-dimensional regression Ordinary Least-Squares
One-dimensional regression Find a line that represent the ”best” linear relationship: Ordinary Least-Squares
One-dimensional regression • Problem: the data does not go through a line Ordinary Least-Squares
One-dimensional regression • Problem: the data does not go through a line • Find the line that minimizes the sum: Ordinary Least-Squares
One-dimensional regression • Problem: the data does not go through a line • Find the line that minimizes the sum: • We are looking for minimizes Ordinary Least-Squares that
Matrix notation Using the following notations and Ordinary Least-Squares
Matrix notation Using the following notations and we can rewrite the error function using linear algebra as: Ordinary Least-Squares
Matrix notation Using the following notations and we can rewrite the error function using linear algebra as: Ordinary Least-Squares
Multidimentional linear regression Using a model with m parameters Ordinary Least-Squares
Multidimentional linear regression Using a model with m parameters Ordinary Least-Squares
Multidimentional linear regression Using a model with m parameters Ordinary Least-Squares
Multidimentional linear regression Using a model with m parameters and n measurements Ordinary Least-Squares
Multidimentional linear regression Using a model with m parameters and n measurements Ordinary Least-Squares
Ordinary Least-Squares
Ordinary Least-Squares
parameter 1 Ordinary Least-Squares
parameter 1 measurement n Ordinary Least-Squares
Minimizing Ordinary Least-Squares
Minimizing Ordinary Least-Squares
Minimizing Ordinary Least-Squares is flat at
Minimizing Ordinary Least-Squares is flat at
Minimizing is flat at does not go down around Ordinary Least-Squares
Minimizing is flat at does not go down around Ordinary Least-Squares
Positive semi-definite In 1 -D Ordinary Least-Squares In 2 -D
Minimizing Ordinary Least-Squares
Minimizing Ordinary Least-Squares
Minimizing Ordinary Least-Squares
Minimizing Always true Ordinary Least-Squares
Minimizing The normal equation Always true Ordinary Least-Squares
Geometric interpretation Ordinary Least-Squares
Geometric interpretation • b is a vector in Rn Ordinary Least-Squares
Geometric interpretation • b is a vector in Rn • The columns of A define a vector space range(A) Ordinary Least-Squares
Geometric interpretation • b is a vector in Rn • The columns of A define a vector space range(A) • Ax is an arbitrary vector in range(A) Ordinary Least-Squares
Geometric interpretation • b is a vector in Rn • The columns of A define a vector space range(A) • Ax is an arbitrary vector in range(A) Ordinary Least-Squares
Geometric interpretation • is the orthogonal projection of b onto range(A) Ordinary Least-Squares
The normal equation: Ordinary Least-Squares
The normal equation: • Existence: Ordinary Least-Squares has always a solution
The normal equation: • Existence: has always a solution • Uniqueness: the solution is unique if the columns of A are linearly independent Ordinary Least-Squares
The normal equation: • Existence: has always a solution • Uniqueness: the solution is unique if the columns of A are linearly independent Ordinary Least-Squares
Under-constrained problem Ordinary Least-Squares
Under-constrained problem Ordinary Least-Squares
Under-constrained problem Ordinary Least-Squares
Under-constrained problem • Poorly selected data • One or more of the parameters are redundant Ordinary Least-Squares
Under-constrained problem • Poorly selected data • One or more of the parameters are redundant Add constraints Ordinary Least-Squares
How good is the least-squares criteria? • Optimality: the Gauss-Markov theorem Ordinary Least-Squares
How good is the least-squares criteria? • Optimality: the Gauss-Markov theorem Let and be two sets of random variables and define: Ordinary Least-Squares
How good is the least-squares criteria? • Optimality: the Gauss-Markov theorem Let and be two sets of random variables and define: If Ordinary Least-Squares
How good is the least-squares criteria? • Optimality: the Gauss-Markov theorem Let and be two sets of random variables and define: If Then is the best unbiased linear estimator Ordinary Least-Squares
b ei no errors in ai Ordinary Least-Squares a
b b ei no errors in ai Ordinary Least-Squares ei a errors in ai a
b homogeneous errors Ordinary Least-Squares a
b b homogeneous errors Ordinary Least-Squares a non-homogeneous errors a
b no outliers Ordinary Least-Squares a
outliers b b no outliers Ordinary Least-Squares a outliers a
- Simple linear regression and multiple linear regression
- Survival analysis vs logistic regression
- Logistic regression vs linear regression
- Multiple regression vs linear regression
- Molecular geometry of pf3
- 4 electron domains 2 lone pairs
- The basis of the vsepr model of molecular bonding is _____.
- Knn linear regression
- Hierarchical multiple regression spss
- Linear regression riddle a
- Scala linear regression
- Multiple linear regression model
- Sy/x
- Linear regression spss interpretation
- Cost function
- Gradient descent multiple variables
- Multiple linear regression variance
- Ap statistics linear regression
- Standard error of regression
- Log linear regression model
- F statistic formula anova
- Log linear regression model
- Assumption of the classical linear regression model
- The legend of regression
- Linear regression loss function
- Classical normal linear regression model
- Simple linear regression hypothesis example
- Multiple linear regression variance
- 10-601 machine learning
- Minitab linear regression
- Regression equation in excel
- Linear regression riddle a answer key
- Kr
- Linear regression gradient descent
- Chapter 7 linear regression
- Linear regression lecture
- Linear regression model validation techniques
- Asw 224
- Linear regression predict
- Simple linear regression excel
- Linear regression with one regressor
- Chapter 8 linear regression
- Simple linear regression
- Linear regression ti nspire
- Simple linear regression
- Linear regression review
- Ols linear regression
- Dataset for regression analysis
- Disadvantages of linear regression
- Jiabin huang
- Linear regression andrew ng
- Linear regression andrew ng
- Linear regression with one regressor
- Linear data
- Bivariate linear regression model
- Ordinary least squares
- Regression equation