-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wavelet variances #5
Comments
Regarding Cross-covariance, I attached a .r file containing a function I wrote.
Apart from the wccv, the function also returns the variance of each wccv and its 95% CI. The variance is calculated based on the spectrum density (of the cross product of wc from different TS) evaluate at 0 (spectrum0 function from library(coda)). spectrum0() may give some warning messages when level j is large (less number of wc). ################################################### Compute WCCV (based on the modwt function in GMWM package)--------------------------------------------INPUT:Xt = time series matrix with num.ts number of columns and N number of rowsOUTPUT:A list contains:wccv: empirical wavelet cross-covariance basd on Haar MODWTwccv.cov: variance of empirical wavelet cross-covarianceci_low: low bound of the 95% CI of empirical wavelet cross-covarianceci_high: high bound of the 95% CI of empirical wavelet cross-covariancewccv = function(Xt){
} |
Hi guys,
Once Issue #4 has been addressed the next part is to compute various statistics from the wavelet decomposition, here are the main ones:
Note that for all the quantities described above we will need to compute the point estimate together with its (estimated) variance.
The text was updated successfully, but these errors were encountered: