Mean and autocorrrelation function

In summary: In this case, the largest of the two products would be dominated by the term with the smaller n1, and the smaller of the two products would be dominated by the term with the larger n2. Consequently, the cross-correlation would be negative, contrary to what you wanted.
  • #1
TomBombadil
5
0
I'm trying to solve a random process problem:

"Let [itex]x(n) = v(n) + 3v(n-1)[/itex] where [itex]v(n)[/itex] is a sequence of independent random variables with mean µ and variance s². Whats its mean and autocorrelation function? Is this process stationary? Justifiy."

To discover the mean, I applied the expected value at x(n):

[itex] E[x(n)] = E[ v(n) ] + 3 E[v(n-1)] = \mu + 3\mu = 4\mu[/itex]

To obtain the autocorrelation function:

[itex]r(n_1,n_2) = E[x(n_1)x(n_2)] = E[v(n_1)v(n_2) +3v(n_1)v(n_2 -1) + 3v(n_1-1)v(n_2) + 9v(n_1 -1)v(n_2-1)] [/itex]

Since v(n) is an independent sequence..
[itex]r(n_1,n_2) = E[v(n_1)] E[v(n_2)] + 3E[v(n_1)] E[v(n_2-1)] + 3 E[v(n_1-1)] E[v(n_2)] + 9 E[v(n_1 -1 ) ] E[v(n_2 -1)] [/itex]

But [itex]E[v(n)] = \mu[/itex], then

[itex]r(n_1,n_2) = \mu^2 + 3\mu^2 + 3 \mu^2 + 9 \mu^2 = 16\mu^2 [/itex]

I'm afraid that I made mistake evaluating the autocorrelation function..So, is there any error? If yes, could someone correct me? Thanks!
 
Physics news on Phys.org
  • #2
Your mistake is here
TomBombadil said:
To obtain the autocorrelation function:

[itex]r(n_1,n_2) = E[x(n_1)x(n_2)] = E[v(n_1)v(n_2) +3v(n_1)v(n_2 -1) + 3v(n_1-1)v(n_2) + 9v(n_1 -1)v(n_2-1)] [/itex]

Cross-correlation is defined as

[itex]\rho_j=\sum_{k=-\infty}^{\infty} x_k y_{k+j} [/itex]

so the factorization you tried to do is not allowed. (Note that definitions vary. Sometimes c-correlation is defined as

[itex]\rho_j=\sum_{k=-\infty}^{\infty} (x_k - \mu_x)(y_{k+j} - \mu_y)[/itex]

instead. Use the definition from your text or class.)

Modify this to fit your problem and it should work out better.
 
  • #3
If n1 and n2 differ by 1, then one of the terms of r(n1,n2) cannot be split up as a product of expectations, since the argument for both v's in the product would be the same.
 

FAQ: Mean and autocorrrelation function

What is the definition of mean in statistics?

The mean, also known as the average, is a measure of central tendency that represents the sum of all values in a dataset divided by the total number of values. It is often used to describe the typical or average value of a set of data.

How is the mean calculated?

To calculate the mean, add up all the values in a dataset and then divide by the total number of values. For example, if a dataset contains the values 2, 4, 6, and 8, the mean would be (2+4+6+8)/4 = 5.

What is the autocorrelation function?

The autocorrelation function is a statistical tool used to measure the degree of correlation between a time series and a lagged version of itself. It helps to identify patterns or trends in a dataset over time.

How is the autocorrelation function calculated?

The autocorrelation function is calculated by taking the correlation between a series and a lagged version of itself at different time intervals. This can be done using various mathematical formulas or statistical software.

Why is the autocorrelation function important?

The autocorrelation function is important because it can help to identify patterns or trends in a dataset that may not be apparent when looking at the data as a whole. It can also be used to evaluate the performance of forecasting models and to make predictions about future values in a time series.

Similar threads

Replies
12
Views
2K
Replies
11
Views
3K
Replies
6
Views
1K
Replies
3
Views
315
Replies
1
Views
1K
Replies
22
Views
2K
Replies
1
Views
860
Back
Top