-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
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
NadaArrayobjects. - Covariance: Compute and return the sample covariance between two
NadaArrayobjects. - Linear Regression: Perform a simple linear regression on the two
NadaArrayobjects 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
- Python
statistics
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed