Skip to content
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

Rsq sometimes less than 0 or greater than 1 #5

Open
cmicek1 opened this issue Jul 23, 2024 · 0 comments
Open

Rsq sometimes less than 0 or greater than 1 #5

cmicek1 opened this issue Jul 23, 2024 · 0 comments

Comments

@cmicek1
Copy link

cmicek1 commented Jul 23, 2024

It's actually been a year since I used your package, but am working with the vectorwavelet package in R calculating the coherence between some EEG data, and realized that sometimes the values for Rsquared that are returned are not between 0 and 1 (though they usually are). Digging through code from when I was using you package last year I realized I came across the same issue then looking at a different set of data. Do you have an idea why this might be? The fact that this happens in multiple packages seems to suggest this isn't a mathematical impossibility, but I've been intuiting about coherence values similarly to correlation coefficients, so I'm not sure what to make of this when it occurs. Should I just throw these values away? Or are they actually meaningful?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant