{"action":"created","issue":{"url":"https://api.github.com/repos/0todd0000/spm1dmatlab/issues/21","repository_url":"https://api.github.com/repos/0todd0000/spm1dmatlab","labels_url":"https://api.github.com/repos/0todd0000/spm1dmatlab/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/0todd0000/spm1dmatlab/issues/21/comments","events_url":"https://api.github.com/repos/0todd0000/spm1dmatlab/issues/21/events","html_url":"https://github.com/0todd0000/spm1dmatlab/issues/21","id":159351293,"number":21,"title":"1D paired t-test","user":{"login":"robertodimarco","id":19834152,"avatar_url":"https://avatars.githubusercontent.com/u/19834152?v=3","gravatar_id":"","url":"https://api.github.com/users/robertodimarco","html_url":"https://github.com/robertodimarco","followers_url":"https://api.github.com/users/robertodimarco/followers","following_url":"https://api.github.com/users/robertodimarco/following{/other_user}","gists_url":"https://api.github.com/users/robertodimarco/gists{/gist_id}","starred_url":"https://api.github.com/users/robertodimarco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertodimarco/subscriptions","organizations_url":"https://api.github.com/users/robertodimarco/orgs","repos_url":"https://api.github.com/users/robertodimarco/repos","events_url":"https://api.github.com/users/robertodimarco/events{/privacy}","received_events_url":"https://api.github.com/users/robertodimarco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-09T08:16:36Z","updated_at":"2016-06-13T20:12:16Z","closed_at":null,"body":"Hi everyone!\r\n\r\nI'm having some problems using the 1D paired t-test with SPM1D.\r\nIn particular, I am applying a paired t-test to a set of curves of  human joint kinematics recorded in two different walking conditions. I have used this method before, and with the same data, but now MATLAB is returning an error and I wondered whether some of you could help me understanding it.\r\n\r\nBriefly, my two inputs for the t-test are the matrices Y0 and Y1. Then:\r\nt=spm1d.stats.ttest_paired(Y0,Y1);\r\n\r\nAfterwards, I save the inference results for each joint (the hip for the following):\r\nHIPti(1)=t.inference(0.05, 'two_tailed', true);\r\n\r\nFor some joints, I obtain the error in the attached picture. I understand the problem are the NaN obtained from the t=spm1d.stats.ttest_paired(Y0,Y1) line of code, but I really do not understand why I have those NaN and how I can solve this issue.\r\n\r\nDoes anyone know how to solve this?\r\n\r\nThank you very much!\r\n\r\nRoberto\r\n![problem](https://cloud.githubusercontent.com/assets/19834152/15923031/2eee6d34-2e2b-11e6-8fc1-865c4c881f82.PNG)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/0todd0000/spm1dmatlab/issues/comments/225694106","html_url":"https://github.com/0todd0000/spm1dmatlab/issues/21#issuecomment-225694106","issue_url":"https://api.github.com/repos/0todd0000/spm1dmatlab/issues/21","id":225694106,"user":{"login":"0todd0000","id":4276626,"avatar_url":"https://avatars.githubusercontent.com/u/4276626?v=3","gravatar_id":"","url":"https://api.github.com/users/0todd0000","html_url":"https://github.com/0todd0000","followers_url":"https://api.github.com/users/0todd0000/followers","following_url":"https://api.github.com/users/0todd0000/following{/other_user}","gists_url":"https://api.github.com/users/0todd0000/gists{/gist_id}","starred_url":"https://api.github.com/users/0todd0000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0todd0000/subscriptions","organizations_url":"https://api.github.com/users/0todd0000/orgs","repos_url":"https://api.github.com/users/0todd0000/repos","events_url":"https://api.github.com/users/0todd0000/events{/privacy}","received_events_url":"https://api.github.com/users/0todd0000/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T20:12:16Z","updated_at":"2016-06-13T20:12:16Z","body":"Hi Roberto,\r\n\r\nThere do not appear to be any obvious problems in *Y0* and *Y1*, but the SPM results suggest that something remains odd in these data.  If possible, please attach the *Y0* and *Y1* data in MAT format.\r\n\r\nRegards,\r\n\r\nTodd"}}
{"actor":{"display_login":"0todd0000"}}