Skip to Content
R 语言经典实例(原书第 2 版)
book

R 语言经典实例(原书第 2 版)

by J.D. Long, Paul Teetor
June 2020
Beginner to intermediate
522 pages
9h 6m
Chinese
China Machine Press
Content preview from R 语言经典实例(原书第 2 版)
概率
205
8-3:连续分布
连续分布名称 R 函数 参数
贝塔分布
beta
shape1
形状 1
shape2
形状 2
柯西分布
cauchy
location
位置
scale
大小
卡方分布
chisq
df
自由度
指数分布
exp
rate
发生率
F 分布
f
df1
第一自由度
df2
第二自由度
伽马分布
gamma
rate
发生率
scale
大小
对数正态分布
lnorm
meanlog
对数均值
sdlong
对数标准差
逻辑分布
logis
location
位置
scale
大小
正态分布
norm
mean
均值
sd
标准差
学生
t
分布
t
df
自由度
均匀分布
unif
min
下边界
max
上边界
威布尔分布
weibull
shap
形状
scale
大小
Wilcoxon 分布
wilcox
m
第一个样本的样本量
n
第二个样本的样本量
所有与分布有关的函数都需要分布参数,例如二项分布的 size prob
者几何分布的 prob。玄机在于分布参数也许不是你所期望的。例如,我们
希望一个指数分布的参数为
β
,它是均值。然而,R 的惯例是把指数分布定
义为 rate=1/
β
,所以我经常提供错误的值。这个教训是,在调用一个与分布
有关的函数前,查找帮助说明页,确保参数是正确的。
得到关于概率分布的帮助
为了了解 R 软件中一个特殊的概率分布的函数信息,使用这个分布的帮助指令,并应用
该分布的全称。例如,显示与正态分布有关的函数:
?Normal
有些分布的名称不容易通过 ...
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

机器学习实战:基于Scikit-Learn、Keras 和TensorFlow (原书第2 版)

机器学习实战:基于Scikit-Learn、Keras 和TensorFlow (原书第2 版)

Aurélien Géron
大规模数据分析和建模:基于 Spark 与 R

大规模数据分析和建模:基于 Spark 与 R

Javier Luraschi, Kevin Kuo, Edgar Ruiz
管理Kubernetes

管理Kubernetes

Brendan Burns, Craig Tracey

Publisher Resources

ISBN: 9787111656814