Back to setup choices

Lesson 9 of 9 | 15 minutes

Test Your Python Setup

Check the interpreter, core packages, a tiny regression, and a graph.

After this lesson, you can

  • Identify the active Python interpreter.
  • Confirm the course packages import.
  • Estimate and graph a first econometrics example.

1. Run all three checks

  1. 1Check Python and the operating system.
  2. 2Check the core package imports.
  3. 3Estimate the consumption regression.
  4. 4Create the scatter plot.
  5. 5If a check fails, open the troubleshooting center before changing your system.

Live Python

Interpreter check

Interpreter check

Stdout

Run Python to see results here.

Status / stderr

Ready to run Python in your browser.

Line-by-line guide

  1. Line 1Load a Python library needed for data work or regression.
  2. Line 2Load a Python library needed for data work or regression.
  3. Line 4Display a result so students can inspect the output.
  4. Line 5Display a result so students can inspect the output.
  5. Line 6Display a result so students can inspect the output.

Live Python

Core package check

Core package check

Stdout

Run Python to see results here.

Status / stderr

Ready to run Python in your browser.

Line-by-line guide

  1. Line 1Load a Python library needed for data work or regression.
  2. Line 2Load a Python library needed for data work or regression.
  3. Line 3Load a Python library needed for data work or regression.
  4. Line 4Load a Python library needed for data work or regression.
  5. Line 5Load a Python library needed for data work or regression.
  6. Line 7Display a result so students can inspect the output.
  7. Line 8Display a result so students can inspect the output.
  8. Line 9Display a result so students can inspect the output.
  9. Line 10Display a result so students can inspect the output.
  10. Line 11Display a result so students can inspect the output.

Live Python

A first econometrics model

A first econometrics model

Stdout

Run Python to see results here.

Status / stderr

Ready to run Python in your browser.

Line-by-line guide

  1. Line 1Load a Python library needed for data work or regression.
  2. Line 2Load a Python library needed for data work or regression.
  3. Line 4Create or update a Python object used in the analysis.
  4. Line 5Run this Python instruction as part of the lesson workflow.
  5. Line 6Run this Python instruction as part of the lesson workflow.
  6. Line 7Run this Python instruction as part of the lesson workflow.
  7. Line 9Create or update a Python object used in the analysis.
  8. Line 10Display a result so students can inspect the output.

Live Python

A first econometrics graph

A first econometrics graph

Stdout

Run Python to see results here.

Status / stderr

Ready to run Python in your browser.

Line-by-line guide

  1. Line 1Load a Python library needed for data work or regression.
  2. Line 2Load a Python library needed for data work or regression.
  3. Line 4Create or update a Python object used in the analysis.
  4. Line 5Run this Python instruction as part of the lesson workflow.
  5. Line 6Run this Python instruction as part of the lesson workflow.
  6. Line 7Run this Python instruction as part of the lesson workflow.
  7. Line 9Run this Python instruction as part of the lesson workflow.
  8. Line 10Run this Python instruction as part of the lesson workflow.
  9. Line 11Run this Python instruction as part of the lesson workflow.
  10. Line 12Run this Python instruction as part of the lesson workflow.
  11. Line 13Run this Python instruction as part of the lesson workflow.

Your setup progress

Five readiness checkpoints

0% complete