Calculate real prices from the obtained nominal prices

Assignment Help Managerial Accounting
Reference no: EM131243583

For this project, you should work with the monthly time series of the assigned commodity prices, spanning from January of 1995 to December of 2015.

The project consists of a set of time series estimation and forecasting exercises, pre-sented in a list of assignments below. You should address all these items. You should submit a hard copy of the report, and also send me an R file, containing all the coding for your project.

1. Calculate real prices from the obtained nominal prices. using U.S. producer price index as a deflator, and transform these real prices to the natural logarithm. From here forward, work with these transformed time series of commodity prices, denoted by p1.

2. Plot the time series.

3. Plot the autocorrelogram for up to 24 lap.

4. Based on your observations from 2-3, discuss any apparent features of the time series.

5. Divide the series into the in-sample estimation environment (observations up to and including Dec 2009) and the out-of-sample forecasting environ¬ment (observations beginning from Jan 2010 and onwards).

6. Using in-sample observations to obtain parameter estimates, calculate and plot point forecasts (for the duration equivalent to the out-of-sample window size) and the associated 95% interval forecasts using the following models:

(a) random walk:

(b) linear (deterministic) trend model:

(c) linear (deterministic) trend model with seasonal component;

(d) autoregressive models of orders 1 through 6.

7. Based on your observations from 6, discuss any (additional) characteristics of the time series, particularly in terms of their apparent dynamics.

8. Using in-sample observations (again), estimate vector autoregressive model of orders 1 through 6, where the vector of variables is given by x, = (p,,r,)', and where r, is natural logarithm of the real crude oil prices.

9. Test for in-sample Granger causality between the crude oil prices and the commodity prices in the considered vector autoregressive models.

10. Within the rolling forecasting environment, generate one-step-ahead fore-casts throughout the out-of-sample set using the following models:

(a) random walk;
(b) linear (deterministic) trend model with seasonal component;
(c) autoregressive model of order p, where the optimal p is selected based on AIC (or BIC);
(d) vector autoregressive model of order p. where the optimal pis the same as above.

11. For all the aforementioned models:

(a) obtain one-step ahead forecast errors, and calculate and report the out-of-sample root mean square forecast error (FINISFE) measures:

(b) test the hypotheses of (i) error unbiasedness; (ii) error efficiency; and (iii) no autocorrelation.

12. Combine forecasts from 10 using the equal-weights scheme, and calculate and report the associated out-of-sample RIVSFE measure.

13. Based on your observations from 10 and 11:

(a) discuss which of the considered models is preferred in terms of accu¬rate forecasting of the commodity price series.

(b) is there evidence of out-of-sample Granger causality between the crude oil prices and the commodity prices?

# clean up the working space (not necessary, but can be a good practice)
rm(list=ls())
gc()

# download the Soybeans price Index (internet connection is necessary) <- read.csv("https://www.quandl.com/api/v3/datasets/ODA/PSOYB_USD.csv?api_key=K8-6WCWm9UHx18pve3yx&end_date=2016-08-30")
soy <- read.csv("https://www.quandl.com/api/v3/datasets/ODA/PSOYB_USD.csv?api_key=K8-6WCWm9UHx18pve3yx&start_date=1995-01-01&end_date=2015-12-31")

# download the producer price index (internet connection is necessary)
index <- read.csv("https://www.quandl.com/api/v3/datasets/FRED/PPIACO.csv?api_key=9acm7DjKwub3xaFHzp4o&collapse=monthly&start_date=1994-12-31&end_date=2015-12-31")

## soybeans Average
soy.a <- as.matrix(soy$Value)
ts.soy.a <- ts(soy.a,start=c(1995,1),end=c(2015,12),f=12)

## index Average
index.a <- as.matrix(index$VALUE)
ts.index.a <- ts(index.a,start=c(1995,1),end=c(2015,12),f=12)


#Q1
##calculate real price
soy.real <- soy.a/index.a
##transform to natural logarithm, get pt
p <- log(soy.real)


