Ask Statistics and Probability Expert

Assignment 4- Must complete using stata and must provide do files, graphs produced in stata and smcl log outputs.

1.       Moving average oscillators are often used to determine when to buy and sell (or sell short) securities.  They also can be used to help signal trends in the underlying data.  Oscillators are calculated by dividing one moving average series by another (note the actual value of the data series is the same as a 1-period moving average).   Therefore, a 1/12 quarter oscillator is simply the quarterly value divided by the 12-quarter moving average of the quarterly series.  When the 1/12 oscillator crosses above the 1.00 level, the value moves above its own 12-quarter moving average, and that is interpreted as a bullish signal.  Conversely, when the value moves below its own 12-quarter moving average, the 1/12 oscillator also crosses below the 1.00 level, and that is taken as a bearish sign.  Plotting the data makes it easy to see when the oscillator crosses above and below the 1.00 level (i.e. tsline oscillator, yline(1)).  Calculate the 1/12 quarter oscillator using the USCSCOMHPINSA  variable in the USCSCOMHPINSA.dta  file and answer the following questions (calculate the moving average as a 12-period exponential moving average).

 

a.       According to the oscillator are we currently in a bearish or bullish housing market?

b.      In what quarter did the current bearish/bullish market begin?

c.       In what quarter did we hit the bottom of the last bearish market?

d.      In what quarter did the last bull market begin? 

e.      In what quarter did the last bull market end?

2.       Use all observations in the USCSCOMHPINSA.dta file to perform a Holt-Winters forecast for the next eight quarters and answer the following questions.

a.       What is the underlying seasonal index for each of the four quarters?  (Round to two decimal places)

Quarter

Index

1

 

2

 

3

 

4

 

b.      What are the forecast of the US National Composite Home Price Index and the upper and lower 95% confidence levels for the next 8 quarters? (Round to two decimal places)

Quarter

Forecast

LCL

UCL

2013q1

 

 

 

2013q2

 

 

 

2013q3

 

 

 

2013q4

 

 

 

2014q1

 

 

 

2014q2

 

 

 

2014q3

 

 

 

2014q4

 

 

 

c.       What is the mean squared error, mean absolute error, mean percent error, number of forecast outliers and percent of outliers for the in-sample forecast? (Round to two decimal places)

Mean squared error

 

Mean absolute error

 

Mean percent error

 

Number of outliers

 

Percent outliers

 

d.      Test the forecast errors using the Skewness/Kurtosis tests for Normality (sktest).   Are the errors normally distributed?  What are the reported joint adjusted χ2 and p-value of the test?

e.      Graph the actual home price index, forecast, lower and upper 95% confidence intervals.
(place graph on next page)

3.       Using the Box-Jenkins Method and all observations in the USCSCOMHPINSA.dta STATA data file, find the best ARIMA class model (without seasonal lags or adjustments) using  Schwarz's Bayesian information criteria and forecast the Home Index for the next 8 quarters.

a.       What is the best model? 

 

b.      What are the forecast of the US National Composite Home Price Index and the upper and lower 95% confidence levels for the next 8 quarters? (Round to two decimal places)

 

Quarter

Forecast

LCL

UCL

2013q1

 

 

 

2013q2

 

 

 

2013q3

 

 

 

2013q4

 

 

 

2014q1

 

 

 

2014q2

 

 

 

2014q3

 

 

 

2014q4

 

 

 

 

 

c.       What is the mean squared error, mean absolute error, mean percent error, number of forecast outliers and percent of outliers for the in-sample forecast? (Round to two decimal places)

Mean squared error

 

Mean absolute error

 

Mean percent error

 

Number of outliers

 

Percent outliers

 

d.      Test the forecast errors using the Skewness/Kurtosis tests for Normality (sktest).   Are the errors normally distributed?  What are the reported joint adjusted χ2 and p-value of the test?

e.      Graph the actual home price index, forecast, lower and upper 95% confidence intervals.
(place graph on next page)

