pls partial least squares analysispls偏最小二乘法.docx

上传人:b****5 文档编号:7180800 上传时间:2023-01-21 格式:DOCX 页数:4 大小:18.77KB
下载 相关 举报
pls partial least squares analysispls偏最小二乘法.docx_第1页
第1页 / 共4页
pls partial least squares analysispls偏最小二乘法.docx_第2页
第2页 / 共4页
pls partial least squares analysispls偏最小二乘法.docx_第3页
第3页 / 共4页
pls partial least squares analysispls偏最小二乘法.docx_第4页
第4页 / 共4页
亲,该文档总共4页,全部预览完了,如果喜欢就下载吧!
下载资源
资源描述

pls partial least squares analysispls偏最小二乘法.docx

《pls partial least squares analysispls偏最小二乘法.docx》由会员分享,可在线阅读,更多相关《pls partial least squares analysispls偏最小二乘法.docx(4页珍藏版)》请在冰豆网上搜索。

pls partial least squares analysispls偏最小二乘法.docx

plspartialleastsquaresanalysispls偏最小二乘法

pls(partialleastsquaresanalysis):

pls(偏最小二乘法)

PLS(PARTIALLEASTSQUARESANALYSIS)IntroductionPartialLeastSquares(PLS)Analysiswasfirstdevelopedinthelate60sbyHermanWold,andworksontheassumptionthatthefocusofanalysisisonwhichaspectsofthesignalinonematrixarerelateddirectlytosignalsinanothermatrix.Ithasbeendevelopedextensivelyinchemometrics,andhasrecentlybeenappliedtoneuroimagingdata.Intheapplicationtoimagingdata,ithasbeenusedtoidentifytask-dependentchangesinactivity,changesintherelationsbetweenbrainandbehaviour,andtoexaminefunctionalconnectivityofoneormorebrainregions.PLShassimilaritiestoCanonicalCorrelationinitsgeneralconfiguration,butismuchmoreflexible.ThisGUIisthefirstmajorreleaseofPLSforneuroimaging.Ithasbeenindevelopmentforsometime,andalthoughthisversionappearsstable,therearealwaysthingsthatcanbeimproved.Wearealsoplanningseveralenhancements,suchasunivariatetestingofmeansandcorrelations,advancedplottingroutinesandhigher-orderanalyses.Pleasecheckourwebsiteregularlytoseeifthereareupdates.PLScomputesamatrixthatdefinestherelationbetweentwo(ormore)matricesandthenanalyzesthatcross-blockmatrix.InthecaseofTaskPLS,thecovariancebetweentheimagedatasetandasetofdesigncontrastscanbecalculated(anequivalentprocedureisdescribedbelow).ThecovarianceimagesareanalyzedwithSingularValueDecomposition(SVD)toidentifyanewsetofcovarianceimagesthatcorrespondtothestrongesteffectsinthedata.ForBehaviourPLS,task-specificcorrelationsofbrainactivityandbehaviourarecomputed(acrosssubjects),combinedintoasinglematrix,whichisthendecomposedwithSVD.Theresultantpatternsidentifysimilaritiesanddifferencesinbrain-behaviourrelations.CreatingDatamatRegardlessofwhichtypeofPLSistobeconducted,thedatamustbeinaformsuchthatalldataforallsubjectsandtasksthataretobeanalyzedarecontainedinasinglematrix.Forimagedataingeneral,itisassumedimageshavebeenstandardizedinsomemannersothattheyareallthesameshapeandsize.ForPETandMRIdata,PLSworksbestifyouusethesmallestsmoothingfilterpossible(e.g.,nomorethantwicethevoxelsize).ForERPdata,anyfiltering,orreplacingdatainbadchannels,etc.mustalsobedonebeforecreatingthePLSdatamatrix.TheSessionProfilepartofourprogramloadsbrainimagesorERPwaveforms,stringseachoneoutintoavectorandthenstacksthevectorsoneontopoftheothertomakethelargedatamatrix(calleddatamatinthePLSprograms).Eachimage(alsocalledsubjectdatafile)representsonesubjectunderonecondition.Forbrainimages,thescriptalsoeliminatesvoxelsthatarezeroornon-brainusingathreshold,whichisspecifictoeachtypeofimagedata.Removingthezeroandnon-brainvoxelsreducesthesizeofthedatamatconsiderablyandstreamlinesthecomputations.Unfortunately,thiscanrestrictthedatasetifimagesliceswerenotprescribedinthesamewayforallsubjects.Tomakelifeeasy,amaskiscreatedbasedonthevoxelsthatarecommonforallsubjects.Afterthedatamatisreduced,avector(‘coords’)isgeneratedtoremapthereduceddatamatintoimagespaceagain.PETImages:

