• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 16 pages
Exam (elaborations)

The Autocorrelation Function (ACF) Advanced Answer.

Document preview thumbnail
Preview 3 out of 16 pages

The j-th order autocorrelation function is defined as - correct answer rho(j) = gamma(j)/gamma(0) = ([E(X(t)-mew)*E(X(t-j)-mew)])/(E[(X(t) - mew)^2]) = (Cov(X(t),X(t-j))/Var(X(t) for j = 0,1,2,... with -1 = rho(j) = 1 The plot of rho(j) against j = 0,1,2,... is called - correct answer the correlogram For a stationary ergodic process, the ACF can be estimated by the sample moments as follows - correct answer y bar = (1/T) * Summation from t=1 to T of y(t) sigma hat^2 = (1/T) * Summation from t=1 to T of (y(t) - y bar)^2 for each j: r(j) = (Summation from t=j+1 to T of (y(t)-y bar)*(y(t-j)-y bar))/(Summation from t=1 to T of (y(t)-y bar)^2) Sample variance of r(j): Var(r(j)) = T^-1 for j=1 Var(r(j)) = T^-1 * (1+2*summation from k=1 to j-1 of (r(k)^2)) for j 1 Testing for autocorrelation - correct answer Also known as testing the null hypothesis that autocorrelations are significantly different from zero H(0): r(j) = 0 for j = 1,2,3,...,k and k T **Can be done with Box and Pierce (1970) or Ljung-Box (1978) Autocorrelation - correct answer In a longitudinal design, the correlation of one variable with itself, measured at two different times. Box-Pierce (1970) statistic - correct answer Q = T * Summation from j=1 to k of r(j)^2 Q ~ X^2(k) under H(0) Ljung-Box (1978) statistic - correct answer Q = T(T+2) * Summation from j=1 to k of r(j)^2 / (T - j) Q ~ X^2(k) under H(0) Box-Pierce and Ljung-Box in R - correct answer Examining null hypothesis of independence in a given time series ('portmanteau tests') B(x, lag=1, type=c("Box-Pierce","Ljung-Box") fitdf=0) x = numeric vector or univariate time series lag = statistic based on lag autocorrelation coefficients type = test to be performed: partial matching used fitdf = number of degrees of freedom to be subtracted if x is series of residuals **Sometimes applied to the residuals from an ARMA (p, q) fit, in which case the references suggest a better approximation to the null-hypothesis distribution is obtained by setting fitdf = p+q, provided lag fitdf -- Gives value = a list with class "htest" and following components: -statistic = value of test statistic


Document information

Uploaded on
February 28, 2024
Number of pages
16
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$13.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
RealGrades
4.0
(27)
Sold
201
Followers
52
Items
12412
Last sold
2 hours ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

Whoops! We can’t load your doc right now. Try again or contact support.