4.       Using the USCSCOMHPINSA.dta data file, hold-out the last four quarters and produce a Holt-Winters forecast and a forecast using the best ARIMA class model from Question 3 above.

a.       What are the actual values of the US National Composite Home Price Index for 2012, the Holt-Winters forecast, the Holt-Winters percent error, the ARIMA forecast and the ARIMA percent error? (Round to  two decimal places)


Quarter

Home
 Index

Holt-Winters Forecast

Holt-Winters Error %

ARIMA Forecast

ARIMA 
Error %

2012q1

 

 

 

 

 

2012q2

 

 

 

 

 

2012q3

 

 

 

 

 

2012q4

 

 

 

 

 

Mean

 

 

 

 

 

 

b.      Before analyzing the accuracy of the models using the hold-out sample, which model performed better in-sample over the entire period using the results from Questions 2 and 3?

 

c.       Analyze the performance of the models during the hold-out sample.  Is their performance different than what you expected before you performed the hold-out analysis?   Explain why you think the forecast from the models behaved as they did.  Using all of the information available to you which forecast model would you choose?

 

 

d.      Graph the actual home price index, Holt-Winters and ARIMA forecasts.
(place graph on next page)

 

Statistics and Probability, Statistics

  • Category:- Statistics and Probability
  • Reference No.:- M9840502
  • Price:- $65

Priced at Now at $65, Verified Solution

Have any Question?


Related Questions in Statistics and Probability

Introduction to epidemiology assignment -assignment should

Introduction to Epidemiology Assignment - Assignment should be typed, with adequate space left between questions. Read the following paper, and answer the questions below: Sundquist K., Qvist J. Johansson SE., Sundquist ...

Question 1 many high school students take the ap tests in

Question 1. Many high school students take the AP tests in different subject areas. In 2007, of the 144,796 students who took the biology exam 84,199 of them were female. In that same year,of the 211,693 students who too ...

Basic statisticsactivity 1define the following terms1

BASIC STATISTICS Activity 1 Define the following terms: 1. Statistics 2. Descriptive Statistics 3. Inferential Statistics 4. Population 5. Sample 6. Quantitative Data 7. Discrete Variable 8. Continuous Variable 9. Qualit ...

Question 1below you are given the examination scores of 20

Question 1 Below you are given the examination scores of 20 students (data set also provided in accompanying MS Excel file). 52 99 92 86 84 63 72 76 95 88 92 58 65 79 80 90 75 74 56 99 a. Construct a frequency distributi ...

Question 1 assume you have noted the following prices for

Question: 1. Assume you have noted the following prices for paperback books and the number of pages that each book contains. Develop a least-squares estimated regression line. i. Compute the coefficient of determination ...

Question 1 a sample of 81 account balances of a credit

Question 1: A sample of 81 account balances of a credit company showed an average balance of $1,200 with a standard deviation of $126. 1. Formulate the hypotheses that can be used to determine whether the mean of all acc ...

5 of females smoke cigarettes what is the probability that

5% of females smoke cigarettes. What is the probability that the proportion of smokers in a sample of 865 females would be greater than 3%

Armstrong faber produces a standard number-two pencil

Armstrong Faber produces a standard number-two pencil called Ultra-Lite. The demand for Ultra-Lite has been fairly stable over the past ten years. On average, Armstrong Faber has sold 457,000 pencils each year. Furthermo ...

Sppose a and b are collectively exhaustive in addition pa

Suppose A and B are collectively exhaustive. In addition, P(A) = 0.2 and P(B) = 0.8. Suppose C and D are both mutually exclusive and collectively exhaustive. Further, P(C|A) = 0.7 and P(D|B) = 0.5. What are P(C) and P(D) ...

The time to complete 1 construction project for company a

The time to complete 1 construction project for company A is exponentially distributed with a mean of 1 year. Therefore: (a) What is the probability that a project will be finished in one and half years? (b) What is the ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As