rriskMMEdist(rriskDistributions)
rriskMMEdist()所属R语言包:rriskDistributions
Fitting univariate distributions by matching moments
配件单变量分布相匹配的时刻
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Fits a univariate distribution by matching moments.
适用于单变量的分布相匹配的时刻。
用法----------Usage----------
rriskMMEdist(data, distr)
参数----------Arguments----------
参数:data
a numerical vector.
数值向量。
参数:distr
A character string "name" naming a distribution or directly the density function dname. The estimated values of the distribution parameters are provided only for the following distributions : "norm", "lnorm", "exp", "pois", "gamma", "logis", "nbinom" , "geom", "beta" and "unif".
一个字符串“名称”命名的分配或直接密度函数dname。只提供了以下发行的分布参数的估计值:“规范”,“lnorm”,“EXP”,“兴趣点”,“伽马”,“LOGIS”,“nbinom” “GEOM”,“测试”和“互可操作性框架”。
Details
详细信息----------Details----------
This function is an alias of the function mmedist from the package fitdistrplus (Version 0.1-2). The original function was extended to fitting additional distributions. Parameter of the following distribution families can be estimated in this function: normal, lognormal, exponential, Poisson, gamma, logistic, negative binomial, geometric, Beta and continuous univariate. <br> <br> For more details see the assistance page of the function mmedist from the package fitdistrplus. <br> <br> This function is not intended to be called directly but is internally called in rriskFitdist.cont.
此功能是别名的功能mmedist从包fitdistrplus(版本0.1-2)。原有的功能扩展到额外的分布拟合。估计参数的分布如下的家庭可以在此功能正常,对数正态分布,指数分布,泊松分布,伽玛,MF,负二项分布,几何,测试和连续的单变量。有关详细信息,请参阅参考<BR>的功能mmedist的包fitdistrplus帮助页。参考<br>该功能并不直接调用,但在内部被称为rriskFitdist.cont。
值----------Value----------
rriskMMEdist returns the named parameter or a named vector of parameters.
rriskMMEdist返回命名参数或命名的参数向量。
(作者)----------Author(s)----------
Matthias Greiner <a href="mailto:matthias.greiner@bfr.bund.de">matthias.greiner@bfr.bund.de</a>
(BfR), <br> Kristin Tolksdorf
<a href="mailto:kristin.tolksdorf@bfr.bund.de">kristin.tolksdorf@bfr.bund.de</a> (BfR), <br>
Katharina Schueller <a href="mailto:schueller@stat-up.de">schueller@stat-up.de</a>
(<acronym><span class="acronym">STAT-UP</span></acronym> Statistical Consulting), <br> Natalia
Belgorodski <a href="mailto:belgorodski@stat-up.de">belgorodski@stat-up.de</a>
(<acronym><span class="acronym">STAT-UP</span></acronym> Statistical Consulting), <br>
Marie-Laure Delignette-Muller (coauthor of the package
<span class="pkg">fitdistrplus</span>), <br> Christophe Dutang (coauthor of
the package <span class="pkg">fitdistrplus</span>)
实例----------Examples----------
# Continuous distributions[连续分布]
set.seed(1)
x1<-rnorm(500,mean=2, sd=0.7)
rriskMMEdist(x1,"norm")
rriskMMEdist(x1,"lnorm")
rriskMMEdist(x1,"exp")
rriskMMEdist(x1,"gamma")
rriskMMEdist(x1,"logis")
rriskMMEdist(x1,"beta")
rriskMMEdist(x1,"unif")
# Discrete distributions[离散分布]
set.seed(2)
x2<-rpois(500,lambda=3)
rriskMMEdist(x2,"pois")
rriskMMEdist(x2,"nbinom")
rriskMMEdist(x2,"geom")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|