a visual introduction to pc sas. start sas by double-clicking on the sas icon
Post on 22-Dec-2015
235 views
TRANSCRIPT
![Page 1: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/1.jpg)
A Visual Introduction to PC SAS
![Page 2: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/2.jpg)
Start SAS by double-clicking on the SAS icon . . .
![Page 3: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/3.jpg)
. . . or by using the Start menu.
![Page 4: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/4.jpg)
Welcome to SAS!
![Page 5: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/5.jpg)
The 3 Main Windows
• There are 3 main windows in PC SAS:– The Editor Window: where programs are
written.– The Log Window: where the SAS log is
displayed.– The Output Window: where the SAS Output is
displayed.
![Page 6: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/6.jpg)
This is the Editor Window:
![Page 7: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/7.jpg)
The Editor Window
• The Editor Window is where you will compose SAS programs.
• It is like a simple word processor.
• Terms that SAS recognizes may appear in different colors to help you identify errors as you type.
![Page 8: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/8.jpg)
You can switch to the Log window by clicking on the Log window button . . .
![Page 9: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/9.jpg)
This is the Log Window.
![Page 10: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/10.jpg)
The Log Window
• Displays the SAS Log File
• The Log File is a record of what SAS does with your program.
• It can help you to determine whether SAS did what you wanted. If SAS didn’t do what you wanted, the Log File can help you to figure out why.
![Page 11: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/11.jpg)
You can switch to the Output window by clicking on the Output window button . . .
![Page 12: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/12.jpg)
This is the Output Window. It shows the results from running a program.
![Page 13: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/13.jpg)
You can open a SAS program by choosing “Open Program . . .” from the File Menu . . .
![Page 14: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/14.jpg)
. . . and choosing a SAS program file.
![Page 15: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/15.jpg)
The program opens in the Editor Window.
![Page 16: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/16.jpg)
Run the program by clicking on the little running figure (the Submit button).
![Page 17: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/17.jpg)
The Output Window displays the results.
![Page 18: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/18.jpg)
You can choose which results to display by using the Results Tab.
![Page 19: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/19.jpg)
You can check the SAS log in the Log Window.
![Page 20: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/20.jpg)
Saving Programs, Logs, and Output
• You can save programs, logs, and output using the “Save” or “Save as” commands under the File menu.
• Files are saved as text files with extensions “.sas” for program files, “.log” for log files, and “.lst” for output files.
![Page 21: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/21.jpg)
Copying & Pasting
• You can copy programs, log files, and output and paste them into word processor files.
• You can also copy text from a word processor or text editor and paste it into the editor window.
![Page 22: A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon](https://reader034.vdocuments.net/reader034/viewer/2022042615/56649d785503460f94a5b12d/html5/thumbnails/22.jpg)
Printing
• You can print programs, logs, and output using the “Print” command under the file menu.
• Make sure you check the margins using the “Page Setup” command under the file menu—default margins may be too narrow for your printer.