当前位置 |首页 > 作业代写 > R语言代写 >

1. The data file labordata.dat consists of the labor force participation rates by gender (including the total, i.e., sum of male and female) for the years 1948-1991. Each observation is a monthly data point. The objective of this assignment is to fit a trend to the time series data, and based on the best fit model, make a 10 year forecast. The complete assignment needs to be typed, include all the plots, and the R source code as well.

(a) Show a time-series plot of your data. You can show all three variables on the same plot.

(b) Fit a linear, polynomial, and exponential model to the female labor force participation rate. For each model, plot the time series and overlay the respective fit. Discuss your results for each one. (c) Plot the residuals vs. the fitted values for each model in the previous question. Discuss your results.

(d) Based on AIC and BIC, choose the best fit model. Make sure to provide a table with the AIC and BIC computed values.

(e) Using your selected best fit model, forecast and plot your estimated female labor force participation rate for the years 1992-2002. Your forecast should include the 95% confidence and prediction intervals. Discuss your results.

(f) Fit a Holt-Winters filter to your data and show the fit. How does this model compare to your best fit model?

(g) Based on the Holt-Winters fit, forecast and plot your estimated female labor force participation rate for the years 1992-2002. Your forecast should include the error bands. Discuss your results

2. Least-squares regression residuals have zero mean. Prove that least-squares regression residuals must sum to zero, and hence

must have zero mean, if an intercept is included in the regression. Hence

in-sample regression \forecasts" are unbiased.

3. Model uncertainty.

We have thus far emphasized disturbance uncertainty and parameter

estimation uncertainty (which is due in part to data uncertainty, which

in turn has several components).

A third source of prediction error is model uncertainty. All our models

are intentional simplifications, and the fact is that different models

produce different forecasts. Despite our best intentions, and our use of

powerful tools such as information criteria, we never know the DGP, and

surely any model that we use is not the DGP.

4.

5.