Interactive Demo
Simple Linear Regression Model
Simple Linear Regression Model is a free, interactive learning demo from the Econometric Theory and Empirical Analysis with Stata course on Lykke. It helps you build intuition for OLS Estimators, Zero Conditional Mean, Unbiasedness, SLR.1-SLR.4. Play with it directly in your browser — it features 2 buttons. Drag the line handles to minimize the red squares (SSR) Model Equation y = 0.00 + 0.00x Sum of Squared Residuals 0.00 OLS Optimal SSR 0.00 Snap to Optimal Line Regenerate Data This demo lives in the “Simple Linear Regression Model” section of the course.

How to use this demo
- Drag the line handles to minimize the red squares (SSR) Model Equation y = 0.00 + 0.00x Sum of Squared Residuals 0.00 OLS Optimal SSR 0.00 Snap to Optimal Line Regenerate Data
- Use the “Snap to Optimal Line”, “Regenerate Data” buttons to trigger actions or reset the demo.
- Experiment freely — there's nothing to break, and every change is reversible.
What you'll explore
- OLS Estimators
- Zero Conditional Mean
- Unbiasedness
- SLR.1-SLR.4
- Sampling Distribution
Frequently asked questions
What does the Simple Linear Regression Model demo do?
Covers the mechanics of the two-variable regression model, the OLS estimation method, and the assumptions required for unbiasedness. Simple Linear Regression Model turns that idea into something you can manipulate directly and watch respond.
What Econometric Theory and Empirical Analysis with Stata concept does Simple Linear Regression Model teach?
Covers the mechanics of the two-variable regression model, the OLS estimation method, and the assumptions required for unbiasedness. It focuses on OLS Estimators, Zero Conditional Mean, Unbiasedness, SLR.1-SLR.4, Sampling Distribution from the “Simple Linear Regression Model” section.
What can I control in Simple Linear Regression Model?
The “Snap to Optimal Line”, “Regenerate Data” buttons run actions or reset the demo. Every change updates the visualization in real time, so you can see exactly how each variable affects the outcome.
How does Simple Linear Regression Model fit into the Econometric Theory and Empirical Analysis with Stata course?
This course provides a comprehensive introduction to econometrics, focusing on the application of statistical methods to economic data to estimate causal relationships and test theories. Students learn the theoretical f… This demo is the interactive piece for the “Simple Linear Regression Model” section. Open the full Econometric Theory and Empirical Analysis with Stata course wiki at https://www.getlykke.com/explore/public/econometric-theory-and-empirical-analysis-with-055d2627-50a4-415f-9bda-e6175cdce1f8 for notes, flashcards, quizzes and the other demos.
What will I understand better after using Simple Linear Regression Model?
You'll build intuition for OLS Estimators, Zero Conditional Mean, Unbiasedness, SLR.1-SLR.4, Sampling Distribution — and, crucially, see how they behave when you change the inputs, which is hard to get from a textbook or lecture on Econometric Theory and Empirical Analysis with Stata alone.
From the Econometric Theory and Empirical Analysis with Stata course
This interactive demo is part of the Simple Linear Regression Model section. Explore the full Econometric Theory and Empirical Analysis with Stata course wiki on Lykke — with notes, flashcards, quizzes and more interactive demos.
Open the Econometric Theory and Empirical Analysis with Stata course →