找回密码
 注册
查看: 396|回复: 0

R语言 tweedie包 tweedie.plot()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-10-1 13:09:00 | 显示全部楼层 |阅读模式
tweedie.plot(tweedie)
tweedie.plot()所属R语言包:tweedie

                                        Tweedie Distributions: plotting
                                         特威迪分布:绘制

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Plotting Tweedie density and distribution functions
绘图特威迪密度和分布函数


用法----------Usage----------


   tweedie.plot(y, xi, mu, phi, type="pdf", power=NULL, add=FALSE, ...)



参数----------Arguments----------

参数:y
vector of values at which to evaluate and plot
向量的值,以评价和绘制


参数:xi
the value of xi such that the variance is  var(Y) = phi * mu^xi
值的方差是xi等var(Y) = phi * mu^xi


参数:power
a synonym for xi
的代名词xi,


参数:mu
the mean
的意思


参数:phi
the dispersion
分散


参数:type
what to plot: pdf (the default) means the probability function, or cdf, the cumulative distribution function
图:pdf(默认值)指的概率函数,或cdf,累计分布函数


参数:add
if TRUE, the plot is added to the current device; if FALSE (the default), a new plot is produced
如果TRUE,该图添加到当前的设备;如果FALSE(默认值),一个新的绘图制作


参数:...
Arguments to be passed to the plotting method
参数被传递到绘图方法


Details

详细信息----------Details----------

For details, see dtweedie
有关详细信息,请参阅dtweedie


值----------Value----------

this function is usually called for side-effect of producing a plot of the specified Tweedie distribution, properly plotting the exact zero that occurs at y=0 when 1<p<2. However, it also produces a list with the computed density at the given points, with components y and x respectively, such that plot(y~x) approximately reproduces the plot.
此功能通常被称为副作用产生一个指定的Tweedie分布图,绘制出精确的零发生在y=01<p<2。然而,它也产生一个列表,在给定的点的计算密度,与组件y和x分别,例如,plot(y~x)约再现的图。


(作者)----------Author(s)----------


Peter Dunn (<a href="mailto:pdunn2@usc.edu.au">pdunn2@usc.edu.au</a>)



参考文献----------References----------

Evaluation of Tweedie exponential dispersion model densities by Fourier inversion. Statistics and Computing,  18, 73&ndash;86.
Series evaluation of Tweedie exponential dispersion model densities Statistics and Computing, 15(4). 267&ndash;280.
Tweedie family densities: methods of evaluation. Proceedings of the 16th International Workshop on Statistical Modelling, Odense, Denmark, 2&ndash;6 July
Exponential dispersion models. Journal of the Royal Statistical Society, B, 49, 127&ndash;162.
Theory of Dispersion Models. Chapman and Hall, London.
Numerical calculation of stable densities and distribution functions. Communication in Statistics&mdash;Stochastic models, 13(4). 759&ndash;774.
The numerical evaluation of very oscillatory infinite integrals by extrapolation. Mathematics of Computation 38(158), 517&ndash;529.
A user-friendly extrapolation method for oscillatory infinite integrals. Mathematics of Computation 51(183), 249&ndash;266.
An index which distinguishes between some important exponential families. Statistics: Applications and New Directions. Proceedings of the Indian Statistical Institute Golden Jubilee International Conference (Eds. J. K. Ghosh and J. Roy), pp. 579-604. Calcutta: Indian Statistical Institute.

参见----------See Also----------

dtweedie
dtweedie


实例----------Examples----------


### Plot a Tweedie density with 1&lt;p&lt;2[##绘制一个特威迪密度,1 <p <2时]
yy <- seq(0,5,length=100)
tweedie.plot( power=1.7, mu=1, phi=1, y=yy, lwd=2)
tweedie.plot( power=1.2, mu=1, phi=1, y=yy, add=TRUE, lwd=2, col="red")
legend("topright",lwd=c(2,2), col=c("black","red"), pch=c(19,19),
   legend=c("p=1.7","p=1.2") )

### Plot distribution functions[##图分布函数]
tweedie.plot( power=1.05, mu=1, phi=1, y=yy,
   lwd=2, type="cdf", ylim=c(0,1))
tweedie.plot( power=2, mu=1, phi=1, y=yy,
   add=TRUE, lwd=2, type="cdf",col="red")
legend("bottomright",lwd=c(2,2), col=c("black","red"),
   legend=c("p=1.05","p=2") )

### Now, plot two densities, combining p&gt;2 and 1&lt;p&lt;2[##现在,积两个密度,结合p> 2时,1 <p <2时]
tweedie.plot( power=3.5, mu=1, phi=1, y=yy, lwd=2)
tweedie.plot( power=1.5, mu=1, phi=1, y=yy, lwd=2, col="red", add=TRUE)
legend("topright",lwd=c(2,2), col=c("black","red"), pch=c(NA,19),
   legend=c("p=3.5","p=1.5") )

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2024-11-28 15:59 , Processed in 0.033966 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表