Simpson's Paradox

Source Branch: lab_simpsons-paradox
Due Date: Committed and pushed to git before September 16, 2019 at 11:59pm

Step 1: Retrieve the lab using git

Using your command line, navigate to your stat107 repository (cd Desktop -> cd stat107 -> cd [NETID]) and fetch the notebook from our release repository by running the following two git commands:

git fetch release
git merge release/lab_simpsons-paradox -m "Merging initial files"

ONLY IF you get an error related to unrelated histories, use:

git merge release/lab_simpsons-paradox --allow-unrelated-histories -m "Merging initial files" 

Step 2: Open the notebook

Open the notebook with the command:

jupyter notebook

Inside of the notebook webpage:

  • Navigate into lab_simpsons-paradox
  • Open up the simpsons-paradox.ipynb notebook
  • Follow the instructions inside of the notebook

Whenever you are done, you should checkpoint (using File -> Save Checkpoint in the notebook) your notebook to save your work.


Submitting Your Work

When you have completed working, you should always submit your work (even if you're not quite finished). We will always grade the latest push you made before the due date (and ignore everything else) — submitting multiple times is okay and encouraged!

Inside of Jupyter:

  • Click File -> Save Checkpoint to ensure your notebook is saved.
  • Click File -> Close and Halt to exit your notebook.
  • Click Quit (in the top-right) to close the directory view.

After exiting Jupyter, your command prompt will return to accept new commands. Using your command prompt, run:

git add -A
git commit -m "submission (or any message here)"
git push origin master

You can verify your submission was made by visiting the web interface to github: