MULTIPLE PREDICTORS

Multiple Linear Regression Calculator

Fit y = β₀ + β₁x₁ + … + βₚxₚ by ordinary least squares with an intercept, using a Householder QR solve on centered and scaled predictors. Review coefficients as conditional associations, inspect conditioning warnings, and export row-level predictions and residuals.

QR least squaresNo normal equationsBrowser-based

YOUR DATA

Enter observations and choose columns

Paste or upload numeric columns. Select one outcome (Y) and one or more predictor columns. Use a period as the decimal mark. Up to 5,000 rows, 128 columns and 32 predictors are accepted.

The file is read locally by your browser; it is not sent to this website.

Rows with missing or non-numeric values are reported, not silently dropped.
Predictor columns (X)

How to use this calculator

  1. Paste a table with numeric columns, or load the worked example.
  2. Select the outcome column (Y) and the predictor columns (X). The intercept is always included.
  3. Click Fit model to see coefficients, R², RMSE and residuals.
  4. Review any conditioning or scaling warnings before interpreting the coefficients.
  5. Download the full result summary as JSON for your own notes.

Formula and calculation method

The model is ŷ = β₀ + β₁x₁ + … + βₚxₚ. To avoid forming and inverting XᵀX, the calculator centres each predictor to its mean and scales it by its root-mean-square distance from the mean, builds the design matrix [1, z₁, …, zₚ], and solves the least-squares problem with a Householder QR transformation. Coefficients are then transformed back to the original predictor scale.

R² = 1 − SSE/SST and RMSE = √(SSE/n). The reported reciprocal condition ratio is an estimate of the scaled design matrix’s conditioning; a very small value suggests near-collinearity or predictors on extremely different scales.

Assumptions and limitations

Related calculators

Linear regression · Polynomial regression · Pearson correlation