RLM(LVSmiRNA)
RLM()所属R语言包:LVSmiRNA
Robust Fitting of Linear Models
线性模型的鲁棒拟合
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Fit a linear model by robust regression using the Huber estimator.
适合使用的Huber估计的稳健回归线性模型。
用法----------Usage----------
RLM(formula, maxit=20, k=1.345, data, model=TRUE,na.action,
method=c("joint","rlm"), x=TRUE, y=TRUE,
offset,cov.formula=c("weighted","asymptotic"), start=NULL,...)
参数----------Arguments----------
参数:formula
a formula of the form y ~ x1 + x2 + ...
形式的公式Y~X1 + X2 + ...
参数:maxit
the limit on the number of IWLS iterations.
IWLS迭代的数量限制。
参数:k
tuning constant used for Huber proposal 2 scale estimation.
调整胡伯建议2规模估计使用的常数。
参数:data
data frame from which variables specified in formula are preferentially to be taken.
从公式中指定的变量是优先要采取的数据框。
参数:model
should the model frame be returned in the object?
应返回的对象模型框架?
参数:na.action
A function to specify the action to be taken if NAs are found. The 'factory-fresh' default action in R is na.omit, and can be changed by options.
一个函数来指定如果NAS发现应采取的行动。研发的“工厂新鲜的默认动作是na.omit,可以通过options改变。
参数:method
currently, method="rlm" and "joint" are supported.
目前,法=“RLM”和“联合”的支持。
参数:x
should the model frame be returned in the object?
应返回的对象模型框架?
参数:y
should the model matrix be returned in the object?
应返回的对象模型矩阵?
参数:offset
numeric of length n. This can be used to specify an a priori known component to be included in the linear predictor during fitting.
长度为n的数字。这可以用来指定一个先验已知的组件包括在装修过程中的线性预测。
参数:cov.formula
are the methods to compute covariance matrix, currently either weighted or asymptotic.
是的方法来计算协方差矩阵,目前无论是加权或渐近。
参数:start
vector containing starting values for the parameters in the predictor.
向量在预测参数的初始值。
参数:...
...
...
Details
详情----------Details----------
Fitting is done by iterated re-weighted least squares (IWLS). This customized version of robust linear model deal with wild ouliers using log link in joint modelling heterogeneous variance of covariates.
拟合是通过迭代重加权最小二乘(IWLS)。这个定制版本强大的线性模型交易,野生ouliers使用异构的协变量方差联合建模log链接。
值----------Value----------
An object of class "RLM" inheriting from "lm".
“LM”继承“RLM的”类的一个对象。
作者(S)----------Author(s)----------
Stefano Calza <stefano.calza@biostatistics.it>, Suo Chen and Yudi Pawitan.
参考文献----------References----------
Inference Using Likelihood', (2001, Oxford University Press); Huber,
参见----------See Also----------
RLM is modified from "rlm" in the MASS, "rlmFit"
RLM从"rlm"MASS的,"rlmFit"修改
举例----------Examples----------
set.seed(133)
n <- 9
p <- 3
X <- matrix(rnorm(n * p), n,p)
y <- rnorm(n)
fit <- RLM(y~X-1) #no intercept[没有拦截]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|