Linear Regression & Correlation

Paste x,y[,w] or upload a CSV to run OLS, WLS, or robust Theil–Sen. Inspect 95% confidence/prediction bands, residuals vs fitted values, t/F tests, CSV/LaTeX exports, and a transparent step log in one view.

Other languages: en | ja | zh-CN

Input & options

Summary

Run the calculation to see metrics and the step log.

MetricValue

How it’s calculated

    Visualisation

    Scatter plot, regression line, and 95% bands
    Residuals vs fitted values to spot patterns and leverage

    Teacher notes

    FAQ

    How is Weighted Least Squares implemented?

    We recompute weighted means and covariances using w, derive the fitted line, and propagate weights to residual sums and Cook’s distance so diagnostics reflect the weighting scheme.

    What does the shareable URL include?

    The URL stores decimal, delimiter, estimator, intercept, and band options. Data is not embedded, so share the dataset separately when collaborating.