ThecodeiswrittenassumingyouusedtheSPM99sterotaxictemplatewith4x4x4mmvoxels,whichcreatesimageshaving34sliceseachwith40voxelsintheXand48voxelsintheYdimensions.ForPETscans,thethresholdtodefinebrainvoxelsis1/4ofthemaximumvalueforaparticularsubject.ThefinaldatamatwillhaveSbyCrowsandVcolumns(whereSisthenumberofsubjectsandCisthenumberofscansorconditions,Visthenumberofcommonbrainvoxelsintheimagedataset).ERP:

ForERPdata,allchannelsofasubjectdatafilearestrungoutintoasinglevectorandthevectorsarethenstackedoneontopoftheother.ThedatamatwillhaveSbyCrowsandEbyTcolumns(whereSisthenumberofsubjects,Cisthenumberofconditions,Eisthenumberofchannels,andTisthenumberoftimepointsinthesubjectdatafile).If,aftercreatingthedatamat,itbecomesclearthataparticularsetofERPchannelsisbadformostofthesubjects,thosechannelscanbeeliminatedfromtheanalysisusingtheGUI.Aswell,singlesubjectdatacanalsobeeliminatedfromtheanalysisusingtheGUI.fMRI:

CreatingthedatamatforfMRIdatasetscombinesthetwoapproachesabove.Thisallowsyoutoruntheanalysiseitheroneachsubjectorasagroup.Commonvoxelsacrosssubjectsand/orrunsareidentified,thenasinglerowvectoriscreatedforeachsubject,separatelyforeachcondition.ThedatamatwillbeSbyCrowsandVbyTcolumns(whereSisthenumberofsubjects,Cisthenumberofconditions,Visthenumberofcommonvoxels,andTisthenumberofimagesdefinedbytheusertoaccountforthelaginthehemodynamicresponse).TaskPLS:

AnalysisusingGrandMeanDeviationTheTaskPLSisdesignedtoidentifywhole-brain(scalp)patternsofactivitythatdistinguishtasks.InTaskPLS,apatternmayrepresentacombinationofanticipatedeffectsandsomeunanticipatedones.TheGrandMeanDeviationanalysisisbasedonrepresentingtaskmeansasthedeviationaroundthegrandmeancomputedforeachvoxeland/ortimepoint.Thedataarethusaveragedwithinatask,leavingoutthewithin-taskvariability.(WeareexploringthepossibilityofaconstrainedPLSsolution,whereasetofaprioricontrastsareusedtodefinethesolutionspace).NexttheSVDalgorithmisusedtogetthefollowingthreecomponents:

brainlv(orsalience),singularvalue(s),anddesignlv(saliencefordesign).Thedesignscoresandbrainscores(orscalpscoresinERP)areobtainedfromtheformulabelow:

