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

Correlation function #2624

Closed
dudeseriously opened this issue Jul 13, 2022 · 2 comments
Closed

Correlation function #2624

dudeseriously opened this issue Jul 13, 2022 · 2 comments

Comments

@dudeseriously
Copy link

It would be great to have a correlation function especially since we already have some of the sub-calculations (average and standard deviation).

I suppose, one method may be to create a covariance function and combine it with the sub-calculations above, especially as we already have a variance function in the library?

@josdejong
Copy link
Owner

Thanks for your suggestion.

Anyone interested in thinking through a proper API and implement this? Help would be welcome

@josdejong
Copy link
Owner

Implemented via #3015, published now in mathjs@11.11.0.

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

No branches or pull requests

2 participants