GettingStartedwithSAS®EnterpriseMiner™7.1SAS®DocumentationThecorrectbibliographiccitationforthismanualisasfollows:SASInstituteInc2011.GettingStartedwithSAS®EnterpriseMiner™7.1.Cary,NC:SASInstituteInc.GettingStartedwithSAS®EnterpriseMiner™7.1Copyright©2011,SASInstituteInc.,Cary,NC,USAAllrightsreserved.ProducedintheUnitedStatesofAmerica.Forahardcopybook:Nopartofthispublicationmaybereproduced,storedinaretrievalsystem,ortransmitted,inanyformorbyanymeans,electronic,mechanical,photocopying,orotherwise,withoutthepriorwrittenpermissionofthepublisher,SASInstituteInc.ForaWebdownloadore-book:Youruseofthispublicationshallbegovernedbythetermsestablishedbythevendoratthetimeyouacquirethispublication.U.S.GovernmentRestrictedRightsNotice:Use,duplication,ordisclosureofthissoftwareandrelateddocumentationbytheU.S.governmentissubjecttotheAgreementwithSASInstituteandtherestrictionssetforthinFAR52.227–19CommercialComputerSoftware-RestrictedRights(June1987).SASInstituteInc.,SASCampusDrive,Cary,NorthCarolina27513.1stelectronicbook,December2011SAS®PublishingprovidesacompleteselectionofbooksandelectronicproductstohelpcustomersuseSASsoftwaretoitsfullestpotential.Formoreinformationaboutoure-books,e-learningproducts,CDs,andhard-copybooks,visittheSASPublishingWebsiteatsupport.sas.com/publishingorcall1-800-727-3228.SAS®andallotherSASInstituteInc.productorservicenamesareregisteredtrademarksortrademarksofSASInstituteInc.intheUSAandothercountries.®indicatesUSAregistration.Otherbrandandproductnamesareregisteredtrademarksortrademarksoftheirrespectivecompanies.ContentsAboutThisBook........................................................vChapter1•IntroductiontoSASEnterpriseMiner7.1..................................1WhatIsSASEnterpriseMiner?............................................1HowDoesSASEnterpriseMinerWork?.....................................2BenefitsofUsingSASEnterpriseMiner.....................................3AccessibilityFeaturesofSASEnterpriseMiner7.1............................3GettingtoKnowtheGraphicalUserInterface.................................4Chapter2•LearningbyExample:BuildingandRunningaProcessFlow.................7AbouttheScenarioinThisBook...........................................7PrerequisitesforThisExample.............................................8Chapter3•SetUptheProject.....................................................9AbouttheTasksThatYouWillPerform.....................................9CreateaNewProject....................................................9CreateaLibrary.......................................................10CreateaDataSource...................................................11CreateaDiagramandAddtheInputDataNode..............................13Chapter4•ExploretheDataandReplaceInputValues...............................15AbouttheTasksThatYouWillPerform....................................15GenerateDescriptiveStatistics............................................15PartitiontheData......................................................18ReplaceMissingValues.................................................19Chapter5•BuildDecisionTrees.................................................21AbouttheTasksThatYouWillPerform....................................21AutomaticallyTrainandPruneaDecisionTree..............................21InteractivelyTrainaDecisionTree........................................24CreateaGradientBoostingModeloftheData...............................27Chapter6•ImputeandTransform,BuildNeuralNetworks,andBuildaRegressionModel.29AbouttheTasksThatYouWillPerform....................................29ImputeMissingValues..................................................29TransformVariables....................................................31AnalyzewithaLogisticRegressionModel..................................33AnalyzewithaNeuralNetworkModel.....................................36Chapter7•CompareModelsandScoreNewData...................................41AbouttheTasksThatYouWillPerform....................................41CompareModels.......................................................41ScoreNewData.......................................................43CreateaSortedListofPotentialDonors....................................44Appendix1•SASEnterpriseMinerNodeReference.................................47AboutNodes..........................................................47UsageRulesforNodes..................................................54Appendix2•SampleDataReference..............................................55Glossary......................................................59Index.........................................................65ivContentsAboutThisBookAudienceThisbookisintendedprimarilyforuserswhoarenewtoSASEnterpriseMiner.Thedocumentationassumesfamiliaritywithgraphicaluserinterface(GUI)basedsoftwareapplicationsandbasic,butnotadvanced,knowledgeofdataminingandstatisticalmodelingprinciples.Althoughthisknowledgeisassumed,userswhodonothavethisknowledgewillstillbeabletocompletetheexamplethatisdes