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

R语言:boxcox()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-16 17:42:28 | 显示全部楼层 |阅读模式
boxcox(MASS)
boxcox()所属R语言包:MASS

                                         Box-Cox Transformations for Linear Models
                                         箱Cox变换为线性模型

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

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

Computes and optionally plots profile log-likelihoods for the parameter of the Box-Cox power transformation.
计算和可选图个人日志变电箱考克斯参数的似然性。


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


boxcox(object, ...)

## Default S3 method:[默认方法]
boxcox(object, lambda = seq(-2, 2, 1/10), plotit = TRUE,
       interp, eps = 1/50, xlab = expression(lambda),
       ylab = "log-Likelihood", ...)

## S3 method for class 'formula'[类formula的方法]
boxcox(object, lambda = seq(-2, 2, 1/10), plotit = TRUE,
       interp, eps = 1/50, xlab = expression(lambda),
       ylab = "log-Likelihood", ...)

## S3 method for class 'lm'
boxcox(object, lambda = seq(-2, 2, 1/10), plotit = TRUE,
       interp, eps = 1/50, xlab = expression(lambda),
       ylab = "log-Likelihood", ...)



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

参数:object
a formula or fitted model object.  Currently only lm and aov objects are handled.
一个公式或拟合模型对象。目前只有lm和aov对象进行处理。


参数:lambda
vector of values of lambda – default (-2, 2) in steps of 0.1.
向量lambda值 - 默认(-2, 2)步长为0.1。


参数:plotit
logical which controls whether the result should be plotted.
逻辑控制是否应绘制结果。


参数:interp
logical which controls whether spline interpolation is used. Default to TRUE if plotting with lambda of length less than 100.
逻辑其中控制是否使用样条插值。默认TRUE以lambda图长度小于100。


参数:eps
Tolerance for lambda = 0; defaults to 0.02.
公差lambda = 0;默认为0.02。


参数:xlab
defaults to "lambda".
"lambda"默认。


参数:ylab
defaults to "log-Likelihood".
"log-Likelihood"默认。


参数:...
additional parameters to be used in the model fitting.
要使用额外的参数模型拟合。


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

A list of the lambda vector and the computed profile log-likelihood vector, invisibly if the result is plotted.
lambda向量和计算剖面测井可能性向量名单,如果结果是无形绘制。


副作用----------Side Effects----------

If plotit = TRUE plots log-likelihood vs lambda and indicates a 95% confidence interval about the maximum observed value of lambda. If interp = TRUE, spline interpolation is used to give a smoother plot.
如果plotit = TRUE图数似然比lambda,并指示有关lambda最大的观测值的95%置信区间。如果interp = TRUE,样条插值是用来提供一个顺畅的图。


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

An analysis of transformations (with discussion). Journal of the Royal Statistical Society B, 26, 211–252.
Modern Applied Statistics with S. Fourth edition.  Springer.

举例----------Examples----------


boxcox(Volume ~ log(Height) + log(Girth), data = trees,
       lambda = seq(-0.25, 0.25, length = 10))

boxcox(Days+1 ~ Eth*Sex*Age*Lrn, data = quine,
       lambda = seq(-0.05, 0.45, len = 20))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-2 20:11 , Processed in 0.019645 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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