2. Fit auto-regressive (AR) models with regular and stochastic gradient de- scents. Refer to the two-tap...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
2. Fit auto-regressive (AR) models with regular and stochastic gradient de- scents. Refer to the two-tap predictor example in the slides of chapter 5a, consider a AR(2) model x(n) = -wx(n-1) - wx(n - 2) + (n), where x(n) is a time series data, x(n 1) and x(n 2) are the lag 1 and lag 2 series of x(n), and e(n) is a Gaussian noise with zero mean. Dateset description: Two datasets ("Casel.csv", "Case2.csv") are given in this question, each dataset contains a length-1000 series x(n). To fit lin- ear regression model above, you will need to produce lag 1 series x(n-1) and lag 2 series x(n - 2) by yourself. To make x(n-1) and x(n 2) have the same length 1000, filling up the lag by zeros. For example, x(n 1) = [0, x(1), x(2), ..., x (999)]. (a) Estimate w and w for the two datasets using regular gradient de- scent. (b) Estimate w and w for the two datasets using stochastic gradient descent, and compare the result with part (a). (c) For the two datasets, find their correlation matrices R, and the eigen- value spread X(R) = Aman. Hint: To find Amax and Amin, conduct eigendecomposition to R using build-in functions. 2. Fit auto-regressive (AR) models with regular and stochastic gradient de- scents. Refer to the two-tap predictor example in the slides of chapter 5a, consider a AR(2) model x(n) = -wx(n-1) - wx(n - 2) + (n), where x(n) is a time series data, x(n 1) and x(n 2) are the lag 1 and lag 2 series of x(n), and e(n) is a Gaussian noise with zero mean. Dateset description: Two datasets ("Casel.csv", "Case2.csv") are given in this question, each dataset contains a length-1000 series x(n). To fit lin- ear regression model above, you will need to produce lag 1 series x(n-1) and lag 2 series x(n - 2) by yourself. To make x(n-1) and x(n 2) have the same length 1000, filling up the lag by zeros. For example, x(n 1) = [0, x(1), x(2), ..., x (999)]. (a) Estimate w and w for the two datasets using regular gradient de- scent. (b) Estimate w and w for the two datasets using stochastic gradient descent, and compare the result with part (a). (c) For the two datasets, find their correlation matrices R, and the eigen- value spread X(R) = Aman. Hint: To find Amax and Amin, conduct eigendecomposition to R using build-in functions.
Expert Answer:
Answer rating: 100% (QA)
Solutions Step 1 Question Fit autoregressive AR models with regular and stochastic gradient descents Refer to the twotap predictor example in the slides of chapter 5a consider a AR2 model xnw1xn1w2xn2... View the full answer
Related Book For
Statistics For Business Decision Making And Analysis
ISBN: 9780321890269
2nd Edition
Authors: Robert Stine, Dean Foster
Posted Date:
Students also viewed these programming questions
-
Your first attempt at a visualization of stock prices returned this table, which is very difficult to read. How can you change this chart to an easy-to-read visual that shows how stocks prices...
-
Refer to the two box plots below. The first box plot represents a sample of skulls of male Egyptians from about 4000 BCE, whereas the second box plot represents a sample of male Egyptian skulls from...
-
You are the CFO of Ford Motor Company (the company) considering taking on a project that requires $10 million in preliminary funding (in other words, the project will acquire $10 million in costs...
-
The Sellinger Business School's Information Technology Service (ITS) is considering a new process to refurbish older computers in order to save on costs of buying new computers. The five steps to the...
-
An electron de-excites from the fourth quantum level in the diagram of the preceding question to the third and then directly to the ground state. Two photons are emitted. How does the sum of their...
-
Explain etiquette for following up after job interviews.
-
Determine which of -6 and 4 is larger using a number line, and express that using both the greater than and the less than notations.
-
Recognition of Profit and Entries on Long-Term Contract On March 1, 2010, Chance Company entered into a contract to build an apartment building. It is estimated that the building will cost $2,000,000...
-
You have just been hired by FAB Corporation, the manufacturer of arevolutionary new garage door opening device. The president hasasked that you review the company??s costing system and ??do what y 2...
-
Table 1 shows Apple's online orders for the last week. When shoppers place an online order, several "recommended products" (upsells) are shown as at checkout an attempt to upsell See table 2 in cell...
-
Q1. Outline the personal obligations and responsibilities of the licensee for the administration of real estate trust accounts. Refer to the act and regulation and Supervision Guidelines for NSW in...
-
The Elegant Software Company recently completed the development and testing of a new software program for sale to customers that provides the ability to transfer data from among a variety of...
-
1. Mitchell West is a new entry-level accountant at Spectacular Specs and has been working on allocating costs to jobs that have been completed for the month. Mitchell notices that the job cost sheet...
-
NCCs controller believes Portables model will be obsolete within 5 years due to a myriad of consumer preference, quality control and labor issues. He recommended, unsuccessfully, to Ms. Diaz that...
-
The capital structure of a company during the whole of this current financial year has been as follows: Ordinary Shares $1 fully paid - market value $800,000 6% debentures ($100 par value) $212,000...
-
I.Define the nature of each system and describe the cost flows of the system and identify its appropriate use: 1.J ob order costing 2. Process costing 3. Activity based costing 4. Life cycle costing...
-
I am studying. I dont understand the knowledge I am supposed to learn from the two examples. Could you explain the two examples (step by step) and teach me what I am supposed to learn? Example 1
-
In the operation of an automated production line with storage buffers, what does it mean if a buffer is nearly always empty or nearly always full?
-
Choice leads for developing new business are randomly assigned to 50 employees who make up the direct sales team. Half of the sales team is male, and half is female. An employee can receive at most...
-
The normal quantile plot of daily stock returns for General Motors during 19921993 (507 trading days) shows an anomaly, a flat spot at zero. (a) Whats happened? (b) Why does the anomaly not appear in...
-
(a) Find the VaR for an investment of $500,000 at 1%. (That is, find out how low the value of this investment could be if we rule out the worst 1% of outcomes.) The investment is expected to grow...
-
A Mrs T Hulley is paid monthly. For part of April 19X6 she earns 860 and then goes on maternity leave, her maternity pay for April being 90. She has pay free of tax 320, whilst on the next 250 she...
-
A P Urmston is paid monthly. For June 19X6 he earns 1,500 and also receives statutory sick pay of 150. He pays 90 superannuation which is allowed as a relief against income tax and he has further...
-
The data which follows was extracted from the books of account of H Kirk, an engineer, on 31 March 19X6, his financial year end. You are required to allocate each or part of the items above to either...
Study smarter with the SolutionInn App