官术网_书友最值得收藏!

2. Regression

Overview

This chapter is an introduction to linear regression analysis and its application to practical problem-solving in data science. You will learn how to use Python, a versatile programming language, to carry out regression analysis and examine the results. The use of the logarithm function to transform inherently non-linear relationships between variables and to enable the application of the linear regression method of analysis will also be introduced.

By the end of this chapter, you will be able to identify and import the Python modules required for regression analysis; use the pandas module to load a dataset and prepare it for regression analysis; create a scatter plot of bivariate data and fit a regression line through it; use the methods available in the Python statsmodels module to fit a regression model to a dataset; explain the results of simple and multiple linear regression analysis; assess the goodness of fit of a linear regression model; and apply linear regression analysis as a tool for practical problem-solving.

主站蜘蛛池模板: 许昌市| 北碚区| 霍州市| 高淳县| 九龙县| 远安县| 太和县| 景谷| 云浮市| 陆丰市| 庆云县| 广平县| 遵义市| 瑞金市| 德令哈市| 石渠县| 正定县| 仙游县| 格尔木市| 天台县| 广宁县| 昭苏县| 赤峰市| 和静县| 阿巴嘎旗| 南康市| 云霄县| 南川市| 丰宁| 正镶白旗| 淮北市| 江西省| 修武县| 田林县| 天柱县| 丰都县| 正阳县| 河南省| 手游| 花莲市| 贵定县|