Regression and Prediction Models
This tool performs multiple linear regression to model the relationship between a dependent variable and one or more independent variables.
Explore these examples to understand how to use the calculator for different scenarios.
Predicting house prices (Y) based on square footage (X1) and number of bedrooms (X2).
Y: 300000, 450000, 500000, 620000
X:
1500, 2 2000, 3 2200, 3 2800, 4
Predict for: 2500, 3
Analyzing product sales (Y) based on advertising spend (X1) and website traffic (X2).
Y: 250, 320, 400, 500, 550
X:
1000, 5000 1500, 6000 2000, 7500 2500, 9000 3000, 10000
Predict for: 2200, 8000
Estimating crop yield (Y, in tons per acre) based on rainfall (X1, in inches) and fertilizer used (X2, in kg per acre).
Y: 3.5, 4.2, 4.0, 5.1, 4.8
X:
20, 100 25, 120 22, 110 30, 150 28, 140
Predict for: 26, 130
Predicting a student's final exam score (Y) based on hours studied (X1) and attendance rate (X2, as a percentage).
Y: 65, 72, 78, 85, 92
X:
5, 80 8, 85 10, 90 12, 95 15, 98
Predict for: 11, 92