This project calculates the correlation coefficient between two sets of data using JavaScript. Easy to use Javascript function that calculates the Pearson correlation coefficient. Give your data arrays and get instant results.
-
Clone the repository:
git clone https://github.com/atakanAslan1/correlation-coefficient-calculation-with-javascript.git
-
Navigate to the project directory:
cd correlation-coefficient-calculation-with-javascript
-
Open the
index.js
file. -
Modify the
dataSet1
anddataSet2
arrays with your own data. -
Run the script:
node index.js
-
The correlation coefficient will be displayed in the console.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
Thanks!