-
Notifications
You must be signed in to change notification settings - Fork 6
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
Improvement: calculate the cross-spectrum of two timeseries #6
Comments
Yes it is. Recently (9ec9d84) @jkennel expanded the code to do just this while maintaining computational efficiently. I haven't yet had the time to issue a formal release to CRAN, but will do so soon(ish). In the meantime I encourage you to test out what has been added with the development version:
Here's a silly example:
|
Are you planning on releasing this version to CRAN anytime soon? background: I am the author of the ForeCA package, which relies heavily on multivariate (cross) spectral density estimation. I have relied previously on the sapa R package, but unfortunately ifultools package -- and thus sapa -- have been removed from CRAN recently. While looking for a good alternative for the excellent |
Thanks for asking. I too am feeling the impact of the sapa/ifultools
removal as I was also relying on SDF in kitagawa
<https://cran.r-project.org/package=kitagawa>, so this is good motivation
to push version 2 out the door to CRAN.
Thanks for testing the dev version and letting me know that it works for
you. The cran maintainers have given me a deadline of June 23rd to fix
kitagawa or risk having it removed too, so I'll be working on this
diligently.
Is ForeCA in danger of removal? If so, is it before the 23rd?
…On Sun, Jun 14, 2020 at 5:43 PM Georg ***@***.***> wrote:
Are you planning on releasing this version to CRAN anytime soon?
background: I am author of the ForeCA <https://github.com/gmgeorg/ForeCA>
package, which relies heavily on multivariate (cross) spectral density
estimation. I have relied previously on the *sapa* R package, but
unfortunately the ifultools package -- and thus sapa -- have been removed
from CRAN recently. Looking for a good alternative for the excellent
sapa::SDF() I came across *psd* and this issue in particular. I tried the
test-code above with the dev version here (1.2.1) and it does exactly what
I need for ForeCA (return a 3D complex-valued array with the multivariate
cross-spectrum).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACPJD7QFRF4D7ZIJ7ZFD2LRWVVD5ANCNFSM4KZC333Q>
.
|
Apparently my grace period ended earlier, so it has been removed already last week (despite ifultools having fixed the issues; its just that the maintainer handover on their side was not handled in time I think, hence CRAN removed it). the current ForeCA version on github works w/o SDF by just using astsa package; but it seems that psd would be a closer/better replacement of |
So far the new additions pass all of our checks. We're just trying to wrap
up a new vignette discussing some basic usage before submitting to CRAN. I
expect it will only be a few more days.
…On Wed, Jun 17, 2020 at 7:51 PM Georg ***@***.***> wrote:
Apparently my grace period ended earlier, so it has been removed already
last week (despite *ifultools* having fixed the issues; its just that the
maintainer handover on their side was not handled in time I think, hence
CRAN removed it).
the current ForeCA version on github works w/o SDF by just using *astsa*
<https://cran.r-project.org/web/packages/astsa/index.html> package; but
it seems that *psd* would be a closer/better replacement of sapa::SDF so
I was checking in if I should release the ForeCA update now, or just wait
if psd is getting on CRAN anytime soon.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACPJD7YR4V2IJG6DWXEGHLRXF6MHANCNFSM4KZC333Q>
.
|
Version 2.0 is on CRAN now (https://cran.r-project.org/package=psd). Note that the capabilities are all there, but in the interest of expedience (e.g., to meet the 'kitagawa' package deadline), we released it with with a few known issues that need to be taken care of. These are all minor ones related to methods like |
Technically speaking, is it possible to calculate the optimal number of tapers at each frequency for a cross-spectrum of two univariate timeseries?
The text was updated successfully, but these errors were encountered: