资源描述:
《Applied Statistical Genetics with R-6Classifcation and Regression Trees》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、6ClassicationandRegressionTreesClassicationandregressiontrees(CARTs)areanapproachtodiscoveringrelationshipsamongalargenumberofindependent(predictor)variablesandacategoricalorcontinuoustrait.Classicationtreesareappliedtocategoricaloutcomes,whileregressiontreesapplytocontinuou
2、straits.Bothinvolvetheapplicationofarecursivealgorithmthataimstopartitionindividualsintogroupsinawaythatminimizesthewithin-groupheterogeneity.CARTwasoriginallydescribedbyBreimanetal.(1993)andhasgainedpopularityinrecentyearsasamethodforidentifyingstructureinhigh-dimensionaldatas
3、ettings.Inthefollowingsections,webeginbydescribingmethodsforcon-structingatree.Thisinvolvesdeningameasureofheterogeneity,orwhatiscommonlyreferredtoasnodeimpurity,aswellasdetermininghowpredictorvariablesareinputintothemodel.Bothofthesecomponentswillimpacttheresultingtreeandneed
4、tobeconsideredanddenedcarefullytore
ectthescienticquestionsathand.Wethendescribemethodsforreningthistreetoarriveatanalreproduciblemodel.FurtherdiscussionsofCARTmethodscanbefoundinBreimanetal.(1993)andZhangandSinger(1999).InChap-ter7,wedescribeextensionsoftheCARTmodel,includ
5、ingrandomforestsandlogicregressiontreesthatoersomeadditionaladvantages.6.1Buildingatree6.1.1RecursivepartitioningSupposeourdataconsistofatraity=(y1;:::;yn)andppotentialpredictorvariablesgivenbyx;:::;x,wherex=(x;:::;x)Tandi=1;:::;n1pj1jnjindicatesindividual.Ingeneral,interestli
6、esindiscoveringtherelationshipbetweenX=[x1;:::;xp]andy.Atreeisconstructedbyrstdeterminingthevariablexj,amongthesetofallpotentialpredictors,thatismostpredic-tiveofthetraity.Thephrasemostpredictive"isusedlooselyhereandisdenedexplicitlyinSection6.1.2below.Individualsinoursample
7、arethenA.S.Foulkes,AppliedStatisticalGeneticswithR:ForPopulation-basedAssociation157Studies,UseR,DOI:10.1007/978-0-387-89554-36,cSpringerScience+BusinessMediaLLC20091586ClassicationandRegressionTreesdividedintotwogroupsbasedontheircorrespondingvalueofxj.Suppose,forexample,that
8、xjisabinaryindicatorforthepresenceofthevariantalleleat