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

  Determine what is the company cost of capital

A company is 46% financed by risk free debt. The interest rate is 11%, the expected market risk premium is 9%, and the beta of the company's common stock is 0.56.

  Determine what is the companys expected growth rate

Kahn Inc. has a target capital structure of 65% common equity and 35% debt to fund its $10 billion in operating assets. Furthermore, Kahn Inc. has a WACC of 14%, a before-tax cost of debt of 8%, and a tax rate of 40%

  What is the reliability function of each component

Determine the probability that the lifetime of the system exceeds 10 days. -  What is the probability that the lifetime of one component exceeds 10 days?

  Determine what is the hospitals expected profit and loss

ABC hospital, a not for profit acute care facility, expects to have a patient load of 20,000 inpatient days next year and has the following cost structure for its inpatient services

  How much would have to put away each year to reach goal

How much would you have to put away each year to reach your goal, assuming you're starting from zero now and you earn 5% annual interest on your investment

  What growth rate is expected for the companys stock price

The stock price of Webber Co. is $68. Investors require an 11 percent rate of return on similar stocks. If the company plans to pay a dividend of $3.85 next year

  Determine what is the total amount paid in interest

Consider a 30-year mortgage at an interest rate of 12% compounded monthly with a $900 monthly payment. What is the total amount paid in interest

  Compare numerical results obtained with the various methods

Compute the first two principal components. - Compare the numerical results obtained with the various methods, and explain why they could have been expected.

  Coefficient of determination adjusted for degrees of freedom

MAE 256 Analytical Methods in Economics and Finance. What is the coefficient of determination adjusted for degrees of freedom (R-2)? What do this statistics tell you about the regression equation

  What would the price be if the company expected a volume

A company has a total cost of $40.00 per unit at a volume of 120,000 units. The variable cost per unit is $25.00. What would the price be if the company expected a volume of 110,000 units and used a markup of 50%

  Determine what is beas unlevered beta before restructuring

Beckman Engineering and Associates (BEA) is considering a change in its capital structure. BEA currently has $20 million in debt carrying a rate of 7%, and its stock price is $40 per share with 2 million shares outstanding.

  Effect of contrys interest rate increases on the lm curve

Explain the effect of The country's central bank decreases the money supply and The country's interest rate increases on the LM curve?

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