Question



Consider the 5 point running mean where ut ~ NID(0, σ ), and let σ -1. (i) Determine the theoretical auto-covariance (ACF) for v, and the theoretical cross-covariance function (CCF) between w and vt. (ii) Generate a realization of w of length 1000, compute the associated 5-point moving average v and plot these two time series on the same graph.i Calculate the corresponding sample versions for the ACF and CCF and remark on how these resemble and differ from the theoretical results. (iv) Repeat for another realization of length 1000 and remark on the similarities/differences
0 0
Add a comment Improve this question Transcribed image text
Answer #1

uwe have 5 point uning meen 5 uw t+ 2 Find auto- (ovavianu function 5 ov 2-Date 2 5 2 5 ow 5 2 5 2 5 for h=25 2 5 2S in eneta 2 S Jhis au to lovari anufunitiono and also,5 dint l utod 2 5 5

clc;
n=1000
w=normrnd(0,1,n,1);
for i=3:n-2
    v(i)=(sum(w(i-2:i+2)))/5;
end
plot(w,'r')
hold on     % hold on command is used to plot both w and v time series on same plot
plot(v,'b')
autocorr(v)
crosscorr(v,w)

A6amjxeUzFBNAAAAAElFTkSuQmCC

B3iNRNnxcDnaAAAAAElFTkSuQmCC

j+KxM5skJwjBgAAAABJRU5ErkJggg==

Conclusion : here we can conclude from figures regenerated through samples that sample and theoretical autocovariance function is same

Add a comment
Know the answer?
Add Answer to:
Consider the 5 point running mean where ut ~ NID(0, σ ), and let σ -1....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT