Confidence Interval calculation for Power Density Estimation in MATLAB
Afficher commentaires plus anciens
Hi all,
I try to understand the confidence interval calculation for a power spectral density estimate in MATLAB. For the estimation I use the pwelch function which uses Welch's Method. When a confidence level is specified, the function calls chi2conf(conf,k) where k is the number of independent measurements. In my case the number of independent measurements is the number of periodograms that are obtained by Welch's method. The different periodograms are averaged to get the power density spectrum.
The function chi2conf which is implemented in MATLAB's statistics toolbox does the following:
v = 2*k;
alfa = 1 - conf;
c = chi2inv([1-alfa/2 alfa/2], v);
c = v./c;
chi2inv is the inverse chi squared function, v is the degree of freedom, c=X² and conf is the confidence level, for example 0.95.
My question is, why is there the factor 2 between k and v. Is this, because the periodograms are complex and therefore has two parameters?
The following equations show the different approaches. Maybe the third, combined way is correct, but I am not sure.

The sampling variance s² is here the power spectral density estimate itself, because it is obtained by calculating the auto-correlation which is closely related to the variance, if I understand correctly.
I hope, I am not too confusing. Thanks for your help!
Réponses (0)
Catégories
En savoir plus sur Spectral Estimation dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!