An open API service indexing awesome lists of open source software.

https://github.com/Zaibten/Correlation-Coefficient-Web-Application-In-Node-Js

This is a web-based application that calculates the correlation coefficient and performs linear regression analysis. The app also predicts y for a given x based on the regression equation.
https://github.com/Zaibten/Correlation-Coefficient-Web-Application-In-Node-Js

expressjs livedata nodejs probability statistical-analysis vercel vercel-deployment web-application

Last synced: 4 months ago
JSON representation

This is a web-based application that calculates the correlation coefficient and performs linear regression analysis. The app also predicts y for a given x based on the regression equation.

Awesome Lists containing this project

README

          

# 📊 Correlation and Regression Calculator
This is a web-based application that calculates the correlation coefficient and performs linear regression analysis. The app also predicts `y` for a given `x` based on the regression equation.

## 🧑‍💻 Technologies Used
- **Node.js**: JavaScript runtime environment
- **Express.js**: Web framework for Node.js
- **Chart.js**: For graph rendering
- **Math.js**: To perform mathematical operations like sum and square
- **Particles.js**: For creating a dynamic background

## ⚙️ Features
- Calculate **correlation coefficient** between two sets of data
- Generate a **regression line** based on the input values
- **Predict y** for a specific x using the regression equation
- Dynamic **graph rendering** using **Chart.js**
- Cool **background animation** with **Particles.js**

## 📝 Setup Instructions

To run this project locally, follow these steps:

1. Clone the repository:
```bash
git clone https://github.com/Muzamilofficial/correlation-regression-calculator.git
```
2. Navigate to the project directory:
```bash
cd correlation-regression-calculator
```
3. Install the required dependencies:
```bash
npm install
```
4. Start the server:
```bash
npm start
```
5. Open the app in your browser:
- Visit `http://localhost:3000`

# 🖼️ Screenshots Of The Application

### 🎨 Web Interface

#### The main interface where you input `x` and `y` values:
![image](https://github.com/user-attachments/assets/1d1d1f0c-489a-49e1-90e6-23438665bf3a)

#### The resulting graph showing the correlation and regression line:
![image](https://github.com/user-attachments/assets/7a166fb2-8ab3-4f09-a020-d0d206c2180e)

#### The correlation and regression results displayed after calculation:
![image](https://github.com/user-attachments/assets/5069ebb4-68c5-42c2-a0c3-c6747d950f35)

---

### Feel free to customize the repository with your desired features and improvements! 🚀