{"action":"created","issue":{"url":"https://api.github.com/repos/tiyd-python-2015-08/assigments/issues/163","labels_url":"https://api.github.com/repos/tiyd-python-2015-08/assigments/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/tiyd-python-2015-08/assigments/issues/163/comments","events_url":"https://api.github.com/repos/tiyd-python-2015-08/assigments/issues/163/events","html_url":"https://github.com/tiyd-python-2015-08/assigments/issues/163","id":106619732,"number":163,"title":"10--Flipping Out--Kathleen Rauh","user":{"login":"nckathleen","id":13511468,"avatar_url":"https://avatars.githubusercontent.com/u/13511468?v=3","gravatar_id":"","url":"https://api.github.com/users/nckathleen","html_url":"https://github.com/nckathleen","followers_url":"https://api.github.com/users/nckathleen/followers","following_url":"https://api.github.com/users/nckathleen/following{/other_user}","gists_url":"https://api.github.com/users/nckathleen/gists{/gist_id}","starred_url":"https://api.github.com/users/nckathleen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nckathleen/subscriptions","organizations_url":"https://api.github.com/users/nckathleen/orgs","repos_url":"https://api.github.com/users/nckathleen/repos","events_url":"https://api.github.com/users/nckathleen/events{/privacy}","received_events_url":"https://api.github.com/users/nckathleen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-15T18:46:30Z","updated_at":"2015-09-16T12:59:51Z","closed_at":null,"body":"* [x] Blank slate\r\n  * [x] Create a GitHub repo called `flipping-out`\r\n  * [x] Put `README.md` and `requirements.txt` files in it\r\n  * [x] Make sure ipython[all] and any necessary plotting libraries are in `requirements.txt`\r\n  * [x] Make sure your flipping-out folder has its own virtual environment (`.envrc`), but **do not commit `.envrc` or `.direnv`**\r\n  * [x] Install the requirements using `pip install -r requirements.txt`\r\n* [ ] Normal mode\r\n  * [x] Create an IPython Notebook file called `coin-flips.ipynb`\r\n  * [x] Create a function to flip a coin\r\n  * [x] Create a function to simulate flipping a coin _n_ times, recording how many heads and tails it has seen at exponential intervals (2<sup>0</sup>, 2<sup>1</sup>, 2<sup>2</sup>..._n_)\r\n    * [x] Make a line plot of the **difference** between heads and tails at each point\r\n    * [x] Make a line plot of the **ratio** of heads to tails at each point\r\n    * [ ] Create the above two plots as scatter plots with a logarithmic scale for the x-axis\r\n    * [x] Write notes about your observations and add other plots as necessary\r\n  * [ ] Create a function that uses your above simulation function, but runs 20 trials where _n_ = 2<sup>16</sup>\r\n    * [ ] Create a scatter plot of the mean heads/tails ratio at each recorded point\r\n    * [ ] Create a scatter plot of the standard deviation of the heads/tails ratio at each recorded point\r\n    * [ ] Use a logarithmic scale for the x-axis with both of the above plots, and a logarithmic scale for the y-axis for the standard deviation plot\r\n  * [ ] Create a function to run 100,000 trials of 100 flips per trial\r\n    * [ ] Plot a histogram of the ratio of heads to total flips for each trial.\r\n    * [ ] Plot a box plot of the same results\r\n  * [ ] Create a function to run 100,000 trials of 1,000 flips per trial\r\n    * [ ] Plot a histogram of the ratio of heads to total flips for each trial.\r\n    * [ ] Plot a box plot of the same results\r\n    * [ ] Compare the 1,000 flips per trial results to the 100 flips per trial results\r\n* [ ] Hard Mode\r\n  * [ ] Use seaborn and clean up your Notebook file for presentation"},"comment":{"url":"https://api.github.com/repos/tiyd-python-2015-08/assigments/issues/comments/140734355","html_url":"https://github.com/tiyd-python-2015-08/assigments/issues/163#issuecomment-140734355","issue_url":"https://api.github.com/repos/tiyd-python-2015-08/assigments/issues/163","id":140734355,"user":{"login":"nckathleen","id":13511468,"avatar_url":"https://avatars.githubusercontent.com/u/13511468?v=3","gravatar_id":"","url":"https://api.github.com/users/nckathleen","html_url":"https://github.com/nckathleen","followers_url":"https://api.github.com/users/nckathleen/followers","following_url":"https://api.github.com/users/nckathleen/following{/other_user}","gists_url":"https://api.github.com/users/nckathleen/gists{/gist_id}","starred_url":"https://api.github.com/users/nckathleen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nckathleen/subscriptions","organizations_url":"https://api.github.com/users/nckathleen/orgs","repos_url":"https://api.github.com/users/nckathleen/repos","events_url":"https://api.github.com/users/nckathleen/events{/privacy}","received_events_url":"https://api.github.com/users/nckathleen/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T12:59:51Z","updated_at":"2015-09-16T12:59:51Z","body":"Further progress.\r\nhttps://github.com/nckathleen/Flipping-Out\r\n@jamesmallen @powder-river "}}