Explanation : The data block creates a temporary table named 'creditscores' with example data for the columns 'Customer_Name', 'Payment_History', 'Credit_Score', 'Total_Debt', 'State_FIPS', 'Region_FIPS', 'Age', and 'Income'.
The PROC CAS procedure initializes a session with the CAS server.
The `table.alterTable` action is used to modify the structure of the 'creditscores' table by applying more descriptive labels and specific display formats for certain columns like 'Payment_History' (percentage format) and 'Total_Debt', 'Income' (currency format).
Finally, the `table.fetch` action is used to retrieve and display a specified subset of the 'creditscores' table variables ('Customer_Name', 'State', 'Age', 'Income', 'Payment_History', 'Credit_Score', 'Total_Debt', 'State_FIPS', 'Region_FIPS'). The `index=false` option is used to not include the index variable in the result.
This material is provided "as is" by We Are Cas. There are no warranties, expressed or implied, as to merchantability or fitness for a particular purpose regarding the materials or code contained herein. We Are Cas is not responsible for errors in this material as it now exists or will exist, nor does We Are Cas provide technical support for it.
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. ® indicates USA registration. WeAreCAS is an independent community site and is not affiliated with SAS Institute Inc.
This site uses technical and analytical cookies to improve your experience.
Read more.