MAT 3379 Introduction to Time Series Assignment

Assignment Help Mathematics
Reference no: EM132476963

MAT 3379 Introduction to Time Series Assignment - University of Ottawa, Canada

Q1. Theoretical Question

Durbin-Levinson algorithm and PACF for AR(p) models. Assume that Zt are i.i.d random variables with mean 0 and variance σZ2. Obtain the coefficients φ11, φ22, φ33 for AR(2) model.

Q2. Theoretical Question

Yule-Walker procedure and Durbin-Levinson algorithm for MA(q) models. Consider the MA(1) model Xt = Zt + θZt-1, θ ∈ R, where Zt are i.i.d. random variables with mean 0 and variance σZ2. Our goal is to find the best linear predictor PnXn+1 of Xn+1 based on X1, . . . , Xn.

(a) Let n = 2. Apply the Durbin-Levinson algorithm to get P2X3 = φ21X2 + φ22X1. You should get the same answer as in the previous assignment; note however that there is a change of notation: (a1, a2) are changed into (φ21, φ22).

Q3. Theoretical Question - Maximum Likelihood Estimation for AR(p) models.

Consider AR(1) model Xt = φXt-1 + Zt, where Zt are i.i.d. normal random variables with mean zero and variance σZ2. Derive MLE for φ and σZ2.

Q4. Practical Question

(a) We have already fitted AR(4) to US unemployment data. We estimated parameters using the Yule-Walker procedure.

(b) Calculate the residuals, plot their ACF and PACF. Is the chosen AR(4) model appropriate?

(c) Predict the next observation (remember about the mean!).

(d) "Predict" the past observations and verify quality of the "prediction" by plotting the original values and the "predicted" values on the same graph. Compute the squared error of that prediction.

(e) Now, pretend that the model is AR(1). Estimate parameters of the model. Repeat (b)-(d). State conclusions.

Q5. Practical/Theoretical Question

(a) Type

My.TS<-LakeHuron; help(LakeHuron); mean=mean(My.TS);

My.Centered.TS<-My.TS-mean(My.TS);

The first command loads data set LakeHuron which is in-built in R. The second command shows description of the data set. The third command centers your data set.

(b) Fit AR(2) model using the Yule-Walker estimator. Obtain φ^1, φ^2, σ^Z2.

fit.ar<-ar(My.Centered.TS,method="yule-walker");

(c) Verify that the command ar leads to the correct Yule-Walker estimator.

- Type

ACF<-acf(LakeHuron)

and readb ρ^X(1) and ρ^X(2). Type var(LakeHuron)to get γ^X(0). Using these information, compute γ^X(1), γ^X(2).

- Create a vector (γ^X(1), γ^X(2)) and call it gamma.vector.

- Create a matrix Γ^2 and call it Gamma.matrix.

- Type

solve(Gamma.matrix)%*%gamma.vector;

and compare the obtained values with part (b).

Q6. Practical Question

The following exercise shows that it is hard to identify AR model with p ≥ 2.

Download BadData.txt. Denote by X your data set.

(a) Based on ACF and PACF argue that an AR(3) model can be chosen.

(b) Type

fit.ar<-ar(X, method="mle");

fit.ar;

What order has been selected? Denote this order by p.

(c) Use p from (b) and type

fit.arima<-arima(X, order=c(3,0,0));

fit.arima;

fit.arima1<-arima(X, order=c(p,0,0));

fit.arima1;

Why did MLE select p, not 3?

Attachment:- Introduction to Time Series Assignment File.rar

Reference no: EM132476963

Questions Cloud

CVE80016 Major Research Project Assignment : CVE80016 Major Research Project Assignment help and solution, Swinburne University of Technology - assessment writing service - Geotechnical stabilization
Business Case - Facebook : Develop your Strategic Plan related to the case questions, explaining the why and how of your choices and decisions about Facebook
Define the companys objectives for the product : Define the companys objectives for the product in the areas of sales, market share, and profit, and the issues that will affect these objectives
BUSI 2083 Managerial Accounting Assignment : BUSI 2083 Managerial Accounting Assignment Help and Solution - Yorkville University, Canada. Question 2 - Cost Volume Profit Analysis
MAT 3379 Introduction to Time Series Assignment : MAT 3379 Introduction to Time Series Assignment Help and Solution - University of Ottawa, Canada. Our goal is to find the best linear predictor
Nature of healthcare and how it impacts the health system : Develop your effectiveness in writing about topics relevant to course objectives and health care administration and more effectively use research resources
Marketing plan for about to open a new punjabi restaurant : Marketing Plan for about to open a new Punjabi restaurant in Calgary - Internal Strengths and Weaknesses and Financial Data and Projections
CMPE-471 Special Topics-IoT Assignment : CMPE-471 Special Topics-IoT Assignment Help and Solution, Qatar University, Qatar. Discuss all the Carrier Sense Multiple Access schemes
Determine the reimbursement from the centers : Evaluate the options available to change the payer-patient mix with consideration of related legal and ethical issues and Propose a best strategy

Reviews

Write a Review

Mathematics Questions & Answers

  Moment generating function

Given that f(x)=exp(-x), please show that its moment generating function is given by M(z)=1/(1-z), and show that the kth moment about the origin is k.

  How much money has been borrowed in the energy sector

How much money has been borrowed in the energy sector by smaller companies hoping to capitalize on the oil market in the last two years

  Find the value of x that maximizes the volume of the box

A box with no top is to be built by taking a 6'' - by - 10'' sheet of cardboard and cutting x - in. squares out of each corner and folding up the sides. Find the value of x that maximizes the volume of the box.

  In how many ways can the baby be named

New parents wish to give their baby one, two, or three different names. In how many ways can the baby be named if the parents will choose from a book.

  An inlet pipe on a swimming pool

An inlet pipe on a swimming pool can be used to fill the pool in 6 hours. The drain pipe can be used to empty the pool in 8 hours. If the pool is 12 filled and then the inlet pipe and drain pipe are opened, how long from that time will it take ..

  What time period will the projectile be above

a projectile is fired straight up with an initial velocity of 80 feet per second. Its height in feet after t seconds is s = -16t^2 + 80t. During what time period will the projectile be above 96 feet?

  What is the amount of depreciation during the fifth year

what is the amount of depreciation during the fifth year?

  What is the total cost of the camping equipment

Peter and jock buy a backpack that cost $110 and a sleeping bag that costs $80. What is the total cost of the camping equipment

  State the base of the solid is the region in the xy-plane

The base of the solid is the region in the xy-plane bounded by the paraboles y=x^2 and x=y^2 . find the volume of this solid if every cross-section perpendicular

  Find probability of a bullseye

Probability of a Bullseye, A simple dartboard has three areas - the main board has a radius of 10 inches, there is a circle with a radius of 5 inches, and the bullseye has a radius of 2 inches

  Which of the following could be the intersection of plane

Given that A, B, C, and D are noncoplanar, which of the following could be the intersection of Plane ABC and ray AD?

  For what amount of medical bills will plan b save

For what amount of medical bills will plan B save Giselle money? Assume she has over $150 bills.

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