% \documentclass[serif]{beamer} % Serif for Computer Modern math font. \documentclass[serif, handout]{beamer} % Handout to ignore pause statements \hypersetup{colorlinks,linkcolor=,urlcolor=red} \usefonttheme{serif} % Looks like Computer Modern for non-math text -- nice! \setbeamertemplate{navigation symbols}{} % Suppress navigation symbols \usetheme{AnnArbor} % CambridgeUS % \usetheme{Frankfurt} % Displays section titles on top: Fairly thin but still swallows some material at bottom of crowded slides % \usetheme{Berlin} % Displays sections on top % \usetheme{Berkeley} \usepackage[english]{babel} \usepackage{amsmath} % for binom % \usepackage{graphicx} % To include pdf files! % \definecolor{links}{HTML}{2A1B81} % \definecolor{links}{red} \setbeamertemplate{footline}[frame number] \mode \title{Introduction to SAS\footnote{ This slide show is an open-source document. See last slide for copyright information.}} \subtitle{The last of the great mainframe stats packages} \date{} % To suppress date \begin{document} \begin{frame} \titlepage \end{frame} \begin{frame} \frametitle{It almost seemed like there was one for every major university} \pause %\framesubtitle{} \vspace{3mm} \begin{itemize} \item \textbf{DATATEXT}: Harvard \item \textbf{SPSS}: University of Chicago \item \textbf{BMDP}: University of California at Los Angeles \item \textbf{SAS}: University of North Carolina at Chapel Hill \item \textbf{OMNITAB}: Pennsylvania State University \item \textbf{S}: AT\&T Bell labs \end{itemize} \end{frame} \begin{frame} \frametitle{SAS \emph{versus} R} %\framesubtitle{} \begin{itemize} \item R is like a motorcycle. \item SAS is like a military Humvee. \pause \item Except it doesn't break down. \end{itemize} \end{frame} \begin{frame} \frametitle{SAS File Types} \framesubtitle{Not a complete list} \pause \begin{itemize} \item Raw data file \item Program file \item Log file \item Output file \pause \item[] \item Data set (Now seems to be called Data Table) \item Library \end{itemize} \end{frame} \begin{frame} \frametitle{We work with these files} % \framesubtitle{} \begin{itemize} \item \textbf{Raw Data File}: A file consisting of rows and columns of numbers; or maybe some of the columns have letters (character data) instead of numbers. The rows represent observations and the columns represent variables.\pause \item \textbf{Program File}: A file consisting of commands that the SAS software tries to follow. You create this file with a text editor. The program file contains a reference to the raw data file (in the infile statement), so SAS knows where to find the data. Program files have names like \texttt{reading1.sas}. \pause \item \textbf{Log File}: This file is produced by every SAS run, whether it is successful of unsuccessful. It contains a listing of the program file, as well any error messages or warnings. It will have a name like \texttt{reading1.log}.\pause \item \textbf{Output File}: The list file contains the output of the statistical procedures requested by the program file. Output files have names like \texttt{reading1.pdf}, \texttt{reading1.rtf}, or \texttt{reading1.htm}. \end{itemize} \end{frame} \begin{frame} \frametitle{SAS University Edition} %\framesubtitle{} \begin{itemize} \item This is new. \item It seems to be the full version. \item It's free of charge to anybody with a university email address. \end{itemize} \pause \vspace{5mm} \begin{center} \href{http://www.sas.com/en_us/software/university-edition.html} {\small\texttt{http://www.sas.com/en\_us/software/university-edition.html}} \end{center} \end{frame} \begin{frame} \frametitle{Features of SAS University Edition} %\framesubtitle{} \begin{itemize} \item SAS lives in a virtual linux machine. \pause \item You interact with it through a browser interface called SAS Studio. \pause \item With SAS running in the virtual machine, you point your browser to a localhost address. \pause \item This way, it is really platform independent. \pause \item You get your data into SAS via a shared folder, \pause shared between the virtual linux machine and your physical machine. \end{itemize} \end{frame} \begin{frame} \frametitle{More comments} %\framesubtitle{} \begin{itemize} \item It’s a big download -- around 1.8 GB. \pause \item Actually it’s two downloads. \pause \item First, download the virtualization software, free from Oracle or VMWare. \pause \item The SAS download site has good instructions. Follow them \emph{carefully}, because details matter. \pause \item Once you connect to localhost, see the FAQ. \item The FAQ is actually a well-organized manual. \end{itemize} \end{frame} \begin{frame} \frametitle{Possible problems} %\framesubtitle{} \begin{itemize} \item Slow or flaky internet connection. If it does not work the first time, try again. \pause \item The virtual machine requires 1GB of RAM. \pause \item Trouble with older operating systems? \pause \item Not available in the computer labs. \pause \item[] \item You can use SAS on \texttt{utstat} instead if you wish. \end{itemize} \end{frame} \begin{frame} \frametitle{Important Rule} %\framesubtitle{} \begin{itemize} \item You may not use a classmate's SAS to do your work for this course. \item It's too easy to see each other’s program code. \item You must have your own installation. % \item[] % \item If two people use the same installation of SAS University Edition, they will both get zero for the assignment. \end{itemize} \end{frame} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{frame} \frametitle{Copyright Information} This slide show was prepared by \href{http://www.utstat.toronto.edu/~brunner}{Jerry Brunner}, Department of Statistical Sciences, University of Toronto. It is licensed under a \href{http://creativecommons.org/licenses/by-sa/3.0/deed.en_US} {Creative Commons Attribution - ShareAlike 3.0 Unported License}. Use any part of it as you like and share the result freely. The \LaTeX~source code is available from the course website: \vspace{5mm} \href{http://www.utstat.toronto.edu/~brunner/oldclass/2453y15-16} {\small\texttt{http://www.utstat.toronto.edu/$^\sim$brunner/oldclass/2453y15-16}} \end{frame} \end{document}