R中的各种概率统计分布

名称 名称 R对应的名字 附加参数
β分布 beta beta shape1, shape2, ncp
二项式分布 binomial binom size, prob
柯西分布 Cauchy cauchy location, scale
卡方分布 chi-squared chisq df, ncp
指数分布 exponential exp rate
F分布 F f df1, df1, ncp
Gamma(γ)分布 gamma gamma shape, scale
几何分布 geometric geom prob
超几何分布 hypergeometric hyper m, n, k
对数正态分布 log-normal lnorm meanlog, sdlog
Logistic分布 logistic logis location, scale
负二项式分布 negative binomial nbinom size, prob
正态分布 normal norm mean, sd
泊松分布 Poisson pois lambda
Wilcoxon分布 signed rank signrank n
t分布 Student's t t df, ncp
均匀分布 uniform unif min, max
韦伯分布 Weibull weibull shape, scale
秩和分布 Wilcoxon wilcox m, n

  概率函数介绍

  在R中各种概率函数都有统一的形式,即一套统一的 前缀+分布函数名

   d 表示密度函数(density);

   p 表示分布函数(生成相应分布的累积概率密度函数);

   q 表示分位数函数,能够返回特定分布的分位数(quantile);

   r 表示随机函数,生成特定分布的随机数(random)。

原文地址:https://www.cnblogs.com/wwxbi/p/4288969.html