{"action":"opened","issue":{"url":"https://api.github.com/repos/richarddmorey/BayesFactor/issues/53","labels_url":"https://api.github.com/repos/richarddmorey/BayesFactor/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/richarddmorey/BayesFactor/issues/53/comments","events_url":"https://api.github.com/repos/richarddmorey/BayesFactor/issues/53/events","html_url":"https://github.com/richarddmorey/BayesFactor/issues/53","id":58561354,"number":53,"title":"When t is very extreme, one sided Bayes factors don't add up","user":{"login":"richarddmorey","id":1284826,"avatar_url":"https://avatars.githubusercontent.com/u/1284826?v=3","gravatar_id":"","url":"https://api.github.com/users/richarddmorey","html_url":"https://github.com/richarddmorey","followers_url":"https://api.github.com/users/richarddmorey/followers","following_url":"https://api.github.com/users/richarddmorey/following{/other_user}","gists_url":"https://api.github.com/users/richarddmorey/gists{/gist_id}","starred_url":"https://api.github.com/users/richarddmorey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/richarddmorey/subscriptions","organizations_url":"https://api.github.com/users/richarddmorey/orgs","repos_url":"https://api.github.com/users/richarddmorey/repos","events_url":"https://api.github.com/users/richarddmorey/events{/privacy}","received_events_url":"https://api.github.com/users/richarddmorey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-23T09:23:08Z","updated_at":"2015-02-23T09:23:08Z","closed_at":null,"body":"    set.seed(1)\r\n    xx = rnorm(100) \r\n    bf10 = as.vector(ttestBF(xx))\r\n    bfp0 = as.vector(ttestBF(xx, nullInterval = c(0,Inf)))[1]\r\n    bfm0 = as.vector(ttestBF(xx, nullInterval = c(0,Inf)))[2]\r\n\r\n    bf10\r\n    > Alt., r=0.707 \r\n    > 0.2251773 \r\n    (bfp0 + bfm0)/2\r\n    > Alt., r=0.707 0<d<Inf \r\n    > 0.2251773\r\n\r\nWhen t is not extreme, the point null Bayes factor is equal to the average of the one-sided Bayes factors. However, when t is extreme:\r\n\r\n    xx = xx + .4\r\n    bf10 = as.vector(ttestBF(xx))\r\n    bfp0 = as.vector(ttestBF(xx, nullInterval = c(0,Inf)))[1]\r\n    bfm0 = as.vector(ttestBF(xx, nullInterval = c(0,Inf)))[2]\r\n\r\n    bf10\r\n    > Alt., r=0.707 \r\n    > 86630.19 \r\n    (bfp0 + bfm0)/2\r\n    > Alt., r=0.707 0<d<Inf \r\n    > 125485.8 \r\n\r\n...this is not the case. The integration and approximation must be breaking down for large t.\r\n"}}