r语言 广义逆中怎么表示逆函数

推荐这篇日记的豆列
······R语言基础:常用运算函数_百度文库
两大类热门资源免费畅读
续费一年阅读会员,立省24元!
R语言基础:常用运算函数
上传于||文档简介
&&R语言基础:常用运算函数
你可能喜欢苹果/安卓/wp
积分 1553, 距离下一级还需 672 积分
权限: 自定义头衔, 签名中使用图片, 隐身, 设置帖子权限
道具: 彩虹炫, 涂鸦板, 雷达卡, 热点灯, 金钱卡, 显身卡, 匿名卡, 抢沙发, 提升卡下一级可获得
权限: 设置回复可见道具: 沉默卡
购买后可立即获得
权限: 隐身
道具: 金钱卡, 彩虹炫, 雷达卡, 热点灯, 涂鸦板
无聊签到天数: 1283 天连续签到: 4 天[LV.10]以坛为家III
Gamma inverse function在Matlab中用函数gaminv(),但是在R软件里面用什么表示?谢谢!
支持楼主:、
购买后,论坛将把您花费的资金全部奖励给楼主,以表示您对TA发好贴的支持
载入中......
InverseGamma {actuar}
[size=1.4em]The Inverse Gamma Distribution
DescriptionDensity function, distribution function, quantile function, random generation, raw moments, and limited moments for the Inverse Gamma distribution with parameters shape and .
Usagedinvgamma(x, shape, rate = 1, scale = 1/rate, log = FALSE)pinvgamma(q, shape, rate = 1, scale = 1/rate,& && && & lower.tail = TRUE, log.p = FALSE)qinvgamma(p, shape, rate = 1, scale = 1/rate,& && && & lower.tail = TRUE, log.p = FALSE)rinvgamma(n, shape, rate = 1, scale = 1/rate)minvgamma(order, shape, rate = 1, scale = 1/rate)levinvgamma(limit, shape, rate = 1, scale = 1/rate,& && && && &order = 1)mgfinvgamma(x, shape, rate =1, scale = 1/rate, log =FALSE)
Argumentsx, qvector of quantiles.pvector of probabilities.nnumber of observations. If (n) & 1, the length is taken to be the number required.shape, scaleparameters. Must be strictly positive.ratean alternative way to specify the scale.log, log. if TRUE, probabilities/densities p are returned as log(p).lower. if TRUE (default), probabilities are P[X &= x], otherwise, P[X & x].orderorder of the moment.limitlimit of the loss variable.
DetailsThe Inverse Gamma distribution with parameters shape = a and
= s has density: for x & 0, a & 0 and s & 0. (Here Gamma(a) is the function implemented by R's () and defined in its help.)The special case
== 1 is an Inverse Exponential distribution.The kth raw moment of the random variable X is E[X^k] and the kth limited moment at some limit d is E[min(X, d)^k].The moment generating function is given by E[e^{xX}].
Valuesdinvgamma gives the density, pinvgamma gives the distribution function, qinvgamma gives the quantile function, rinvgamma generates random deviates, minvgamma gives the kth raw moment, and levinvgammagives the kth moment of the limited loss variable, mgfinvgamma gives the moment generating function in x.Invalid arguments will result in return value NaN, with a warning.
ReferencesKlugman, S. A., Panjer, H. H. and Willmot, G. E. (2008), Loss Models, From Data to Decisions, Third Edition, Wiley.
NoteAlso known as the Vinci distribution.
(dinvgamma(2, 3, 4,
= TRUE))p &- (1:10)/10pinvgamma(qinvgamma(p, 2, 3), 2, 3)minvgamma(-1, 2, 2) ^ 2levinvgamma(10, 2, 2,
= 1)mgfinvgamma(1,3,2)
Author(s)Vincent Goulet
and Mathieu Pigeon
Documentation reproduced from package actuar, version 1.1-6. License: GPL (&= 2)
总评分:&经验 + 20&
学术水平 + 1&
热心指数 + 1&
无限扩大经管职场人脉圈!每天抽选10位免费名额,现在就扫& 论坛VIP& 贵宾会员& 可免费加入
加入我们,立即就学扫码下载「就学」app& Join us!& JoinLearn&
&nbsp&nbsp|
&nbsp&nbsp|
&nbsp&nbsp|
&nbsp&nbsp|
&nbsp&nbsp|
&nbsp&nbsp|
如有投资本站或合作意向,请联系(010-);
邮箱:service@pinggu.org
投诉或不良信息处理:(010-)
京ICP证090565号
论坛法律顾问:王进律师[转载]R语言 画图函数的参数 介绍
已有 10667 次阅读
|系统分类:|关键词:class 函数 frequency normal count|文章来源:转载
hist():&breaks设置每个柱的间距;freq柱图表示count或frequency;polt设置是否画图;density和angle可以设置柱上的斜线;axes设置是否需要画坐标轴; cor设置柱图的颜色;border设置柱图边界的颜色;xlim设置横轴范围;ylim设置纵轴范围。&R的许多函数都有类似的参数名,这些函数往往有同样的功能。因此后面就只介绍比较特殊的参数。&layout():mat用矩阵设置窗口的划分,矩阵的0元素表示该位置不画图,非0元素必须包括从1开始的连续的整数值,比如:1……N,按非0元素的大小设置图形的顺序。widths用来设置窗口不同列的宽度,heights设置不同行的高度。par()的mfcol,和mfrow参数也有类似layout的功能,不过相对layout就逊色多了。&par():mar设置图离四个边缘的距离;bg设置背景颜色;xaxt和yaxt设置坐标轴标签的类型(=”n”表示不画轴标签);xlim和ylim设置坐标轴的范围。&axis():las设置坐标轴标签的方式(水平,垂直……)。&mtext():为四个坐标轴添加标签。&text():在给定坐标的位置写字。&lines():lty设置线的类型;lwd设置线的宽度。&points():pch设置点的类型。&plot():最简单的画图函数。type设置画图的类型(type=”n”表示不画数据);axes设置是否画坐标轴。常用的参数还有:xlim和ylim,xaxt和yaxt。&barplot():space设置bar图间的间距;horiz设置bar的方向是垂直或水平;beside设置height为矩阵时,每列元素的bar排列方式;add设置是否将barplot加在当前已有的图上。&legend():除了利用x,y设置图例的坐标外,用”topleft”, "center","bottomright"等设置位置非常方便。ncol设置图例的列数, horiz设置图例的排列方向。常有的参数还有col,lty,pch。&heatmap():Rowv和Colv设置是否需要按行或列聚类;scale设置是否需要按行或列标准化;na.rm设置是否移去NA;RowSideColors和ColSideColors可以在行或列边缘添加颜色;keep.dendro设置是否画聚类树。&dendrogram():'nodePar'和'edgePar'都是list,可以方便的设置节点和边的各种属性,如:颜色,样式,宽度,标签……。&
转载本文请联系原作者获取授权,同时请注明本文来自王磊科学网博客。链接地址:
上一篇:下一篇:
当前推荐数:0
评论 ( 个评论)
扫一扫,分享此博文
作者的其他最新博文
热门博文导读
Powered by
Copyright &

我要回帖

更多关于 r语言求矩阵的逆 的文章

 

随机推荐