![]() The character values might contain formatted or rounded values. The same applies to the cValue2 and nValue2 columns. The columns cValue1 and nValue1 represent the same information, except that the cValue1 is a character column whereas nValue1 is a numerical column. The data set also contains columns that contain the raw numerical values and the (formatted) character values of the statistics. The data set contains non-printing columns (like Model and Dependent) that do not appear in the displayed table. Notice that the data set often looks different from the original displayed table. The output from PROC PRINT shows the structure of the output data set. Ods output FitStatistics= Output /* the data set name is 'Output' */ proc reg data=Sashelp.Cars plots=none /* same procedure call */ The data are the 428 vehicles in the Sashelp.Cars data set, which is distributed with SAS: The documentation for the procedure lists all ODS tables that the procedure can create, or you can use the ODS TRACE ON statement to display the table names that are produced by PROC REG. Click To Tweet Find the name of the ODS tableĪs an example, suppose that you intend to use PROC REG to perform a linear regression, and you want to capture the R-square value in a SAS data set. New to #SAS programming? How to get any statistic into a data set.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |