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

R语言 logspline包 doldlogspline()函数中文帮助文档(中英文对照)

  [复制链接]
发表于 2012-9-21 22:25:20 | 显示全部楼层 |阅读模式
doldlogspline(logspline)
doldlogspline()所属R语言包:logspline

                                        Logspline Density Estimation - 1992 version
                                         Logspline密度估计 -  1992年版

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

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

Probability density function (doldlogspline), distribution function (poldlogspline), quantiles  (qoldlogspline), and  random samples (roldlogspline) from a logspline density that was fitted using the 1992 knot deletion algorithm (oldlogspline).  The 1997 algorithm using knot deletion and addition is available using the logspline function.
概率密度函数(doldlogspline),分布函数(poldlogspline),分位数(qoldlogspline),并随机样本(roldlogspline)从的一个logspline密度,安装,使用1992年结删除算法(oldlogspline)。 1997年的算法使用结删除和添加可以使用logspline功能。


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


poldlogspline(q, fit)
qoldlogspline(p, fit)



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

参数:q
vector of quantiles. Missing values (NAs) are allowed.   
向量的位数。遗漏值(NAS)是允许的。


参数:p
vector of probabilities. Missing values (NAs) are allowed.   
向量的概率。遗漏值(NAS)是允许的。


参数:n
sample size. If length(n) is larger than 1, then  length(n) random values are returned.  
样本大小。如果length(n)是大于1,那么length(n)随机值被返回。


参数:fit
oldlogspline object, typically the result of oldlogspline.  
oldlogspline对象,通常的结果oldlogspline。


Details

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

Elements of  q or p that are missing will cause the  corresponding elements of the result to be missing.
元素的q或p会丢失将导致对应的元素的结果是缺少。


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

Densities (doldlogspline), probabilities (poldlogspline), quantiles (qoldlogspline),  or a random sample (roldlogspline) from an oldlogspline density that was fitted using knot deletion.
密度(doldlogspline),概率(poldlogspline),分位数(qoldlogspline),或一个随机样本(roldlogspline)oldlogspline密度安装使用结删除。


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


Charles Kooperberg <a href="mailto:clk@fhcrc.org">clk@fhcrc.org</a>.



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

for censored data (1992). Journal of Computational and Graphical Statistics, 1, 301&ndash;328.
The use of polynomial splines and their tensor products in extended linear modeling (with discussion) (1997).  Annals of Statistics,

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

logspline, oldlogspline, plot.oldlogspline,
logspline,oldlogspline,plot.oldlogspline,


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


x <- rnorm(100)
fit <- oldlogspline(x)
qq <- qoldlogspline((1:99)/100, fit)
plot(qnorm((1:99)/100), qq)                  # qq plot of the fitted density[QQ图的拟合密度]
pp <- poldlogspline((-250:250)/100, fit)
plot((-250:250)/100, pp, type = "l")
lines((-250:250)/100, pnorm((-250:250)/100)) # asses the fit of the distribution[评估适合的分布]
dd <- doldlogspline((-250:250)/100, fit)
plot((-250:250)/100, dd, type = "l")
lines((-250:250)/100, dnorm((-250:250)/100)) # asses the fit of the density[评估适合的密度]
rr &lt;- roldlogspline(100, fit)                # random sample from fit[随机抽样适合]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-13 07:41 , Processed in 0.024947 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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