#Q2
##transform data to time series format
ts.p <- ts(p,start=c(1995,1),end=c(2015,12),f=12)
summary(ts.p)
##plot time series
par(mar=c(3,3,1,1),mgp=c(2,.5,0),cex=2)
plot(ts.p,type="l",xlab="Year",ylab="log real soybeans price",col=4,lwd=2)
abline(h=mean(ts.p),col=2,lwd=2,lty=2)

Reference no: EM131243583

Questions Cloud

Construct an original fallacy argument of that type : Identify and define the fallacy. For example, appeal to tradition, false dichotomy, etc. Explain why this type of fallacy is a bad way of reasoning. Construct an original fallacy argument of that type.
Which imply a violation of the no arbitrage assumption : Which of the following necessarily imply a violation of the no-arbitrage assumption? Assume T > 0 and ? > 0, and that all portfolios are self-financing.
Explain the security vulnerabilities associated : Briefly describe your mobile device and another device currently on the market that uses a different OS. Explain the security vulnerabilities associated with each device. Explain the security solutions that would address the vulnerabilities. Final..
Choose the most appropriate relationship between prices : For each of the pairs of A and B in Table, choose the most appropriate relationship between prices at time t ≤ T out of =, ≥, ≤ and ?, where ?
Calculate real prices from the obtained nominal prices : Calculate real prices from the obtained nominal prices. using U.S. producer price index as a deflator, and transform these real prices to the natural logarithm - discuss which of the considered models is preferred in terms of accu¬rate forecasting ..
What would be the childrens school arrangements : Should the organization set assignment lengths of one year or two with families? What does research say is the optimal time period? If there are families, what would be the children's school arrangements?
Explain your implicit ethical decision-making style : First, explain how you think through and determine what is "right" and "wrong" (personally and professionally) in your own daily life. Second, identify four examples of ethical behaviors and explain how your cultural heritage has shaped your value..
Estimate the fraction of the solar emission : Estimate the fraction of the solar emission that is in the following spectral regions: the ultraviolet, the visible, and the infrared.
Determine efficiency as a function of filament temperature : Assuming that the glass bulb transmits all incident visible radiation, what is its efficiency? The efficiency is defined as the ratio of the visible radiant power to the consumed electrical power.

Reviews

Write a Review

Managerial Accounting Questions & Answers

  Midlands design ltd-residual income

Midlands Design Ltd. of Manchester, England, is a company specializing in providing design services to residential developers. Compute the company's residual income for the year. (Omit the "£" sign in your response.)

  Monthly variable costs to process into staples

Grade A wire requires $450,000 of monthly variable costs to process into staples, which can be sold in the market on 5/1/XX for $7.00 per pound. Grade B wire requires $600,000 of monthly variable costs to process into paperclips, which can be sold in..

  Discuss the ethical issues

Discuss the ethical issues

  Company''s cost accounting system divides overhead

A manager tells you that her company's cost accounting system divides overhead into two pools:

  If you were the president of penny wise bank

If you were the president of Penny wise Bank, how would you resolve the argument between Barney and Debra?

  Prepare the journal entry to close the balance

Prepare the journal entry to close the balance in the Factory Overhead account to Cost of Goods Sold.

  Discuss the principle of life-cycle analysis

Discuss the principle of life-cycle analysis and how it might apply to WGL - WGL is considering preparing GRI reports. Will WGL be required to report on the production of the nappies? Why or why not?

  Cash budget comprehensive following are the budgeted

Cash budget comprehensive Following are the budgeted income statements for the second quarter of 2013 for SeaTech, Inc.:

  Calculate the approximate equivalent annual percentage cost

Calculate the approximate equivalent annual percentage cost of a discount of 2%, which reduces the time taken by credit customers to pay from 70 days to 30 days.

  Journalize indicated transactions of ruby jewels

Journalize indicated transactions of Ruby Jewels. Use the periodic inventory system. Explanations are not required.

  Determine the amount of cash received from customers

Determine the amount of cash received from customers for each of the six independent situations below. All dollars are in millions.

  Question on breakeven sales

Use the contribution margin ratio CVP formula to compute Peyton Travel's break-even sales in dollars. If the average sales price of a ticket is $600.00; how many tickets must be sold to reach break-even?

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