Fit a least squares linear regression model

Assignment Help Financial Econometrics
Reference no: EM131231738

The data to be used for this problem are contained in the S-Plus script file pprice.asc. Running this script will create the data frame PPRICE for which each row corresponds to a particular date.

• The first column contains the values of a variable named GasSpot which gives the spot price of natural gas on that date.

• The second column contains the values of a variable named SDTemp which gives the average temperature in San Diego over the 31 days preceding the date in question.

• The third column contains the values of a variable named PPower which gives the average over the 5 days preceding the date in question, of the spot price of firm on peak electric power at the Palo Verde station.

• Finally, the fourth column contains the values of a variable named FPower which gives the average over the two weeks following the date in question, of the spot price of firm on peak electric power at the Palo Verde station.

Form a data frame TRG with the first 250 rows of PPRICE. The entries of TRG correspond to the period from 2/4/1999 to 2/3/2000. You shall also need to form a data frame TST with the last 80 rows of PRICE. The entries of TST correspond to the period from 7/13/2001 to 11/9/2001. We avoid the period in between because of the extreme volatility of the natural gas and power prices. This does not mean that we are not interested in studying periods of high volatility, quite the contrary. It is merely because the economic fundamentals were not the only driving force during this crisis period.

The goal of the problem is to predict the values of the average price of (firm on peak) electric power over the next two weeks from past values of explanatory variables such as the weather (as quantified by the average temperature in San Diego), the price of natural gas, and possibly past values of the price of electricity at the same location. We use the data in TRG as a training sample to fit a regression model, and we compute the predictions given by such a model for the data in the testing sample TST.

Warning. The variable PPower should not be used in the first 4 questions. Moreover, for all the predictions considered below, the figure of merit should be the square root of the mean squared error.

1. Fit a least squares linear regression model for FPower against GasSpot and SDTemp using the data in TRG, use this model to predict the values of FPower in TST from the corresponding values of the explanatory variables, and compute the figure of merit.

2. Same question with least absolute deviations linear regression instead.

3. Same question using projection pursuit. Explain your work.

4. Same question using kernel regression. Again make sure that you explain all the steps you take, and justify your choice of kernel function and bandwidth.

5. Fit a least squares linear regression model for FPower against GasSpot, SDTemp and PPower using the data in TRG, as before, use the fitted model to predict the values of FPower in TST from the corresponding values of the three explanatory variables, and compute the figure of merit.

6. Same question with least absolute deviations linear regression instead.

7. Same question using projection pursuit.

8. Compare the numerical results obtained with the various methods, and explain why they could have been expected.

Reference no: EM131231738

Questions Cloud

Communicating and relationships in negotiation : Communicating and Relationships in Negotiation: Managing Family Relationships in a Negotiation. Consider this scenario: You and your brother work for your father’s successful family business, which employs 15 individuals. Your role has evolved from b..
Find the total work and the heat transfer for the process : Reconsider the process in Problem 3.170, in which three states were specified. Solve the problem by fitting a single smooth curve (P versus v) through the three points. Map out the path followed (including temperature and quality) during the proce..
Aggregate planning strategies is demand option : Which of the following aggregate planning options is NOT associated with manipulation of product or service demand? Which of the following aggregate planning strategies is a demand option?
Compute regressor variables involving the values of mcorn : Choose and compute regressor variables involving the values of MCorn, MDMHDD and MDMCDD up to July of the same year but not later.
Fit a least squares linear regression model : Fit a least squares linear regression model for FPower against GasSpot and SDTemp using data in TRG. - Compare the numerical results obtained with the various methods, and explain why they could have been expected.
Determine the work done by the ammonia : Determine the work done by the ammonia by summing the area below the P-V process curve. As you plot it, P is the height and the change in volume is the base of a number of rectangles.
Knowledge is authentic and credible : As a professional you should have the ability to discern if information/knowledge is authentic and credible. You should be able to decide if information/knowledge has relevance or has resonance. Discuss what attributes/qualities/skills that an operat..
Identify all the potential lawsuits : Laura Beguiled and Spencer Lacey are famous movie stars, and they are planning to be married. One day, while standing in line at their local supermarket, they noticed Spenser’s picture on the cover of several magazines. When the police came and ascer..
Line authority is basic type of authority to carry out tasks : Line authority is a basic type of authority to carry out tasks and give orders related to the organization's primary purpose. Staff authority is the right to advise or assist those with line authority. Functional authority if the right given by highe..

Reviews

Write a Review

Financial Econometrics Questions & Answers

  How much would state liability for each of families change

Analyze the implications of credit on two families of this state: Family #1 (in the 18 percent federal tax bracket) and Family #2 (in the 35 percent federal tax bracket), each family expends approximately $1,500 per year for child-care.

  Calculate the net present value with a discount rate

The owner of the supplier firm has indicated that he would be willing to sell his business for $500,000. I expected this "vertical integration" of the company to result in reduced material costs totaling $75,000 annually

  Determine what is the price of the stock today

Thirsty Cactus Corp. just paid a dividend of $1.20 per share. The dividends are expected to grow at 15 percent for the next eight years and then level off to a growth rate of 5 percent indefinitely.

  What is the principal repayment on the 20th payment

To finance the purchase, you have arranged for a 30-year mortgage loan for 80 percent of the $2,800,000 purchase price. The monthly payment on the loan will be $22,000.

  Determine what must the projects initial cost be

A project has the following cash flows for years 1 through 3 respectively: 1,698, 1,467, 1,855. Using a discount rate of 10.2 percent, it has been determined that the profitability index is 0.97.

  Which of given can lead to reversal of country trade pattern

Which of the following can lead to a reversal of the country's trade pattern? - Growth in the country's total supply (endowment) of the factor that is initially scarce in the country.

  What is pmpm rate that dixie must set to cover medical cost

Dixie Medical Center estimates that a cpitated population of 50,000 would utilize 450 inpatient days per 1000 enrollees at an average cost of $1,200 per day.

  What methods and strategies could use to keep the cost

Say that you are the CFO of an organization, what methods and strategies could you use to keep the cost of capital as low as possible. this is while simultaneously minimizing the risk that the organization will have.

  Compute the eac for both machines at discount rate

You are evaluating two different silicon wafer milling machines. The Techron I costs $234,000, has a three-year life, and has pretax operating costs of $61,000 per year.

  Determine what will be the new of the bond of face value

A 10-year bond paying a 10% (semiannual) coupon is priced at 90.50% of face value. if the current yield changes to 12%, what will be the new of the bond

  Determine what is the internal rate of return for a project

What is the internal rate of return for a project that has a net investment of $60,000 and the following net cash flows: Year 1 = $15,000; Year 2 = $20,000; Year 3 = $25,000; Year 4 = $30,000

  Determine what is the wacc for the company

Assume the company's tax rate is 35 percent. Debt: 5,000 6% coupon bonds outstanding, $1,000 par value, 25 years to maturity, selling for 105% of par; the bonds make semiannual payments.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd