Given a linear regression model obtained by ordinary least squares, prove that the sample covariance between the fitted values and the residuals is zero.

Tamara Bryan 2022-07-20 Answered
Given a linear regression model obtained by ordinary least squares, prove that the sample covariance between the fitted values and the residuals is zero.
You can still ask an expert for help

Expert Community at Your Service

  • Live experts 24/7
  • Questions are typically answered in as fast as 30 minutes
  • Personalized clear answers
Learn more

Solve your problem for the price of one coffee

  • Available 24/7
  • Math expert for every subject
  • Pay only if we can solve it
Ask Question

Answers (1)

Jorge Franklin
Answered 2022-07-21 Author has 11 answers
I assume that you meant their dot product is zero. If so, let y ^ = H y where H = X ( X X ) 1 X (from OLS). Also, note that H is idempotent, i.e. H 2 = H .. Then,
y ^ . e = y H ( I H ) y = y ( H H 2 ) y = y ( H H ) y = 0.
Not exactly what you’re looking for?
Ask My Question

Expert Community at Your Service

  • Live experts 24/7
  • Questions are typically answered in as fast as 30 minutes
  • Personalized clear answers
Learn more

You might be interested in

asked 2020-11-07

Which of these shows the strongest correlation?
image

asked 2022-04-06
μ = m = q 1 + q 3 2
Let X be a random variable with p.m.f./p.d.f. f X ( x ) that is symmetric about μ ( R ) , i.e., f X ( x + μ ) = f X ( μ x ), x ( , ) .
If q 1 , m and q 3 are respectively the lower quartile, the median and the upper quartile of the distribution of X then show that μ = m = q 1 + q 3 2
How to prove.....
any Hints.
asked 2021-11-30
The following is the average daily temperature for Frederick, MaryLand for the month of June:
817878897485858480907386868290927073799276748676718173777279
a) Complete the frequency distribution for the data.
TemperatureFrequencyRelative Frequency70747579808485899094
asked 2022-05-09
Calculating the position of the median
I know this is a simple question, but I cannot find a straight answer anywhere.
When calculating the medium of listed data, the formula is (n+1)/2. My Statistics teacher said for grouped data the position of the medium is n/2. However, this seems contradictory as for discrete grouped data, the data could be written in a list if the original values were known. Therefore two different values for the median are found.
I know this question is probably going to get flagged as it has already been asked, however, it has never been answered. I find it frustrating that such a fundamental concept in Statistics, what is supposed to be precise and never subjective has a wishy-washy answer.
Rant over, I think the position should be (n+1)/2 for discrete data and n/2 for continuous data. Moreover, this then leads into the obvious question of how we should calculate quartiles as well.
It would be nice if everyone could agree on a certain method for calculating the medium as all my textbooks are saying different things.
Someone please dispell the confusion and this statistical mess.
asked 2021-09-16

Find P(A) using the following table.

image
asked 2021-01-08
You have 11 cubes in 8 different colors (1 color repeats 2 times and another one repeats 3 times) that you want to build in a line. How many different lines can be formed with those cubes?
asked 2021-11-29
As an engineer working for a water bottling company, you collect the following data in order to test the perfomance of the bottling systems. Plot the data and calculate the mean and standard deviation.
Milliters of Water in the BottleFrequency48513490174952550040505235101851515

New questions

The Porsche Club of America sponsors driver education events that provide high-performance driving instruction on actual racetracks. Because safety is a primary consideration at such events, many owners elect to install roll bars in their cars. Deegan Industries manufactures two types of roll bars for Porsches. Model DRB is bolted to the car using existing holes in the car's frame. Model DRW is a heavier roll bar that must be welded to the car's frame. Model DRB requires 20 pounds of a special high alloy steel, 40 minutes of manufacturing time, and 60 minutes of assembly time. Model DRW requires 25 pounds of the special high alloy steel, 100 minutes of manufacturing time, and 40 minutes of assembly time. Deegan's steel supplier indicated that at most 40,000 pounds of the high-alloy steel will be available next quarter. In addition, Deegan estimates that 2000 hours of manufacturing time and 1600 hours of assembly time will be available next quarter. The pro?t contributions are $200 per unit for model DRB and $280 per unit for model DRW. The linear programming model for this problem is as follows:
Max 200DRB + 280DRW
s.t.
20DRB + 25DRW 40,000 Steel Available
40DRB + 100DRW ? 120,000 Manufacturing minutes
60DRB + 40DRW ? 96,000 Assembly minutes
DRB, DRW ? 0
Optimal Objective Value = 424000.00000
Variable Value blackuced Cost
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DRB 1000.00000 0.00000
DRW 800.00000 0.00000
Constraint Slack/ Surplus Dual Value
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 0.00000 8.80000
2 0.00000 0.60000
3 4000.00000 0.00000
Objective Allowable Allowable
Variable Coef?cient Increase Decrease
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
DRB 200.00000 24.00000 88.00000
DRW 280.00000 220.00000 30.00000
RHS Allowable Allowable
Constraint Value Increase Decrease
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
1 40000.00000 909.09091 10000.00000
2 120000.00000 40000.00000 5714.28571
3 96000.00000 Infnite 4000.00000
a. What are the optimal solution and the total profit contribution?
b. Another supplier offeblack to provide Deegan Industries with an additional 500 pounds of the steel alloy at $2 per pound. Should Deegan purchase the additional pounds of the steel alloy? Explain.
c. Deegan is considering using overtime to increase the available assembly time. What would you advise Deegan to do regarding this option? Explain.
d. Because of increased competition, Deegan is considering blackucing the price of model DRB such that the new contribution to profit is $175 per unit. How would this change in price affect the optimal solution? Explain.
e. If the available manufacturing time is increased by 500 hours, will the dual value for the manufacturing time constraint change? Explain.