Previous Page | Next Page

Reading and Writing Data

Reading and Writing Data



Stat Studio runs in a Microsoft Windows operating environment, but it can communicate with SAS running on other computers. The PC running Stat Studio is called the client. The computer running SAS is called the SAS server. If SAS is running on the same PC that is running Stat Studio, then the client and server machines are the same.

Dynamically linked graphics require an in-memory DataObject running on the client PC. Calling a SAS procedure requires a SAS data set in a library on the server. Therefore, if you are exploring data by using graphics and decide to perform an analysis with a procedure, you must write data from a DataObject into a SAS data set in a server library. After the analysis is finished, you might want to read results from an output data set and add one or more variables to the in-memory DataObject. For example, you might want to add predicted values, residuals, and confidence limits for a regression analysis.

This first part of this chapter teaches you how to use the Stat Studio graphical user interface (GUI) to do the following:

The second part of the chapter teaches you how to do these tasks by writing a program and also describes how to add variables to an existing DataObject.


Using the GUI to Read a SAS Data Set

Using the GUI to Write a SAS Data Set

Using a Program to Read a SAS Data Set

Using a Program to Write a SAS Data Set

Using IML Matrices to Store Data

Summary of Reading and Writing Data

Previous Page | Next Page | Top of Page