Ridiculous manipulation question

  • Thread starter Thread starter operationsres
  • Start date Start date
  • Tags Tags
    Manipulation
Click For Summary

Homework Help Overview

The discussion revolves around a calculus problem in econometrics, specifically focusing on differentiating a function with respect to a parameter and solving for that parameter under certain conditions. The participants are exploring the implications of setting the derivative to zero and substituting values based on previous results.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss the differentiation of a function and the subsequent steps to set the derivative to zero. There are attempts to rearrange equations and substitute values, with some questioning the correctness of their algebraic manipulations. Others highlight the importance of formalizing their work and ensuring clarity in mathematical expressions.

Discussion Status

The discussion is ongoing, with participants providing feedback on each other's approaches. Some guidance has been offered regarding the clarity of mathematical workings, and there is an acknowledgment of potential errors in the algebraic steps taken. Multiple interpretations of the problem are being explored, particularly concerning the assumptions made during the calculations.

Contextual Notes

Participants are working under the constraints of a homework assignment, which may limit the information they can use or the methods they can apply. There is an emphasis on ensuring that each step in their workings is presented as a formal equation.

operationsres
Messages
99
Reaction score
0
ECONOMETRICS CALCULUS.


1. The PRECEDING question and solution

Differentiate
351tuzq.jpg
with respect to b1

My solution:
df(b0,b1)/db1 = 2Σ[(yi-b0-b1xi)*(-xi)]

2. the ACTUAL question

By setting d,f(b0,b1)/d,b1 = 0, show that you obtain
qqadf4.jpg
.
(Hint: you will have to substitute b0 = yBAR - b1(xBAR), and use the results from the previous question.)

3. Some properties that we can assume while answering the question.

ouxr1x.jpg

eapesp.jpg

35d48wl.jpg


4. The attempt at a solution (I can't do it)

Letting 2Σ[(yi-b0-b1xi)*(-xi)] = 0
0= Σ[(yi-b0-b1xi)*(-xi)]
0= Σ(-yi xi)+Σb0xi+ Σb1xi ^2
0= -Σ (yi xi)+b0 Σxi+b1Σxi^2
b1Σxi^2=Σyi Σxi – (yBAR-b1xBAR)Σxi ... (Re-arranging and substituting for b0)
b1Σxi=Σyi -yBAR+b1xBAR ...... (dividing both sides by Σxi)
b1Σxi – b1xb = Σyi – yBAR
b1(Σxi – xb)=Σyi – yBAR
b1= (Σyi – yb)/(Σxi – xBAR)
= (Σyi – Σyi /n)(Σxi – Σxi/n)
 
Last edited:
Physics news on Phys.org
operationsres said:
ECONOMETRICS CALCULUS.


1. The PRECEDING question and solution

Differentiate
351tuzq.jpg
with respect to b1

My solution:
df(b0,b1)/db1 = 2Σ[(yi-b0-b1xi)*(-xi)]

2. the ACTUAL question

By setting d,f(b0,b1)/d,b1 = 0, show that you obtain
qqadf4.jpg
.
(Hint: you will have to substitute b0 = yBAR - b1(xBAR), and use the results from the previous question.)

3. Some properties that we can assume while answering the question.

ouxr1x.jpg

eapesp.jpg

35d48wl.jpg


4. The attempt at a solution (I can't do it)

Letting 2Σ[(yi-b0-b1xi)*(-xi)] = 0
= Σ[(yi-b0-b1xi)*(-xi)]
The line above should be an equation. It should NOT start with =. The equation you're starting with says that
[tex]\frac{\partial f}{\partial b_1} = 0[/tex]
Each line after the first one should be an equation. Ultimately you should get an equation that starts with b1.
operationsres said:
= Σ(-yi xi)+Σb0xi+ Σb1xi ^2
= -Σ (yi xi)+b0 Σxi+b1Σxi^2
b1Σxi^2=Σyi Σxi – (yBAR-b1xBAR)Σxi ... (Re-arranging and substituting for b0)
b1Σxi=Σyi -yBAR+b1xBAR ...... (dividing both sides by Σxi)
b1Σxi – b1xb = Σyi – yBAR
b1(Σxi – xb)=Σyi – yBAR
b1= (Σyi – yb)/(Σxi – xBAR)
= (Σyi – Σyi /n)(Σxi – Σxi/n)
 
Mark44 said:
The line above should be an equation. It should NOT start with =. The equation you're starting with says that
[tex]\frac{\partial f}{\partial b_1} = 0[/tex]
Each line after the first one should be an equation. Ultimately you should get an equation that starts with b1.

That's just me being unformal though.

2=x
=y

is just 2=x=y.

I will formalise it when I figure out the answer.

Do you know where my actually working went wrong?
 
operationsres said:
That's just me being unformal though.

2=x
=y

is just 2=x=y.
If 2 = x, and x = y, then you can say 2 = y or 2 = x = y. This is different from what I'm talking about, and it's not just a matter of being informal vs. being formal. It's the difference between solving an equation and simplifying an expression, which are two entirely different operations.
operationsres said:
I will formalise it when I figure out the answer.

Do you know where my actually working went wrong?

Start with 2Σ[(yi - b0 - b1xi)*(-xi)] = 0

and solve for b1, using the properties of summations.

Each step should be an equation!
 
Hi operationres, it may seem that Mark is being nit-picky, but his comments are good advice. Even though you aren't handing in your forum post for marks, it is still in your best interests to make your workings as clear as possible. Doing so makes it easier for us to see where you are going wrong, and also gives you practice in writing things in a logical, mathematically correct manner (practice at this helps make things go quicker on your exams :wink: ).


operationsres said:
Letting 2Σ[(yi-b0-b1xi)*(-xi)] = 0
0= Σ[(yi-b0-b1xi)*(-xi)]
0= Σ(-yi xi)+Σb0xi+ Σb1xi ^2
0= -Σ (yi xi)+b0 Σxi+b1Σxi^2
b1Σxi^2=Σyi Σxi – (yBAR-b1xBAR)Σxi ... (Re-arranging and substituting for b0)

Here it looks like you are claiming that

[tex]\sum_{i=1}^nx_iy_i=\left(\sum_{i=1}^nx_i\right)\left(\sum_{i=1}^ny_i\right)[/tex]

Try plugging in some actual numbers to convince yourself that this is not correct.

b1Σxi=Σyi -yBAR+b1xBAR ...... (dividing both sides by Σxi)
b1Σxi – b1xb = Σyi – yBAR

You also seem to think that

[tex]\frac{\sum_{i=1}^n(x_i)^2}{\sum_{i=1}^nx_i}=\sum_{i=1}^nx_i[/tex]

Which again isn't true (plug in some actual numbers to convince yourself of this).
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
Replies
235
Views
15K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 2 ·
Replies
2
Views
6K
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K