{"action":"created","comment":{"url":"https://api.github.com/repos/plotly/plotly.github.io/pulls/comments/33873022","id":33873022,"diff_hunk":"@@ -103,7 +105,7 @@ For the denominator of the test statistic we take the squared difference between\n \n Thus the denominator is equal to 22.02 on $$\\sum\\limits_{g=1}^G(n_g-1) = 9*3 = 27$$ degrees of freedom.\n \n-F = 2407/22.02 = 109.3. This number is very large because the numerator was very big compared with the denominator. The last step is to determine if this difference is large enough to provide evidence against the null hypothesis. To do that, we compare the F statistic to a statistical distribution known as the F distribution. The F distribution also requires that you provide the corresponding degrees of freedom for the numerator and denominator. Remember that these were equal to 2 and 27, respectively. We can ask Plotly what is the chance of observing an F statistic larger than or equal to 109.3 in the situation where there is no difference between the campaigns in the average amount donated. This probability (known as the p-value) is very tiny for this example - smaller that 0.01% - meaning that it is extremely unlikely you’d observe an F statistic this small if there was truly no difference between the campaigns. Here, we would conclude that there is strong evidence against the null hypothesis of no difference between the campaigns. \n+F = 2407/22.02 = 109.3. This number is very large because the numerator was very big compared with the denominator. The last step is to determine if this difference is large enough to provide evidence against the null hypothesis. To do that, we compare the F-statistic to a statistical distribution known as the F distribution. The F distribution also requires that you provide the corresponding degrees of freedom for the numerator and denominator. Remember that these were equal to 2 and 27, respectively. We can ask Plotly what is the chance of observing an F-statistic larger than or equal to 109.3 in the situation where there is no difference between the campaigns in the average amount donated. This probability (known as the p-value) is very tiny for this example - smaller that 0.01% - meaning that it is extremely unlikely you’d observe an F-statistic this small if there was truly no difference between the campaigns. Here, we would conclude that there is strong evidence against the null hypothesis of no difference between the campaigns. ","path":"_posts/2015-06-25-anova-test.md","position":63,"original_position":63,"commit_id":"068f7895d5ffe0c3102bb33c882e7344f91c03d7","original_commit_id":"068f7895d5ffe0c3102bb33c882e7344f91c03d7","user":{"login":"mkcor","id":2227806,"avatar_url":"https://avatars.githubusercontent.com/u/2227806?v=3","gravatar_id":"","url":"https://api.github.com/users/mkcor","html_url":"https://github.com/mkcor","followers_url":"https://api.github.com/users/mkcor/followers","following_url":"https://api.github.com/users/mkcor/following{/other_user}","gists_url":"https://api.github.com/users/mkcor/gists{/gist_id}","starred_url":"https://api.github.com/users/mkcor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkcor/subscriptions","organizations_url":"https://api.github.com/users/mkcor/orgs","repos_url":"https://api.github.com/users/mkcor/repos","events_url":"https://api.github.com/users/mkcor/events{/privacy}","received_events_url":"https://api.github.com/users/mkcor/received_events","type":"User","site_admin":false},"body":"Maths: $\\text{F} = 2407/22.02 = 109.3$","created_at":"2015-07-03T16:20:42Z","updated_at":"2015-07-03T16:20:42Z","html_url":"https://github.com/plotly/plotly.github.io/pull/47#discussion_r33873022","pull_request_url":"https://api.github.com/repos/plotly/plotly.github.io/pulls/47","_links":{"self":{"href":"https://api.github.com/repos/plotly/plotly.github.io/pulls/comments/33873022"},"html":{"href":"https://github.com/plotly/plotly.github.io/pull/47#discussion_r33873022"},"pull_request":{"href":"https://api.github.com/repos/plotly/plotly.github.io/pulls/47"}}},"pull_request":{"url":"https://api.github.com/repos/plotly/plotly.github.io/pulls/47","id":38733241,"html_url":"https://github.com/plotly/plotly.github.io/pull/47","diff_url":"https://github.com/plotly/plotly.github.io/pull/47.diff","patch_url":"https://github.com/plotly/plotly.github.io/pull/47.patch","issue_url":"https://api.github.com/repos/plotly/plotly.github.io/issues/47","number":47,"state":"open","locked":false,"title":"Update 2015-06-25-anova-test.md","user":{"login":"corinne-riddell","id":12090129,"avatar_url":"https://avatars.githubusercontent.com/u/12090129?v=3","gravatar_id":"","url":"https://api.github.com/users/corinne-riddell","html_url":"https://github.com/corinne-riddell","followers_url":"https://api.github.com/users/corinne-riddell/followers","following_url":"https://api.github.com/users/corinne-riddell/following{/other_user}","gists_url":"https://api.github.com/users/corinne-riddell/gists{/gist_id}","starred_url":"https://api.github.com/users/corinne-riddell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corinne-riddell/subscriptions","organizations_url":"https://api.github.com/users/corinne-riddell/orgs","repos_url":"https://api.github.com/users/corinne-riddell/repos","events_url":"https://api.github.com/users/corinne-riddell/events{/privacy}","received_events_url":"https://api.github.com/users/corinne-riddell/received_events","type":"User","site_admin":false},"body":"@mkcor ANOVA page updated. I updated the formatting of the plot that I embedded in the file but it doesn't seem to reflect the updates.. any ideas? ","created_at":"2015-06-28T22:39:24Z","updated_at":"2015-07-03T16:20:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"99cc36f24cee7a71e0ed1e9c9547157d5455623a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/plotly/plotly.github.io/pulls/47/commits","review_comments_url":"https://api.github.com/repos/plotly/plotly.github.io/pulls/47/comments","review_comment_url":"https://api.github.com/repos/plotly/plotly.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/plotly/plotly.github.io/issues/47/comments","statuses_url":"https://api.github.com/repos/plotly/plotly.github.io/statuses/068f7895d5ffe0c3102bb33c882e7344f91c03d7","head":{"label":"plotly:corinne-anova-update","ref":"corinne-anova-update","sha":"068f7895d5ffe0c3102bb33c882e7344f91c03d7","user":{"login":"plotly","id":5997976,"avatar_url":"https://avatars.githubusercontent.com/u/5997976?v=3","gravatar_id":"","url":"https://api.github.com/users/plotly","html_url":"https://github.com/plotly","followers_url":"https://api.github.com/users/plotly/followers","following_url":"https://api.github.com/users/plotly/following{/other_user}","gists_url":"https://api.github.com/users/plotly/gists{/gist_id}","starred_url":"https://api.github.com/users/plotly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plotly/subscriptions","organizations_url":"https://api.github.com/users/plotly/orgs","repos_url":"https://api.github.com/users/plotly/repos","events_url":"https://api.github.com/users/plotly/events{/privacy}","received_events_url":"https://api.github.com/users/plotly/received_events","type":"Organization","site_admin":false},"repo":{"id":33088691,"name":"plotly.github.io","full_name":"plotly/plotly.github.io","owner":{"login":"plotly","id":5997976,"avatar_url":"https://avatars.githubusercontent.com/u/5997976?v=3","gravatar_id":"","url":"https://api.github.com/users/plotly","html_url":"https://github.com/plotly","followers_url":"https://api.github.com/users/plotly/followers","following_url":"https://api.github.com/users/plotly/following{/other_user}","gists_url":"https://api.github.com/users/plotly/gists{/gist_id}","starred_url":"https://api.github.com/users/plotly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plotly/subscriptions","organizations_url":"https://api.github.com/users/plotly/orgs","repos_url":"https://api.github.com/users/plotly/repos","events_url":"https://api.github.com/users/plotly/events{/privacy}","received_events_url":"https://api.github.com/users/plotly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/plotly/plotly.github.io","description":"Plotly's Help Center","fork":false,"url":"https://api.github.com/repos/plotly/plotly.github.io","forks_url":"https://api.github.com/repos/plotly/plotly.github.io/forks","keys_url":"https://api.github.com/repos/plotly/plotly.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plotly/plotly.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plotly/plotly.github.io/teams","hooks_url":"https://api.github.com/repos/plotly/plotly.github.io/hooks","issue_events_url":"https://api.github.com/repos/plotly/plotly.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/plotly/plotly.github.io/events","assignees_url":"https://api.github.com/repos/plotly/plotly.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/plotly/plotly.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/plotly/plotly.github.io/tags","blobs_url":"https://api.github.com/repos/plotly/plotly.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plotly/plotly.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plotly/plotly.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/plotly/plotly.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plotly/plotly.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/plotly/plotly.github.io/languages","stargazers_url":"https://api.github.com/repos/plotly/plotly.github.io/stargazers","contributors_url":"https://api.github.com/repos/plotly/plotly.github.io/contributors","subscribers_url":"https://api.github.com/repos/plotly/plotly.github.io/subscribers","subscription_url":"https://api.github.com/repos/plotly/plotly.github.io/subscription","commits_url":"https://api.github.com/repos/plotly/plotly.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/plotly/plotly.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/plotly/plotly.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/plotly/plotly.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/plotly/plotly.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/plotly/plotly.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plotly/plotly.github.io/merges","archive_url":"https://api.github.com/repos/plotly/plotly.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plotly/plotly.github.io/downloads","issues_url":"https://api.github.com/repos/plotly/plotly.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/plotly/plotly.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/plotly/plotly.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/plotly/plotly.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plotly/plotly.github.io/labels{/name}","releases_url":"https://api.github.com/repos/plotly/plotly.github.io/releases{/id}","created_at":"2015-03-29T20:45:26Z","updated_at":"2015-05-28T21:32:56Z","pushed_at":"2015-07-02T18:20:34Z","git_url":"git://github.com/plotly/plotly.github.io.git","ssh_url":"git@github.com:plotly/plotly.github.io.git","clone_url":"https://github.com/plotly/plotly.github.io.git","svn_url":"https://github.com/plotly/plotly.github.io","homepage":"","size":26728,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":13,"forks":1,"open_issues":13,"watchers":2,"default_branch":"master"}},"base":{"label":"plotly:corinne-anova-tutorial","ref":"corinne-anova-tutorial","sha":"6dbf0205a3bfbbf43a867e2742afa9e04b44ac02","user":{"login":"plotly","id":5997976,"avatar_url":"https://avatars.githubusercontent.com/u/5997976?v=3","gravatar_id":"","url":"https://api.github.com/users/plotly","html_url":"https://github.com/plotly","followers_url":"https://api.github.com/users/plotly/followers","following_url":"https://api.github.com/users/plotly/following{/other_user}","gists_url":"https://api.github.com/users/plotly/gists{/gist_id}","starred_url":"https://api.github.com/users/plotly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plotly/subscriptions","organizations_url":"https://api.github.com/users/plotly/orgs","repos_url":"https://api.github.com/users/plotly/repos","events_url":"https://api.github.com/users/plotly/events{/privacy}","received_events_url":"https://api.github.com/users/plotly/received_events","type":"Organization","site_admin":false},"repo":{"id":33088691,"name":"plotly.github.io","full_name":"plotly/plotly.github.io","owner":{"login":"plotly","id":5997976,"avatar_url":"https://avatars.githubusercontent.com/u/5997976?v=3","gravatar_id":"","url":"https://api.github.com/users/plotly","html_url":"https://github.com/plotly","followers_url":"https://api.github.com/users/plotly/followers","following_url":"https://api.github.com/users/plotly/following{/other_user}","gists_url":"https://api.github.com/users/plotly/gists{/gist_id}","starred_url":"https://api.github.com/users/plotly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plotly/subscriptions","organizations_url":"https://api.github.com/users/plotly/orgs","repos_url":"https://api.github.com/users/plotly/repos","events_url":"https://api.github.com/users/plotly/events{/privacy}","received_events_url":"https://api.github.com/users/plotly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/plotly/plotly.github.io","description":"Plotly's Help Center","fork":false,"url":"https://api.github.com/repos/plotly/plotly.github.io","forks_url":"https://api.github.com/repos/plotly/plotly.github.io/forks","keys_url":"https://api.github.com/repos/plotly/plotly.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/plotly/plotly.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/plotly/plotly.github.io/teams","hooks_url":"https://api.github.com/repos/plotly/plotly.github.io/hooks","issue_events_url":"https://api.github.com/repos/plotly/plotly.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/plotly/plotly.github.io/events","assignees_url":"https://api.github.com/repos/plotly/plotly.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/plotly/plotly.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/plotly/plotly.github.io/tags","blobs_url":"https://api.github.com/repos/plotly/plotly.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/plotly/plotly.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/plotly/plotly.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/plotly/plotly.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/plotly/plotly.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/plotly/plotly.github.io/languages","stargazers_url":"https://api.github.com/repos/plotly/plotly.github.io/stargazers","contributors_url":"https://api.github.com/repos/plotly/plotly.github.io/contributors","subscribers_url":"https://api.github.com/repos/plotly/plotly.github.io/subscribers","subscription_url":"https://api.github.com/repos/plotly/plotly.github.io/subscription","commits_url":"https://api.github.com/repos/plotly/plotly.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/plotly/plotly.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/plotly/plotly.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/plotly/plotly.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/plotly/plotly.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/plotly/plotly.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/plotly/plotly.github.io/merges","archive_url":"https://api.github.com/repos/plotly/plotly.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/plotly/plotly.github.io/downloads","issues_url":"https://api.github.com/repos/plotly/plotly.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/plotly/plotly.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/plotly/plotly.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/plotly/plotly.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/plotly/plotly.github.io/labels{/name}","releases_url":"https://api.github.com/repos/plotly/plotly.github.io/releases{/id}","created_at":"2015-03-29T20:45:26Z","updated_at":"2015-05-28T21:32:56Z","pushed_at":"2015-07-02T18:20:34Z","git_url":"git://github.com/plotly/plotly.github.io.git","ssh_url":"git@github.com:plotly/plotly.github.io.git","clone_url":"https://github.com/plotly/plotly.github.io.git","svn_url":"https://github.com/plotly/plotly.github.io","homepage":"","size":26728,"stargazers_count":2,"watchers_count":2,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":13,"forks":1,"open_issues":13,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/plotly/plotly.github.io/pulls/47"},"html":{"href":"https://github.com/plotly/plotly.github.io/pull/47"},"issue":{"href":"https://api.github.com/repos/plotly/plotly.github.io/issues/47"},"comments":{"href":"https://api.github.com/repos/plotly/plotly.github.io/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/plotly/plotly.github.io/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/plotly/plotly.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/plotly/plotly.github.io/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/plotly/plotly.github.io/statuses/068f7895d5ffe0c3102bb33c882e7344f91c03d7"}}}}