Archived Content
This website is an archive of the Spring 2019 semester of STAT 107: Data Science Discovery.
▶ Click here for the Fall 2019 webpage.
▶ Click here for the Fall 2019 webpage.
Step 0: Ensure you have python libraries
To ensure you have the libraries to run the z- and t-tests, make sure to run the following commands that will ensure you have the libraries installed:
conda install statsmodels
conda install scipy
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_hypothesis-tests -m "Merging initial files"
ONLY IF you get an error related to unrelated histories, use:
git merge release/lab_hypothesis-tests --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_hypothesis-tests
- Open up the
lab_hypothesis-tests.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. Once your work is saved, you can:
- Use
File
->Close and Halt
on the notebook - Use
Quit
(in the top-right) on the directory view to completely exit jupyter
Step 3: Submitting your work
When you’re ready to save your work online and/or submit your work, return to the command line and run:
git add -A
git commit -m "submission (or any message here)"
git push origin master