Back to PLS Help

Extracting brain scores
Iriye
Posted on 06/27/17 11:41:16
Number of posts: 13
Iriye posts:

Hi there,

I'm wondering how to extract the brain score value associated with each condition in my LV from the results.mat file. I understand that brain scores are stored in the result.usc file, but I'm not sure how these values map onto the brain scores obtained from 'Taks PLS Brain Scores With CI' plot. Any help would be much appreciated.

Best wishes,

Heather

Replies:

Untitled Post
rmcintosh
Posted on 06/27/17 13:49:05
Number of posts: 394
rmcintosh replies:

Hi Heather

The brainscores are stored as subjects witthin condition within group.  The plots are condition/group averages of these scores with bootstrap estimated confidence intervals.  These may be mean-centred depending on the analysis you did, but the relative pattern of the mean will be preserved.



Untitled Post
Iriye
Posted on 06/28/17 05:51:02
Number of posts: 13
Iriye replies:

quote:

Hi Heather

The brainscores are stored as subjects witthin condition within group.  The plots are condition/group averages of these scores with bootstrap estimated confidence intervals.  These may be mean-centred depending on the analysis you did, but the relative pattern of the mean will be preserved.

Hi Randy,

Thanks for the speedy reply. After having a look at the average brain scores in the results.usc file I'm not actually finding the same pattern seen on the plots. Specifically the fourth condition is assigned a negative brain score whose confidence interval does not cross the x-axis on the plots but a positive average according to the individual brain scores, while the sixth condition is assigned a positive brain score whose confidence interval does not cross the x-axis on the plots but a negative average according to the individual brain scores. We did indeed use the mean-centred approach, but subtracting the mean from the individual brain scores still results in a pattern inconsistent with the plots. Do you have any more insights into what my be going on?

Best,

Heather



Untitled Post
rmcintosh
Posted on 06/28/17 10:55:12
Number of posts: 394
rmcintosh replies:

quote:

Hi Randy,

Thanks for the speedy reply. After having a look at the average brain scores in the results.usc file I'm not actually finding the same pattern seen on the plots. Specifically the fourth condition is assigned a negative brain score whose confidence interval does not cross the x-axis on the plots but a positive average according to the individual brain scores, while the sixth condition is assigned a positive brain score whose confidence interval does not cross the x-axis on the plots but a negative average according to the individual brain scores. We did indeed use the mean-centred approach, but subtracting the mean from the individual brain scores still results in a pattern inconsistent with the plots. Do you have any more insights into what my be going on?

Best,

Heather

thanks heather - I will need to look at your results - can you send me the results file?  rmcintosh@research.baycrest.org



Untitled Post
rmcintosh
Posted on 06/29/17 10:59:11
Number of posts: 394
rmcintosh replies:

quote:

thanks heather - I will need to look at your results - can you send me the results file?  rmcintosh@research.baycrest.org

Hi Heather - I took a look at the results and the scores seem fine.  The means that are plotted are results.boot_result.orig_usc which is derived from results.boot_result.usc2.  The averages here show a simiar relative pattern as results.usc (the difference has to do the mean centering).

Does that make sense or am I missing something?

 

 



Untitled Post
Iriye
Posted on 06/29/17 11:26:55
Number of posts: 13
Iriye replies:

quote:

Hi Heather - I took a look at the results and the scores seem fine.  The means that are plotted are results.boot_result.orig_usc which is derived from results.boot_result.usc2.  The averages here show a simiar relative pattern as results.usc (the difference has to do the mean centering).

Does that make sense or am I missing something?

 

 

Hi Randy - definitely makes sense and thank you for taking a look. While the pattern of results is similar, the average of my fifth condition is still coming up as negative according to the results.boot.orig_usc but positive in the plots. This definitley influences how I interpret my results. Do you know what may be underlying this difference or which I should rely more heavily on? I'm also asking because I was hoping to re-create the plots generated by PLS myself using the exact LV data for a paper figure.

Best,

Heather 



Untitled Post
rmcintosh
Posted on 06/29/17 11:38:29
Number of posts: 394
rmcintosh replies:

quote:

Hi Randy - definitely makes sense and thank you for taking a look. While the pattern of results is similar, the average of my fifth condition is still coming up as negative according to the results.boot.orig_usc but positive in the plots. This definitley influences how I interpret my results. Do you know what may be underlying this difference or which I should rely more heavily on? I'm also asking because I was hoping to re-create the plots generated by PLS myself using the exact LV data for a paper figure.

Best,

Heather 

odd - if you calculate the means they all show the same relative pattern (see below)

>> rri_task_mean(result.usc(:,1),20)
 
ans =
 
  -34.6166
   15.2472
   -7.2394
   -7.7174
   31.4725
   40.6120
 
>> rri_task_mean(result.boot_result.usc2(:,1),20)
 
ans =
 
  -40.9097
    8.9541
  -13.5325
  -14.0104
   25.1795
   34.3190
 
>> result.boot_result.orig_usc(:,1)
 
ans =
 
  -40.9097
    8.9541
  -13.5325
  -14.0104
   25.1795
   34.3190


Untitled Post
Iriye
Posted on 07/04/17 11:17:00
Number of posts: 13
Iriye replies:

quote:

odd - if you calculate the means they all show the same relative pattern (see below)

>> rri_task_mean(result.usc(:,1),20)
 
ans =
 
  -34.6166
   15.2472
   -7.2394
   -7.7174
   31.4725
   40.6120
 
>> rri_task_mean(result.boot_result.usc2(:,1),20)
 
ans =
 
  -40.9097
    8.9541
  -13.5325
  -14.0104
   25.1795
   34.3190
 
>> result.boot_result.orig_usc(:,1)
 
ans =
 
  -40.9097
    8.9541
  -13.5325
  -14.0104
   25.1795
   34.3190

Ah I see now! thank you for posting that. I didn't realize the means were stored only in the first column. Definitely have the info I need to create beautiful figures now. What are the other 5 columns for if you don't mind my asking? I assumed they corresponded to the different lags of my task. 

Best,

Heather



Untitled Post
rmcintosh
Posted on 07/04/17 11:20:42
Number of posts: 394
rmcintosh replies:

Each column is a latent variable (LV).  The last one will be degenerate since you mean-centred the data, hence the singular value is zero.



Untitled Post
Iriye
Posted on 07/04/17 11:35:25
Number of posts: 13
Iriye replies:

quote:

Each column is a latent variable (LV).  The last one will be degenerate since you mean-centred the data, hence the singular value is zero.

Beauty! Thank you again for all the help. Love using your software.

Best,

Heather



Untitled Post
rmcintosh
Posted on 07/04/17 11:52:24
Number of posts: 394
rmcintosh replies:

Thanks!  :)




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