{"action":"created","comment":{"url":"https://api.github.com/repos/cosname/cosx.org/pulls/comments/107326672","pull_request_review_id":28290288,"id":107326672,"diff_hunk":"@@ -25,29 +25,29 @@ R·A·Fisher（1890-1962）作为一代假设检验理论的创立者，在假\n   2. 选择一个检验统计量(例如z 统计量或Z 统计量) ，该统计量的分布在假定的参数取值为真时应该是完全已知的。\n   3. 从研究总体中抽取一个随机样本4计算检验统计量的值5计算概率P值或者说观测的显著水平，即在假设为真时的前提下，检验统计量大于或等于实际观测值的概率。\n \n-  * 如果P<0.01，说明是较强的判定结果，拒绝假定的参数取值。\n+  * 如果P值<0.01，说明是较强的判定结果，拒绝假定的参数取值。\n   * 如果0.01<P值<0.05，说明较弱的判定结果，拒接假定的参数取值。\n   * 如果P值>0.05，说明结果更倾向于接受假定的参数取值。\n \n-可是，那个年代，由于硬件的问题，计算P值并非易事，人们就采用了统计量检验方法，也就是我们最初学的t值和t临界值比较的方法。统计检验法是在检验之前确定显著性水平$\\alpha$，也就是说事先确定了拒绝域。但是，如果选中相同的$\\alpha$，所有检验结论的可靠性都一样，无法给出观测数据与原假设之间之间不一致程度的精确度量。只要统计量落在拒绝域，假设的结果都是一样，即结果显著。但实际上，统计量落在拒绝域不同的地方，实际上的显著性有较大的差异。\n+可是，那个年代，由于硬件的问题，计算P值并非易事，人们就采用了统计量检验方法，也就是我们最初学的t值和t临界值比较的方法。统计检验法是在检验之前确定显著性水平`\\(\\alpha\\)`，也就是说事先确定了拒绝域。但是，如果选中相同的`\\(\\alpha\\)`，所有检验结论的可靠性都一样，无法给出观测数据与原假设之间之间不一致程度的精确度量。只要统计量落在拒绝域，假设的结果都是一样，即结果显著。但实际上，统计量落在拒绝域不同的地方，实际上的显著性有较大的差异。\n \n 因此，随着计算机的发展，P值的计算不再是个难题，使得P值变成最常用的统计指标之一。\n \n # 二、P值的计算\n \n-为理解P值的计算过程，用$Z$表示检验的统计量，$Z_C$表示根据样本数据计算得到的检验统计量值。\n+为理解P值的计算过程，用`\\(Z\\)`表示检验的统计量，`\\(Z_C\\)`表示根据样本数据计算得到的检验统计量值。\n \n-**左侧检验 $H\\_0: \\mu \\geq \\mu\\_0$ vs $H\\_1: \\mu < \\mu\\_0$** \n+**左侧检验 `\\(H\\_0: \\mu \\geq \\mu\\_0\\)` vs `\\(H\\_1: \\mu < \\mu\\_0\\)`**","path":"content/post/2008-12-07-p-value.md","position":31,"original_position":31,"commit_id":"3acbc3f65c433cf9e779814485b153868b2a28bb","original_commit_id":"3acbc3f65c433cf9e779814485b153868b2a28bb","user":{"login":"yihui","id":163582,"avatar_url":"https://avatars1.githubusercontent.com/u/163582?v=3","gravatar_id":"","url":"https://api.github.com/users/yihui","html_url":"https://github.com/yihui","followers_url":"https://api.github.com/users/yihui/followers","following_url":"https://api.github.com/users/yihui/following{/other_user}","gists_url":"https://api.github.com/users/yihui/gists{/gist_id}","starred_url":"https://api.github.com/users/yihui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yihui/subscriptions","organizations_url":"https://api.github.com/users/yihui/orgs","repos_url":"https://api.github.com/users/yihui/repos","events_url":"https://api.github.com/users/yihui/events{/privacy}","received_events_url":"https://api.github.com/users/yihui/received_events","type":"User","site_admin":false},"body":"文中的下划线都是真实的下标，不需要反斜杠引导。","created_at":"2017-03-22T03:31:15Z","updated_at":"2017-03-22T03:31:19Z","html_url":"https://github.com/cosname/cosx.org/pull/86#discussion_r107326672","pull_request_url":"https://api.github.com/repos/cosname/cosx.org/pulls/86","_links":{"self":{"href":"https://api.github.com/repos/cosname/cosx.org/pulls/comments/107326672"},"html":{"href":"https://github.com/cosname/cosx.org/pull/86#discussion_r107326672"},"pull_request":{"href":"https://api.github.com/repos/cosname/cosx.org/pulls/86"}}},"pull_request":{"url":"https://api.github.com/repos/cosname/cosx.org/pulls/86","id":111909258,"html_url":"https://github.com/cosname/cosx.org/pull/86","diff_url":"https://github.com/cosname/cosx.org/pull/86.diff","patch_url":"https://github.com/cosname/cosx.org/pull/86.patch","issue_url":"https://api.github.com/repos/cosname/cosx.org/issues/86","number":86,"state":"open","locked":false,"title":"p-value","user":{"login":"Lchiffon","id":7221728,"avatar_url":"https://avatars2.githubusercontent.com/u/7221728?v=3","gravatar_id":"","url":"https://api.github.com/users/Lchiffon","html_url":"https://github.com/Lchiffon","followers_url":"https://api.github.com/users/Lchiffon/followers","following_url":"https://api.github.com/users/Lchiffon/following{/other_user}","gists_url":"https://api.github.com/users/Lchiffon/gists{/gist_id}","starred_url":"https://api.github.com/users/Lchiffon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lchiffon/subscriptions","organizations_url":"https://api.github.com/users/Lchiffon/orgs","repos_url":"https://api.github.com/users/Lchiffon/repos","events_url":"https://api.github.com/users/Lchiffon/events{/privacy}","received_events_url":"https://api.github.com/users/Lchiffon/received_events","type":"User","site_admin":false},"body":"\r\n","created_at":"2017-03-22T00:28:45Z","updated_at":"2017-03-22T03:31:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"42e6013448c966bf7cd098945fb1f4f06b0a0a17","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cosname/cosx.org/pulls/86/commits","review_comments_url":"https://api.github.com/repos/cosname/cosx.org/pulls/86/comments","review_comment_url":"https://api.github.com/repos/cosname/cosx.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cosname/cosx.org/issues/86/comments","statuses_url":"https://api.github.com/repos/cosname/cosx.org/statuses/3acbc3f65c433cf9e779814485b153868b2a28bb","head":{"label":"Lchiffon:Lchiffon-patch-24","ref":"Lchiffon-patch-24","sha":"3acbc3f65c433cf9e779814485b153868b2a28bb","user":{"login":"Lchiffon","id":7221728,"avatar_url":"https://avatars2.githubusercontent.com/u/7221728?v=3","gravatar_id":"","url":"https://api.github.com/users/Lchiffon","html_url":"https://github.com/Lchiffon","followers_url":"https://api.github.com/users/Lchiffon/followers","following_url":"https://api.github.com/users/Lchiffon/following{/other_user}","gists_url":"https://api.github.com/users/Lchiffon/gists{/gist_id}","starred_url":"https://api.github.com/users/Lchiffon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lchiffon/subscriptions","organizations_url":"https://api.github.com/users/Lchiffon/orgs","repos_url":"https://api.github.com/users/Lchiffon/repos","events_url":"https://api.github.com/users/Lchiffon/events{/privacy}","received_events_url":"https://api.github.com/users/Lchiffon/received_events","type":"User","site_admin":false},"repo":{"id":85449666,"name":"cosx.org","full_name":"Lchiffon/cosx.org","owner":{"login":"Lchiffon","id":7221728,"avatar_url":"https://avatars2.githubusercontent.com/u/7221728?v=3","gravatar_id":"","url":"https://api.github.com/users/Lchiffon","html_url":"https://github.com/Lchiffon","followers_url":"https://api.github.com/users/Lchiffon/followers","following_url":"https://api.github.com/users/Lchiffon/following{/other_user}","gists_url":"https://api.github.com/users/Lchiffon/gists{/gist_id}","starred_url":"https://api.github.com/users/Lchiffon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lchiffon/subscriptions","organizations_url":"https://api.github.com/users/Lchiffon/orgs","repos_url":"https://api.github.com/users/Lchiffon/repos","events_url":"https://api.github.com/users/Lchiffon/events{/privacy}","received_events_url":"https://api.github.com/users/Lchiffon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Lchiffon/cosx.org","description":"统计之都主站（测试！）","fork":true,"url":"https://api.github.com/repos/Lchiffon/cosx.org","forks_url":"https://api.github.com/repos/Lchiffon/cosx.org/forks","keys_url":"https://api.github.com/repos/Lchiffon/cosx.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Lchiffon/cosx.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Lchiffon/cosx.org/teams","hooks_url":"https://api.github.com/repos/Lchiffon/cosx.org/hooks","issue_events_url":"https://api.github.com/repos/Lchiffon/cosx.org/issues/events{/number}","events_url":"https://api.github.com/repos/Lchiffon/cosx.org/events","assignees_url":"https://api.github.com/repos/Lchiffon/cosx.org/assignees{/user}","branches_url":"https://api.github.com/repos/Lchiffon/cosx.org/branches{/branch}","tags_url":"https://api.github.com/repos/Lchiffon/cosx.org/tags","blobs_url":"https://api.github.com/repos/Lchiffon/cosx.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Lchiffon/cosx.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Lchiffon/cosx.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/Lchiffon/cosx.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Lchiffon/cosx.org/statuses/{sha}","languages_url":"https://api.github.com/repos/Lchiffon/cosx.org/languages","stargazers_url":"https://api.github.com/repos/Lchiffon/cosx.org/stargazers","contributors_url":"https://api.github.com/repos/Lchiffon/cosx.org/contributors","subscribers_url":"https://api.github.com/repos/Lchiffon/cosx.org/subscribers","subscription_url":"https://api.github.com/repos/Lchiffon/cosx.org/subscription","commits_url":"https://api.github.com/repos/Lchiffon/cosx.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/Lchiffon/cosx.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/Lchiffon/cosx.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/Lchiffon/cosx.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/Lchiffon/cosx.org/contents/{+path}","compare_url":"https://api.github.com/repos/Lchiffon/cosx.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Lchiffon/cosx.org/merges","archive_url":"https://api.github.com/repos/Lchiffon/cosx.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Lchiffon/cosx.org/downloads","issues_url":"https://api.github.com/repos/Lchiffon/cosx.org/issues{/number}","pulls_url":"https://api.github.com/repos/Lchiffon/cosx.org/pulls{/number}","milestones_url":"https://api.github.com/repos/Lchiffon/cosx.org/milestones{/number}","notifications_url":"https://api.github.com/repos/Lchiffon/cosx.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Lchiffon/cosx.org/labels{/name}","releases_url":"https://api.github.com/repos/Lchiffon/cosx.org/releases{/id}","deployments_url":"https://api.github.com/repos/Lchiffon/cosx.org/deployments","created_at":"2017-03-19T04:02:15Z","updated_at":"2017-03-19T04:02:18Z","pushed_at":"2017-03-22T03:25:46Z","git_url":"git://github.com/Lchiffon/cosx.org.git","ssh_url":"git@github.com:Lchiffon/cosx.org.git","clone_url":"https://github.com/Lchiffon/cosx.org.git","svn_url":"https://github.com/Lchiffon/cosx.org","homepage":null,"size":3110,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cosname:master","ref":"master","sha":"f7d196cc6f297e37d329b944e785fef1a820a5cf","user":{"login":"cosname","id":529133,"avatar_url":"https://avatars3.githubusercontent.com/u/529133?v=3","gravatar_id":"","url":"https://api.github.com/users/cosname","html_url":"https://github.com/cosname","followers_url":"https://api.github.com/users/cosname/followers","following_url":"https://api.github.com/users/cosname/following{/other_user}","gists_url":"https://api.github.com/users/cosname/gists{/gist_id}","starred_url":"https://api.github.com/users/cosname/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosname/subscriptions","organizations_url":"https://api.github.com/users/cosname/orgs","repos_url":"https://api.github.com/users/cosname/repos","events_url":"https://api.github.com/users/cosname/events{/privacy}","received_events_url":"https://api.github.com/users/cosname/received_events","type":"Organization","site_admin":false},"repo":{"id":85083667,"name":"cosx.org","full_name":"cosname/cosx.org","owner":{"login":"cosname","id":529133,"avatar_url":"https://avatars3.githubusercontent.com/u/529133?v=3","gravatar_id":"","url":"https://api.github.com/users/cosname","html_url":"https://github.com/cosname","followers_url":"https://api.github.com/users/cosname/followers","following_url":"https://api.github.com/users/cosname/following{/other_user}","gists_url":"https://api.github.com/users/cosname/gists{/gist_id}","starred_url":"https://api.github.com/users/cosname/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cosname/subscriptions","organizations_url":"https://api.github.com/users/cosname/orgs","repos_url":"https://api.github.com/users/cosname/repos","events_url":"https://api.github.com/users/cosname/events{/privacy}","received_events_url":"https://api.github.com/users/cosname/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cosname/cosx.org","description":"统计之都主站（测试！）","fork":false,"url":"https://api.github.com/repos/cosname/cosx.org","forks_url":"https://api.github.com/repos/cosname/cosx.org/forks","keys_url":"https://api.github.com/repos/cosname/cosx.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cosname/cosx.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cosname/cosx.org/teams","hooks_url":"https://api.github.com/repos/cosname/cosx.org/hooks","issue_events_url":"https://api.github.com/repos/cosname/cosx.org/issues/events{/number}","events_url":"https://api.github.com/repos/cosname/cosx.org/events","assignees_url":"https://api.github.com/repos/cosname/cosx.org/assignees{/user}","branches_url":"https://api.github.com/repos/cosname/cosx.org/branches{/branch}","tags_url":"https://api.github.com/repos/cosname/cosx.org/tags","blobs_url":"https://api.github.com/repos/cosname/cosx.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cosname/cosx.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cosname/cosx.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/cosname/cosx.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cosname/cosx.org/statuses/{sha}","languages_url":"https://api.github.com/repos/cosname/cosx.org/languages","stargazers_url":"https://api.github.com/repos/cosname/cosx.org/stargazers","contributors_url":"https://api.github.com/repos/cosname/cosx.org/contributors","subscribers_url":"https://api.github.com/repos/cosname/cosx.org/subscribers","subscription_url":"https://api.github.com/repos/cosname/cosx.org/subscription","commits_url":"https://api.github.com/repos/cosname/cosx.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/cosname/cosx.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/cosname/cosx.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/cosname/cosx.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/cosname/cosx.org/contents/{+path}","compare_url":"https://api.github.com/repos/cosname/cosx.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cosname/cosx.org/merges","archive_url":"https://api.github.com/repos/cosname/cosx.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cosname/cosx.org/downloads","issues_url":"https://api.github.com/repos/cosname/cosx.org/issues{/number}","pulls_url":"https://api.github.com/repos/cosname/cosx.org/pulls{/number}","milestones_url":"https://api.github.com/repos/cosname/cosx.org/milestones{/number}","notifications_url":"https://api.github.com/repos/cosname/cosx.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cosname/cosx.org/labels{/name}","releases_url":"https://api.github.com/repos/cosname/cosx.org/releases{/id}","deployments_url":"https://api.github.com/repos/cosname/cosx.org/deployments","created_at":"2017-03-15T14:41:00Z","updated_at":"2017-03-21T15:03:11Z","pushed_at":"2017-03-22T03:29:59Z","git_url":"git://github.com/cosname/cosx.org.git","ssh_url":"git@github.com:cosname/cosx.org.git","clone_url":"https://github.com/cosname/cosx.org.git","svn_url":"https://github.com/cosname/cosx.org","homepage":null,"size":3123,"stargazers_count":9,"watchers_count":9,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":33,"forks":19,"open_issues":33,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cosname/cosx.org/pulls/86"},"html":{"href":"https://github.com/cosname/cosx.org/pull/86"},"issue":{"href":"https://api.github.com/repos/cosname/cosx.org/issues/86"},"comments":{"href":"https://api.github.com/repos/cosname/cosx.org/issues/86/comments"},"review_comments":{"href":"https://api.github.com/repos/cosname/cosx.org/pulls/86/comments"},"review_comment":{"href":"https://api.github.com/repos/cosname/cosx.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cosname/cosx.org/pulls/86/commits"},"statuses":{"href":"https://api.github.com/repos/cosname/cosx.org/statuses/3acbc3f65c433cf9e779814485b153868b2a28bb"}}}}
{"actor":{"display_login":"yihui"}}