Bivariate OLS Data Generator
Generates coordinate pairs (x_i, y_i) with controlled linear signal y = β_0 + β_1 x + ε and homoscedastic noise.
Investigate bivariate linear regression, derive Ordinary Least Squares (OLS) normal equations, evaluate residual variance and standard errors, prove the Gauss-Markov Best Linear Unbiased Estimator (BLUE) property, and confirm slope parameter extraction. Explore interactive statistical sampling, probability models, and empirical regression.
Ready to sample with Regressor x = 1.0.
Adjust Regressor x, then execute statistical trial.
Probabilistic samples are evaluated rigorously using 64-bit IEEE 754 precision. Residuals reflect ordinary least-squares regression across successive observations. Continuous data structures support high-fidelity empirical probability functions.
OLS regression measures linear association; non-linear relationships can yield misleading near-zero slopes. The empirical regression of fitted responses against regressor coordinates confirms OLS parameter extraction with slope m = 0.5000 and R² = 1.000000.
Generates coordinate pairs (x_i, y_i) with controlled linear signal y = β_0 + β_1 x + ε and homoscedastic noise.
Solves the closed-form OLS normal equations β̂_1 = S_xy / S_xx and β̂_0 = ȳ - β̂_1 x̄.
Partitions total sum of squares SST into regression sum of squares SSR and residual sum of squares SSE.
Synthesizes alternative linear unbiased estimators to empirically demonstrate that OLS achieves minimum variance.
Computes Pearson R² = SSR / SST and evaluates root mean square error (RMSE).
Performs linear regression on fitted model coordinates to confirm the theoretical slope m = 0.500.
Investigate bivariate linear regression, derive Ordinary Least Squares (OLS) normal equations, evaluate residual variance and standard errors, prove the Gauss-Markov Best Linear Unbiased Estimator (BLUE) property, and confirm slope parameter extraction. Standardized parameter settings: 1.0, 2.0, 3.0, 4.0, 5.0, 6.0 units.
Set true slope β_1 = 0.500 and residual variance σ^2 = 0.25 on the OLS simulation control interface.
Draw 10,000 coordinate pairs (x_i, y_i) spanning regressor values x ∈ [0, 10]. Calculate sample means x̄ and ȳ.
Compute cross-sums S_xx = ∑ (x_i - x̄)^2 and S_xy = ∑ (x_i - x̄)(y_i - ȳ). Evaluate OLS slope β̂_1 = S_xy / S_xx.
Generate a competing linear unbiased estimator β̃ = ∑ c_i y_i with c_i ≠ (x_i - x̄)/S_xx. Verify that Var(β̂_OLS) < Var(β̃).
Increment the regressor coordinate across standardized settings x ∈ {1.0, 2.0, 3.0, 4.0, 5.0, 6.0}, recording the fitted response ŷ.
Fit a linear regression line y = mx to coordinate pairs (x, ŷ). Confirm that empirical slope m = 0.5000 validates OLS parameter estimation.
Points are your recorded observations. The solid regression line validates Simple Linear Regression (OLS) mathematical scaling.
| # | Independent Regressor Coordinate x (units) | Fitted Response Variable ŷ (Response ŷ) | Regressor Coordinate x | Fitted Response Variable ŷ | Remove |
|---|
No readings yet. Execute a statistical trial and record it.