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 面向数据科学家的实用统计学
98
|
第
4
章
自变量
用于预测响应的变量。
同义词:自变量、变量
X
、特征、属性
记录
一个表示特定个体或实例的向量,由因子和结果值组成。
同义词:行、案例、实例、示例
截距
回归线的截距,即当
X
= 0
时的预测值。
同义词:
b
0
、
β
0
回归系数
回归线的斜率。
同义词:斜率、
b
1
、
β
1
、参数估计值、权重
拟合值
从回归线获得的估计值
。
同义词:预测值
残差
观测值和拟合值之间的差异。
同义词:误差
最小二乘法
一种通过最小化残差的平方和而拟合回归的方法。
同义词:普通最小二乘法
4.1.1
 回归方程
对于“
X
发生一定的改变时,
Y
的改变程度”问题,简单线性回归可以做出准确的估计。
问题中的变量
X
和变量
Y
是可以互换的,只是使用的相关系数不同。对于回归问题,我们
力图使用线性关系(即一条直线)从变量
X
预测变量
Y
,表示为:
Y
=
b
0
+
b
1
X
该公式表述为:“
Y
等于
X
乘以
b
1
,再加上常数
b
0
。”其中,我们称
b
0
为
截距
”
(或常量),
b
1
为
X
的
斜率
。尽管“系数”这一术语通常用于
b
1
,但是在
R
语言的输出中,
b
0
和
b
1
都
被称为
系数
。变量
Y
被称为
响应变量
或
因变量
,因为它依赖于
X
。而变量
X
被称为
预测变
量
或
自变量
。机器学习领域的人士习惯将
Y
称为
目标
,将
X
称为
特征向量
。
下面看一下图
4-1
中的散点图。图中显示了工人的棉尘接触年限(Exposure)与肺容量测
回归与预测
|
99
量(即呼气流速峰值,
PEFR)。那么 PEFR 与 Exposure 的相关性如何?只根据图
4-1
是很难
讲清楚的。
图 4-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