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

[FEAT] Statistics for relations between two NadaArrays #64

Open
manel1874 opened this issue Aug 28, 2024 · 0 comments
Open

[FEAT] Statistics for relations between two NadaArrays #64

manel1874 opened this issue Aug 28, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@manel1874
Copy link
Member

manel1874 commented Aug 28, 2024

Request new nada-numpy feature

Implement the following statistical functionalities for relations between two NadaArrays, modelled after the Python statistics module:

  • Correlation
  • Covariance
  • Linear regression

Description

The new features should be integrated into the nada-numpy library and should operate on two NadaArray objects. The functionalities should be defined as follows:

  • Correlation: Calculate and return Pearson's correlation coefficient between two NadaArray objects.
  • Covariance: Compute and return the sample covariance between two NadaArray objects.
  • Linear Regression: Perform a simple linear regression on the two NadaArray objects and return a tuple (slope, intercept) representing the best-fit line.

Each function should take two NadaArray objects as input and output the respective statistical measure.

Reference material

@manel1874 manel1874 added enhancement New feature or request help wanted Extra attention is needed labels Aug 28, 2024
@manel1874 manel1874 changed the title [FEAT] Statistics functions between two NadaArrays [FEAT] Statistics for relations between two NadaArrays Aug 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant