In Lecture 2, we found that h* = Median (y1, 2, ..., Yn) is the constant...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
In Lecture 2, we found that h* = Median (y1, 2, ..., Yn) is the constant prediction that minimizes mean absolute error: n 1 Rabs(h) = 2 |ih| z=1 Suppose that we have a dataset of numbers y1, 2, ..., Yn such that n is odd and the values are arranged in increasing order. That is, y Y2, < ... < Yn. Note: Parts (a) and (b) are independent of each other. a) Suppose that Rabs () = V, where V is the minimum value of Rabs(h) and a is one of the numbers in our dataset. Let a be the smallest value greater than a in our dataset, where > 0. Another way of thinking about this is that = (smallest value greater than a) - a. Suppose we modify our dataset by replacing the value a with the value a++1. In our new dataset of n values, what is the new minimum value of Rabs (h) and at what value of h is it minimized? Your answers to both parts should only involve the variables V, a, , n, and/or one or more constants. Solution: Write your solution here. b) Let ya and y be two values in our dataset such that y < y and that the slope of Rabs(h) is the same between h = ya and h = y. Specifically, let d be the slope of Rabs (h) between ya and yb. Suppose we introduce a new value q to our dataset such that q> y. In our new dataset of n + 1 values, the slope of Rabs(h) is still the same between h = ya and h = y, but it's no longer equal to d. What is the slope of Rabs (h) between h = ya and h = y in our new dataset? Your answer should depend on d, n, q, and/or one or more constants. Solution: Write your solution here. In Lecture 2, we found that h* = Median (y1, 2, ..., Yn) is the constant prediction that minimizes mean absolute error: n 1 Rabs(h) = 2 |ih| z=1 Suppose that we have a dataset of numbers y1, 2, ..., Yn such that n is odd and the values are arranged in increasing order. That is, y Y2, < ... < Yn. Note: Parts (a) and (b) are independent of each other. a) Suppose that Rabs () = V, where V is the minimum value of Rabs(h) and a is one of the numbers in our dataset. Let a be the smallest value greater than a in our dataset, where > 0. Another way of thinking about this is that = (smallest value greater than a) - a. Suppose we modify our dataset by replacing the value a with the value a++1. In our new dataset of n values, what is the new minimum value of Rabs (h) and at what value of h is it minimized? Your answers to both parts should only involve the variables V, a, , n, and/or one or more constants. Solution: Write your solution here. b) Let ya and y be two values in our dataset such that y < y and that the slope of Rabs(h) is the same between h = ya and h = y. Specifically, let d be the slope of Rabs (h) between ya and yb. Suppose we introduce a new value q to our dataset such that q> y. In our new dataset of n + 1 values, the slope of Rabs(h) is still the same between h = ya and h = y, but it's no longer equal to d. What is the slope of Rabs (h) between h = ya and h = y in our new dataset? Your answer should depend on d, n, q, and/or one or more constants. Solution: Write your solution here.
Expert Answer:
Posted Date:
Students also viewed these mathematics questions
-
The Caughlin Company has a long - term debt ratio of . 3 5 and a current ratio of 1 . 3 0 . Current liabilities are $ 9 1 0 , sales are $ 6 , 4 3 0 , profit margin is 9 . 5 percent, and ROE is 1 8 ....
-
can someone solve this Modern workstations typically have memory systems that incorporate two or three levels of caching. Explain why they are designed like this. [4 marks] In order to investigate...
-
CANMNMM January of this year. (a) Each item will be held in a record. Describe all the data structures that must refer to these records to implement the required functionality. Describe all the...
-
On February 1, 2020, Sheridan Company sells merchandise on account to Carla Vista Company for $6490. The entry to record this transaction by Sheridan Company is Sales Revenue Accounts Payable Notes...
-
Explain the four types of competition discussed in the chapter. Why is it important to recognize these different forms of competition?
-
The following data related to factory overhead cost for the production of 4,000 computers: If productive capacity of 100% was 6,500 hours and the factory overhead cost budgeted at the level of 5,000...
-
Sherman Lawn Service is projecting sales for April of \($20,000\). Mays sales will be 5% higher than Aprils. Junes sales are expected to be 6% higher than Mays. Requirement 1. Prepare a sales budget...
-
Nautical Accessories, Inc., manufactures women's boating hats. Manufacturing overhead is assigned to production on a machine-hour basis. For 2013, it was estimated that manufacturing overhead would...
-
1. There are FOUR (4) primary functions in management. Assuming you are a manager of a department, explain how you could influence the employee's positive behaviour through the application of the...
-
Read the case study Capital Industries and answer the following question: Should Paul Troy have been delegated the responsibility for the estimate?.
-
Is it possible to separate the north pole from the south pole of a bar magnet by cutting it in half? Explain your reasoning.
-
Use an aggregate demand and aggregate supply diagram to illustrate and explain how each of the following will affect the equilibrium price level and real GDP: a. Consumers expect a recession. b....
-
Indicate whether each of the following statements is true or false. If the statement is false, change it to make it true. a. Positive analysis imposes the value judgments of one individual on the...
-
Use economics to explain why people leave tips (a) at a restaurant they visit often and (b) at a restaurant they visit only once.
-
Use economics to explain this statement: Increasing the speed limit has, to some degree, compromised highway safety on interstate roads but enhanced safety on non-interstate roads.
-
The risk-return performance for a portfolio that you manage and its corresponding benchmark for a given month is as follows: Portfolio Benchmark Return (%) 2.0 2.1 Standard Deviation (%) 1.1 1.3 If...
-
What is EBIT/eps analysis? What information does it provide managers?
-
For each of the following functions, identify two controls that top management should exercise: a. Personnel acquisition b. Personnel termination
-
What impact has the widespread availability of minicomputers and microcomputers had on the decision to centralize or decentralize the information systems function?
-
What are the advantages and disadvantages of: a Decentralizing systems analysis b Centralizing programming
Study smarter with the SolutionInn App