SASlecture - STA302/1001 IntroductiontoSASforRegression...

Info iconThis preview shows pages 1–8. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: STA302/1001 IntroductiontoSASforRegression (onCQUEST) A.L.Gibbs September2009 1 SomeBasicsofCQUEST TheoperatingsystemintheRWlabs(107/109and211)is WindowsXP.ThereareafewterminalsinRW213running Linux.SASisrunfromaLinuxserver.Youraccountisthe sameandfilesareaccessibleinalllabs/operatingsystems. Tologout: Windows:lookunder Start Linux:lookunder System Toopenawebbrowser: Windows: Firefox isanicononyourdesktop. Linux: Firefox isthemouseonaglobeicononthetoolbar. If backspace doesntworkinSAS,turnoff NumLock . Linux:Ifyouwantaterminalwindowyoucaneitherrightclick onthedesktoporclickon Applications andthen Accessories . 2 UsingSAS:BatchvsWindowsMode SASWindowsModePros: HaveaccesstoSAShelp. CanavoidlearningUnixcommands. Bettercontrolofgraphics. SASWindowsModeCons: SAShelpisntgreat. Havetopurchasesitelicense(orXwindowssoftware)orbein CQUESTlab. NotethatSASWindowsmodeisthesameforbothWindowsand LinuxoperatingsystemsonCQUEST. 3 StartingSASWindowsMode Windows:Under Start choose StatisticsApps andthen SAS . Linux:Under Applications choose CQUEST andthen SAS ortype sas atacommandpromptinaterminalwindow. YouwillhavetoenteryourCQUESTpassword.Manywindows willopenincluding: aprogrameditorwhereyoutypeyourSASprogram alogwindow anoutputwindow anexplorerfornavigatingthroughyourwindowsandoutput (canignore) agraphicswindowwillopenonceyouverunaprogramthat producesgraphicsplots 4 ToinsertalineafterthecurrentlineintheCQUESTSASprogram editor,typean i intheleftmostcolumnoverthefirstzeroandhit enter.FormoretricksyoucanuseintheSASprogrameditor, select Help ,then UsingthisWindow andclickon SASText EditorLineCommands . Torunaprogram:Maketheprogrameditorwindowyourprimary window(clickonit)andclickontherunningmanorselect Run and then Submit .Runningaprogramwritesoutputtoalogwindow, anoutputwindow(iftheprogramranwithouterrors)and sometimesagraphicswindow.Yourcodewillalsodisappear.To getitbackunder Run select Recalllastsubmit . 5 BatchMode UsefulwhenworkingathomebyusingsshtoaccessCQUESTat login.cquest.utoronto.ca .Needtoopenaterminalwindowto useinalab. BatchModePros: AccessiblebyusingsshtoaccessCQUEST. BatchModeCons: NoaccesstoSAShelpfiles. NeedtoknowsomeUnix. 6 RunningSASProgramsinBatchMode Storeyourprogramina(text)filecalled filename.sas andatacommandprompttype sasfilename . Thiscreates...
View Full Document

Page1 / 23

SASlecture - STA302/1001 IntroductiontoSASforRegression...

This preview shows document pages 1 - 8. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online