How to Prove This Identity in the Classical Normal Linear Regression Model?

  • MHB
  • Thread starter Usagi
  • Start date
  • Tags
    Identity
In summary: We can see that the first three terms on the LHS and RHS are the same, as well as the last three terms. This leaves us with:$\boldsymbol{\beta}'\boldsymbol{X}'\boldsymbol{X}\boldsymbol{\beta} = \boldsymbol{b}'\boldsymbol{X}'\boldsymbol{X}\boldsymbol{b} + \boldsymbol{\beta}'\boldsymbol{X}'\boldsymbol{X}\boldsymbol{\beta} - \boldsymbol{\beta}'\boldsymbol{X}'\boldsymbol{X}\boldsymbol{b} - \boldsymbol{b}'\boldsymbol{X}'\boldsymbol{
  • #1
Usagi
45
0
The context of the following identity is in the Classical Normal Linear Regression Model, ie, $\boldsymbol{y} = \boldsymbol{X}\boldsymbol{\beta}+ \boldsymbol{u}$ where $\boldsymbol{u}$ is a $n \times 1$ matrix and $u_i \sim iid.N(0, \sigma^2)$ for $i = 1, 2, \cdots, n$

Show that $(\boldsymbol{y}-\boldsymbol{X}\boldsymbol{\beta})'(\boldsymbol{y}-\boldsymbol{X}\boldsymbol{\beta}) = (\boldsymbol{y}-\boldsymbol{X}\boldsymbol{b})'(\boldsymbol{y}-\boldsymbol{X}\boldsymbol{b})+(\boldsymbol{\beta}-\boldsymbol{b})'\boldsymbol{X}'\boldsymbol{X}(\boldsymbol{\beta}-\boldsymbol{b}) \ \cdots (1)$

where:

$\boldsymbol{y}$ is a $n \times 1$ matrix

$\boldsymbol{X}$ is a $n \times k$ matrix

$\boldsymbol{\beta}$ is a $k \times 1$ matrix

$\boldsymbol{b}$ is a $k \times 1$ matrix

$rank(\boldsymbol{X}) = k$

$\boldsymbol{b} = (\boldsymbol{X}'\boldsymbol{X})^{-1}\boldsymbol{X}'\boldsymbol{y}$ ----------

**Question:** How do I algebraically manipulate the LHS of $(1)$ to become the RHS?
 
Physics news on Phys.org
  • #2


it is important to understand the mathematical concepts and principles behind any equations or models that we use. In this case, we are dealing with the Classical Normal Linear Regression Model, where we have a dependent variable $\boldsymbol{y}$ that is linearly related to a set of independent variables represented by the matrix $\boldsymbol{X}$. The error term $\boldsymbol{u}$ represents the random variation in the dependent variable and is assumed to follow a normal distribution.

To algebraically manipulate the LHS of $(1)$ to become the RHS, we can use the properties of matrix multiplication and transpose. First, let's expand the LHS of $(1)$:

$(\boldsymbol{y}-\boldsymbol{X}\boldsymbol{\beta})'(\boldsymbol{y}-\boldsymbol{X}\boldsymbol{\beta}) = \boldsymbol{y}'\boldsymbol{y} - \boldsymbol{y}'\boldsymbol{X}\boldsymbol{\beta} - \boldsymbol{\beta}'\boldsymbol{X}'\boldsymbol{y} + \boldsymbol{\beta}'\boldsymbol{X}'\boldsymbol{X}\boldsymbol{\beta}$

Next, let's expand the RHS of $(1)$:

$(\boldsymbol{y}-\boldsymbol{X}\boldsymbol{b})'(\boldsymbol{y}-\boldsymbol{X}\boldsymbol{b})+(\boldsymbol{\beta}-\boldsymbol{b})'\boldsymbol{X}'\boldsymbol{X}(\boldsymbol{\beta}-\boldsymbol{b})$

$= \boldsymbol{y}'\boldsymbol{y} - \boldsymbol{y}'\boldsymbol{X}\boldsymbol{b} - \boldsymbol{b}'\boldsymbol{X}'\boldsymbol{y} + \boldsymbol{b}'\boldsymbol{X}'\boldsymbol{X}\boldsymbol{b} + \boldsymbol{\beta}'\boldsymbol{X}'\boldsymbol{X}\boldsymbol{\beta} - \boldsymbol{\beta}'\boldsymbol{X}'\boldsymbol{X}\boldsymbol{b} - \boldsymbol{b}'\boldsymbol{X}'\boldsymbol{X}\boldsymbol{\beta} + \boldsymbol{b}'\boldsymbol{X}'\boldsymbol{X
 

Related to How to Prove This Identity in the Classical Normal Linear Regression Model?

1. How do you prove an identity?

To prove an identity, you must show that both sides of the equation are equivalent. This can be done by manipulating the expressions using algebraic properties and rules, such as the distributive property, commutative property, and combining like terms.

2. What is the purpose of proving an identity?

The purpose of proving an identity is to demonstrate that two expressions are equal for all possible values of the variables. This is important in mathematics and science, as it allows us to simplify complex equations and make connections between seemingly different expressions.

3. What are some common techniques used to prove an identity?

Some common techniques used to prove an identity include substitution, factoring, cross-multiplication, and using trigonometric identities. It is important to choose the most appropriate technique for the specific identity being proven.

4. What are some tips for successfully proving an identity?

First, start by simplifying both sides of the equation separately. Then, look for patterns or relationships between the two sides. It can also be helpful to work backwards from the desired result and see what steps are needed to get there. Additionally, practice and familiarity with algebraic rules and properties can make the process easier.

5. What should I do if I am having trouble proving an identity?

If you are having trouble proving an identity, try breaking the problem down into smaller steps and tackling them one at a time. Also, don't be afraid to ask for help from a teacher or classmate. There may be a different approach or technique that can help you solve the problem more easily.

Similar threads

  • High Energy, Nuclear, Particle Physics
Replies
2
Views
1K
  • Precalculus Mathematics Homework Help
Replies
5
Views
977
  • Topology and Analysis
Replies
1
Views
2K
Replies
1
Views
2K
  • Other Physics Topics
Replies
1
Views
7K
  • Linear and Abstract Algebra
Replies
4
Views
971
  • Advanced Physics Homework Help
Replies
9
Views
2K
  • Mechanics
Replies
1
Views
1K
Replies
5
Views
2K
  • Linear and Abstract Algebra
Replies
20
Views
3K
Back
Top