Skip to content

Latest commit

 

History

History
40 lines (26 loc) · 1.6 KB

README.md

File metadata and controls

40 lines (26 loc) · 1.6 KB

Pearson Correlation Coefficient App 📊

This simple desktop application allows users to input pairs of coordinates (x, y) and calculate the Pearson Correlation Coefficient to determine the degree of correlation between two datasets.

Features 🌟

  • Add individual data points (x, y) to the dataset.
  • Calculate the Pearson Correlation Coefficient along with other statistical measures.
  • Load data from a file (CSV format) for analysis.
  • Display results in a tabular output area.
  • Bonus: Visualize the data with a scatter plot. 📈

Getting Started 🚀

To run the application, make sure you have Python installed on your system.

  1. Clone or download the repository.
  2. Install the required packages by running pip install numpy matplotlib in your terminal.
  3. Run the application using python correlation_app.py.

Usage 🖱️

  1. Enter x and y coordinates in the input fields.
  2. Click the "Add" button to add the data point to the dataset.
  3. Repeat steps 1-2 for additional data points.
  4. Click the "Calculate" button to perform the correlation analysis.
  5. Optionally, click the "Load Data" button to load data from a file (CSV format).
  6. View the results in the tabular output area.
  7. Bonus: Visualize the data with a scatter plot.

Error Handling ⚠️

  • The application provides error messages for invalid input and missing data.
  • If an error occurs during the loading of data from a file, an error message will be displayed.

Contributing 🤝

Feel free to contribute to the development of this project. You can open issues, submit pull requests, or provide suggestions for improvements.