欢迎来到天天文库
浏览记录
ID:7284053
大小:1.72 MB
页数:30页
时间:2018-02-10
《getting started using sas software》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、CHAPTER1GettingStartedUsingSASSoftware1.1TheSASLanguage21.2SASDataSets41.3TheTwoPartsofaSASProgram61.4TheDATAStep’sBuilt-inLoop81.5ChoosingaModeforSubmittingSASPrograms101.6WindowsandCommandsintheSASWindowingEnvironment121.7SubmittingaProgramintheSASWindowingEnvironment141.8ReadingtheSA
2、SLog161.9ViewingYourResultsintheOutputWindow181.10CreatingHTMLOutput201.11SASDataLibraries221.12ViewingDataSetsintheViewtableWindow241.13ViewingthePropertiesofDataSetswithSASExplorer261.14UsingSASSystemOptions282TheLittleSASBook1.1TheSASLanguageManysoftwareapplicationsareeithermenudrive
3、n,orcommanddriven(enteracommand⎯seetheresult).SASisneither.WithSAS,youusestatementstowriteaseriesofinstructionscalledaSASprogram.TheprogramcommunicateswhatyouwanttodoandiswrittenusingtheSASlanguage.Therearesomemenu-drivenfrontendstoSAS,forexampleSASEnterpriseGuidesoftware,whichmakeSASap
4、pearlikeapoint-and-clickprogram.However,thesefrontendsstillusetheSASlanguagetowriteprogramsforyou.YouwillhavemuchmoreflexibilityusingSASifyoulearntowriteyourownprogramsusingtheSASlanguage.Maybelearninganewlanguageisthelastthingyouwanttodo,butbeassuredthatalthoughthereareparallelsbetween
5、SASandlanguagesyouknow(betheyEnglishorJAVA),SASismucheasiertolearn.SASprogramsASASprogramisasequenceofstatementsexecutedinorder.AstatementgivesinformationorinstructionstoSASandmustbeappropriatelyplacedintheprogram.AneverydayanalogytoaSASprogramisatriptothebank.Youenteryourbank,standinli
6、ne,andwhenyoufinallyreachtheteller’swindow,yousaywhatyouwanttodo.Thestatementsyougivecanbewrittendownintheformofaprogram:Iwouldliketomakeawithdrawal.Myaccountnumberis0937.Iwouldlike$200.Givemefive20sandtwo50s.Notethatyoufirstsaywhatyouwanttodo,thengivealltheinformationthetellerneedstoca
7、rryoutyourrequest.Theorderofthesubsequentstatementsmaynotbeimportant,butyoumuststartwiththegeneralstatementofwhatyouwanttodo.Youwouldnot,forexample,gouptoabanktellerandsay,“Givemefive20sandtwo50s.”Thisisnotonlybadform,butwouldprobablymaketheteller’sheartskipabeatortwo.Youmustal
此文档下载收益归作者所有