📈 Run a Linear Regression

About this tool: This regression analyzer helps you find linear relationships in your data. Enter your independent variable (X) and dependent variable (y) as JSON arrays, and get detailed statistics including R-squared, coefficients, and the regression equation. Perfect for energy analysis, trend identification, and predictive modeling.

Enter your X and y data as JSON arrays:

Results:

(results will appear here)

📊 Example Data Set

Try this sample dataset to test the regression tool:

Example 1: Data From Excel Example (CMVP)

X (Heating Degree Days):

[511.25,495.9,372.95,315.2,276.55,268.7,173.3,137.75,235.1,320.8,410.6,461.9]

y (Monthly kWh %):

[1853.03,1929.02,1677.2,1559.8,1438.4,1448.5,1209.6,1108.1,1422.6,1480.5,1660.1,1741.2]
📊 View Analysis & Chart →

💡 Tip: Copy and paste these arrays into the input fields above to see how the regression analysis works!

💬 Chat with Wilson  â€¢  🤖 Compare AI Models