Noi/NOTES/2012-6-14: Difference between revisions

From ZhangLabWiki
Jump to navigation Jump to search
>Noi
No edit summary
>Noi
No edit summary
Line 11: Line 11:
  '''Script'''
  '''Script'''
   
   
  [[File:plot_LD1_status_PC1-4_p.015_v2_training.png| 500px]] [[File:plot_LD1_status_PC1-4_p.015_v2_test.png| 500px]]
  [[File:plot_LD1_status_PC1-4_p.015_v2_training.png| 600px]] [[File:plot_LD1_status_PC1-4_p.015_v2_test.png| 600px]]

Revision as of 20:20, 14 June 2012

Regression analysis of UCLA SZ data (disease status)

  • From the comment on previous page
    • LDA: random choose samples for training and (have UCLA-SZ and UCSD-GA on training and testing data sets)
  • Training and testing data set (I used the same group of training and testing data as assigned for age analysis)
    • list 1-96 =>UCSD-SZ, 97-169 => UCSD-GA
    • trainAge <- c(1:40, 91:132)
    • testAge <- c(41:90, 133:169)
  • From the previous analysis, I used PC1-PC3 scores as input for LDA analysis. However when I plot scree plot of the variances contributed on each PC, the change in slope in the scree plot occurs at component 4. In this analysis, I'll put PC1-PC4 scores as input.
File:Screeplot status pval0.015.png
Script

File:Plot LD1 status PC1-4 p.015 v2 training.png File:Plot LD1 status PC1-4 p.015 v2 test.png