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 面向数据科学家的实用统计学
108
|
第
4
章
BldgGrade + PropertyType + SqFtFinBasement + YrBuilt, data = house0,
na.action = na.omit)
Coefficients:
(Intercept) SqFtTotLiving
6227632.22 186.50
Bathrooms Bedrooms
44721.72 -49807.18
BldgGrade PropertyTypeSingle Family
139179.23 23328.69
PropertyTypeTownhouse SqFtFinBasement
92216.25 9.04
YrBuilt
-3592.47
该函数选取了一个模型,其中的多个变量抽取自 house_full:SqFtLot、NbrLivingUnits、
YrRenovated 和 NewConstruction。
更为简单的做法是
前向选择
(
forward selection
)和
后向选择
(
backward selection
)。在前向
选择中,开始时没有预测因子,而是依次添加的。在每一步添加对
R
2
具有最大贡献的预测
因子。当贡献不再统计显著时,停止继续添加。在后向选择(或
后向删除
)中,一开始就
给出了一个完整的模型,然后从中逐步移除不再统计显著的预测因子,直到模型中所有预
测因子都是统计显著的。
惩罚回归
的思想类似于
AIC
。拟合模型的函数并不是显式地搜索一组离散的模型,而是添
加了一个新限制,对有多个变量(参数)的模型进行惩罚 ...
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