Back to PLS Help

Error Message-SeedPLS
mumali
Posted on 03/06/08 15:00:33
Number of posts: 9
mumali posts:

Jimmy, thank you so much for answering my questions.  I have a major meeting tomorrow, hence the flurry of activity.

I am still struggling with the seed analysis, so let me tell you what I have done and show you the error message I get:

Prior to doing the Behavior (seed) analysis, I did Mean-Centered (generated session files and ST Datamat).
Then I used Cluster Report to find coordinates of the voxels that were significant (n=3).  3 rows corresponding to the 3 voxel addresses, where each row was in X, Y, Z format.  Then I generated a text file of these coordinates in the proper format: one row = one coordinate set ([x,y,z]).  There were three rows corresponding to the 3 voxels indicated by the cluster report.

After that I generated Multivoxel Exraction where I then inputed the text file of the coordinates and generated th Prefix_ERfMRIVoxelData .

Seed (Behavior PLS analysis)
Next I did Run analysis-->loaded the appropriate session file-->Behavior--> Loaded the Prefix_fMRIvoxeldata.txt  file.  Of the 24 Behaviors, I removed columns with 0 across the rows (Behaviors 1, 9 and 17 were removed). Ran the analysis.  The progress bar pops up but gets stuck at  around 70%.

I keep getting the same error:

Merging datamats ...

Loading datamat: 1 out of 1

Warning: Divide by zero.
In rri_xcor at 48
  In rri_corr_maps at 15

  In fmri_perm_behav at 45

  In fmri_pls_analysis at 418

  In fmri_analysis_ui>ExecutePLS at 1787

  In fmri_analysis_ui at 90

  In uiwait at 54

  In fmri_analysis_ui at 9

Warning: Divide by zero.
In rri_xcor at 48
  In rri_corr_maps at 15

  In fmri_perm_behav at 45

  In fmri_pls_analysis at 418

  In fmri_analysis_ui>ExecutePLS at 1787

  In fmri_analysis_ui at 90

  In uiwait at 54

  In fmri_analysis_ui at 9

Warning: Divide by zero.
In rri_xcor at 48
  In rri_corr_maps at 15

  In fmri_perm_behav at 45

  In fmri_pls_analysis at 418

  In fmri_analysis_ui>ExecutePLS at 1787

  In fmri_analysis_ui at 90

  In uiwait at 54

  In fmri_analysis_ui at 9

??? Error using ==> svd

NaN or Inf prevents convergence.
 
Error in ==> fmri_perm_behav at 60

       [brainlv,s,behavlv] = svd(stacked_datamatcorrs',0);

Error in ==> fmri_pls_analysis at 418

           [brainlv,s,behavlv,brainscores,behavscores,lvcorrs, ...

Error in ==> fmri_analysis_ui>ExecutePLS at 1787

        fmri_pls_analysis(PLSoptions.profiles, 'BEHAV', ...

Error in ==> fmri_analysis_ui at 90

           ExecutePLS;

??? Error using ==> waitfor

Error while evaluating uicontrol Callback.

Replies:

Untitled Post

I'm Online
jshen
Posted on 03/06/08 15:48:19
Number of posts: 291
jshen replies:

From the error message, it seems that the value in your datamat is invalid.

When you use Multiple Voxel Extraction, you should use XYZmm instead of XYZ, as indicated under:
http://www.rotman-baycrest.on.ca/pls/UserGuide.htm#_Toc184198148

If you did use XYZmm, I cannot pinpoint the problem without take a look at all your data. Basically, I will need to have all files in your working directory, except the raw test data that I have.

Would you please upload your data onto your FTP server, and give me the link to access them? If you do not have any FTP server, you will have to send an email directly to our Network Administrator: tony@rotman-baycrest.on.ca, who will reply you with a temporarily password and the way to access our FTP server directly.

In any case, please let me know the link, so I can access those files.







Login to reply to this topic.

  • Keep in touch

Enter your email above to receive electronic messages from Baycrest, including invitations to programs and events, newsletters, updates and other communications.
You can unsubscribe at any time.
Please refer to our Privacy Policy or contact us for more details.

  • Follow us on social
  • Facebook
  • Instagram
  • Linkedin
  • Pinterest
  • Twitter
  • YouTube

Contact Us:

3560 Bathurst Street
Toronto, Ontario
Canada M6A 2E1
Phone: (416) 785-2500

Baycrest is an academic health sciences centre fully affiliated with the University of Toronto