designscoresLV(n)=designlvbrainscoresLV(n)=datamat*brainlvThesaliencesfordesign(designlv)andbrain(brainlv)areorthonormal,orstandardized.Tomakecomparisonsacrosslatentvariableseasiertovisualize,wecomputeunstandardizedsaliences.Thisisaccomplishedbyweightingthesaliencesbytheirsingularvaluesforthelatentvariable.AlleigenimagesandERPsalienceplotsusetheunstandardizedsaliences.TaskPLSisrunbyclickingtheRunPLSAnalysisbutton.Allresultsaresavedintoaspecifiedfile.Theresultswillincludealldatamentionedabove,andotherusefulinformation.TheTaskPLSresultscanbedisplayedbyclickingtheShowPLSResultbuttoninthemainGUIwindow.ForPETandBlockedfMRI,thesaliences(eigenimages)andbootstrapratioimagesaredisplayedinamontagethatincludesalltheslicesfortheLV.ForEvent-RelatedfMRI,theresultsaredisplayedinamontageasfollows:

eachrowrepresentsonelagpoint,thusthenumberofrowsequalsthespecifiedtemporalwindow;eachcolumnrepresentstheslicesintheimage.ForERPs,theLVsaliencesaredisplayedasascalpplot,includingonlytheselectedelectrodesandepoch.Intheresultswindow,youwillalsofindoptionstodisplay:

scatterplotsofbrain(scalp)scoreswithdesignscores,designLVbarplots,andbarplotsofthesingularvaluesandpermutationtestresults.BehaviourPLS:

AnalysisusingBehaviourDataTheBehaviourPLSfirstcalculatesacorrelationvectorofbehaviourandbrainwithineachtask,thenstacksthesevectorsintoasinglematrixthatisdecomposedwithSVD.BehaviourPLShasthepotentialtoidentifycommonalitiesanddifferencesamongtasksinbrain-behaviourrelations.Thebehaviourmatrixcontainsoneormorebehaviouralmeasuresthatarethoughttorelatetothemeasuredbrainactivity.Thenumberofrowsinthebehaviourmatrixanddatamatshouldbethesame,withaseparatecolumnforeachbehaviouralmeasure.SincethismatrixiscreatedoutsideoftheGUI,itisimportantthattheorderofsubjectsandconditionsbeidenticaltotheorderdefinedusingtheGUItocreatethedatamat.AsfortheTaskPLS,theresultswindowinitiallycontainsplotsoftheunstandardizedsaliences.Withintheresultswindow,youcanalsodisplayscatterplotsofbrain(scalp)scoreswithbehaviour,barplotsshowingthemagnitudeofthebrain-behaviourcorrelationwithconfidenceintervals,andbarplotsofthesingularvaluesandpermutationtestresults.Inthebrain(scalp)scoresbybehaviourplots,thelinearfitisalsoplottedtobetterviewthescatteraroundthecorrelation.TestsofSignificancePERMUTATIONTEST:

Thesignificanceofthelatentvariable,asawhole,isassessedusingpermutationtests.Weassessthemagnitudeofthesingularvaluesbyaskingthequestion:

Withanyotherrandomsetofdata,howoftenisthevalueforsaslargeastheoneobtainedoriginally?

Togeneratethisanswer,subjectsarerandomlyreassigned(withoutreplacement)todifferentconditions,andthePLSisrecalculated.OrthogonalprocrustesrotationisappliedtotheresultingBehavLVorDesignLVtocorrectforreflectionsandrotationsoftheresampleddata,andthesingularvaluesarerecalculatedbasedonthisrotation(MilanandWhittaker1995).Iftheprobabilityofobtaininghighersingularvaluesislow,thelatentvariableisconsideredtobesignificant.Forbothtaskandbehaviour,500permutationsaregenerallysufficient,althoughprobabilityestimatesaretypicallystableatabout100permutations.BOOTSTRAP:

Bootstrapestimationisusedtoassessthereliabilityofthebrainsaliences.Inthiscase,subjectsareresampledwithreplacement.Anewdatamat,andforBehaviourPLS,anewbehaviourmatrixarecreated,andthePLSisrecalculated.Thus,unlikeforthepermutationtest,theassignmentofsubjectstoconditionsismaintained,butthesubjectscontributingtotask-relatedeffectsvary.Asforthepermut

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 农林牧渔 > 林学

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1