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

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.

主站蜘蛛池模板: 伊金霍洛旗| 青田县| 余姚市| 克山县| 房山区| 龙陵县| 民权县| 高邮市| 隆子县| 余干县| 彰化县| 辰溪县| 玉田县| 鹤壁市| 拜泉县| 织金县| 沈阳市| 兴业县| 通榆县| 禹城市| 茶陵县| 海原县| 咸丰县| 遵义县| 定襄县| 沅江市| 兴文县| 安仁县| 大洼县| 天镇县| 栾城县| 大同市| 张家川| 潼关县| 平阳县| 棋牌| 同德县| 涟水县| 门头沟区| 揭阳市| 黑山县|