Skip to Content
面向数据科学家的实用统计学
book

面向数据科学家的实用统计学

by Peter Bruce, Andrew Bruce
October 2018
Beginner to intermediate
238 pages
6h 32m
Chinese
Posts & Telecom Press
Content preview from 面向数据科学家的实用统计学
分类
|
147
对于数值型变量
X
的优势比,也可以做类似的解释。它测量了在
X
发生单位变化时,优势
比的变化情况。例如,如果将支出与收入间的比率从
5
增加到
6
,那么拖欠贷款的几率将
增加
exp(0.08244)
,约等于
1.09
。变量
borrow_score 表示借款者的信用评分,其值的范围
从
0
(低)到
1
(高)。与信用最差的借款者相比,信用最好的借款者的贷款拖欠概率要小
exp(
-
4.63890)
,约等于
0.01
。换句话说,信用最差的借款者的贷款拖欠风险是信用最好的
借款者的
100
倍!
5.3.6
 线性回归与逻辑回归
:
相似之处和不同之处
多元线性回归和逻辑回归有许多共同点。它们都假设预测因子与响应之间存在线性参数的
关联关系,并且都用类似的方式探索并发现最优模型。将模型概化为线性以使用预测因子
的样条转换方法,同样适用于逻辑回归。但是,逻辑回归在以下两方面存在根本差异。
•
模型的拟合方式。逻辑回归不适用最小二乘法。
•
模型残差的性质和分析方法。
模型的拟合
线性回归使用最小二乘法拟合,可以使用均方根误差和
R
方等统计量评估拟合的质量。
不同于线性回归,逻辑回归并不存在一种封闭的解决方案,模型必须使用
最大似然估计
(
MLE
)拟合。最大似然估计试图找出一种最有可能生成所见数据的模型。在逻辑回归方
程中,响应并非
0
或
1
,而是对响应为
1
的对数几率的估计。最大似然估计可以找出一种
解决方案,使估计的对数几率能最优地描述所观测到的结果。最大似然估计算法中使用了
拟牛顿优化法
,该机制根据当前的参数值,在打分步骤(即
费希尔分值
)间迭代,逐步更 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

基于Python的智能文本分析

基于Python的智能文本分析

Benjamin Bengfort, Rebecca Bilbro, Tony Ojeda
Python数据处理

Python数据处理

Jacqueline Kazil, Katharine Jarmul
精通機器學習

精通機器學習

Aurélien Géron
C++语言导学(原书第2版)

C++语言导学(原书第2版)

本贾尼 斯特劳斯特鲁普

Publisher Resources

ISBN: 9787115493668