Chapter 8: Modeling Continuous Variables
Extensions of Ordinary Linear Regression
In this chapter, we explore several commonly used predictive models for a continuous dependent variable, including linear regressions, generalized linear models, and regression trees. The data set that is used in this chapter is the Cars data set available in the sas-viya-programming repository of the sassoftware account on GitHub. Upload the data set directly from GitHub using the upload method on the CAS connection, as follows:
In [1]: cars = conn.upload('https://raw.githubusercontent.com/sassoftware/'
'sas-viya-programming/master/data/cars.csv').casTable
Get SAS Viya now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.