{"action":"created","issue":{"url":"https://api.github.com/repos/0todd0000/spm1dmatlab/issues/7","labels_url":"https://api.github.com/repos/0todd0000/spm1dmatlab/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/0todd0000/spm1dmatlab/issues/7/comments","events_url":"https://api.github.com/repos/0todd0000/spm1dmatlab/issues/7/events","html_url":"https://github.com/0todd0000/spm1dmatlab/issues/7","id":116223787,"number":7,"title":"ANOVA debugging (one-way repeated measures).","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-10T23:11:15Z","updated_at":"2015-11-11T23:09:08Z","closed_at":null,"body":"(This opens the end of issue #1 as a new issue).\r\n\r\nLotte wrote:\r\n\r\n__________________________________________________\r\n\r\nHy Todd, Thanks for all your work. I have a question though:\r\nI try to do the spm.inference (0.05) while using the following script:\r\n\r\nY = Datamis.KnieG; (27x101)\r\nA = Convmis; (27x1)\r\nSUBJ = PPvmis; (27x1)\r\n\r\nF = spm1d.stats.anova1rm( Y, A, SUBJ);\r\nFi = F.inference(0.05)\r\nFi.plot()\r\n\r\nHowever I get the following error when trying tor run F.inference(0.05):\r\n\r\nIn an assignment A(:) = B, the number of elements in A and B must be the same.\r\n\r\nError in spm1d.stats.spm.SPM/get_p_values (line 108)\r\np(i) = self.get_p_value(kk(i), uu(i), two_tailed);\r\n\r\nError in spm1d.stats.spm.SPM/inference (line 72)\r\np = self.get_p_values(extentsR, heights, two_tailed);\r\n\r\nI tried some thing already but nothing works ou. Could u please help me?\r\n\r\nBest regards\r\nLotte\r\n\r\n__________________________________________________\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/0todd0000/spm1dmatlab/issues/comments/155938376","html_url":"https://github.com/0todd0000/spm1dmatlab/issues/7#issuecomment-155938376","issue_url":"https://api.github.com/repos/0todd0000/spm1dmatlab/issues/7","id":155938376,"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":"2015-11-11T23:09:08Z","updated_at":"2015-11-11T23:09:08Z","body":"Hi Lotte,\r\n\r\nIf the example script produces an error then there must be a problem with installation.\r\n\r\nWhat version of MATLAB are you using?\r\nIf it is older than R2014b please try updating to R2015b.\r\n\r\nDo you have any other versions of spm1d installed?\r\nIf so please delete all of them except the most recent version.\r\n\r\nNext, please try running some of the other example scripts, especially the t test, regression and one-way ANOVA:\r\n* ./examples/stats1d/ex1d_regression.m\r\n* ./examples/stats1d/ex1d_ttest_onesample.m\r\n* ./examples/stats1d/ex1d_ttest_paired.m\r\n* ./examples/stats1d/ex1d_ttest.m\r\n* ./examples/stats1d/ex1d_ttest2.m\r\n* ./examples/stats1d/ex1d_anova1.m\r\n\r\nDoes the error occur for any of these files?\r\n\r\nRegards,\r\nTodd\r\n"}}