FaCov(robustfa)
FaCov()所属R语言包:robustfa
Robust Factor Analysis
强大的因素分析
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Robust FA are obtained by replacing the classical covariance matrix by a robust covariance estimator. This can be one of the available in rrcov estimators, i.e., MCD, OGK, M, S, SDE, or MVE estimator.
强大的FA取代经典的协方差矩阵的鲁棒协方差估计。这可以是一个可用的rrcov估计,即,MCD,OGK,M,S,SDE,或MVE估计。
用法----------Usage----------
FaCov(x, ...)
## S3 method for class 'formula'[类formula的方法]
FaCov(formula, data = NULL, factors = 2, method = "mle", scoresMethod = "none", ...)
## Default S3 method:[默认方法]
FaCov(x, factors = 2, cov.control = CovControlMcd(), method = c("mle", "pca", "pfa"),
scoresMethod = c("none", "regression", "Bartlett"), ...)
参数----------Arguments----------
参数:x
A formula or a numeric matrix or an object that can be coerced to a numeric matrix.
一个公式或数字矩阵或对象可以强制转换为数字矩阵。
参数:...
Arguments passed to or from other methods.
传递的参数或其他方法。
参数:formula
A formula with no response variable, referring only to numeric variables.
没有响应变量的公式,只给数值变量。
参数:data
An optional data frame (or similar: see model.frame) containing the variables in the formula.
一个可选的数据框(或相似:model.frame),其中包含的变量在formula。
参数:factors
The number of factors to be fitted.
嵌合的因素的数量。
参数:method
The method of factor analysis, one of "mle" (the default), "pca", and "pfa".
因子分析法,其中的“最大似然估计”(默认值),“PCA”和“粉煤灰”。
参数:scoresMethod
Type of scores to produce, if any. The default is "none", "regression" gives Thompson's scores, "Bartlett" gives Bartlett's weighted least-squares scores.
分数类型,如果没有产生。默认值是"none","regression"给汤普森的成绩,"Bartlett"给巴特利特的加权最小二乘成绩。
参数:cov.control
Specifies which covariance estimator to use by providing a CovControl-class object. The default is CovControlMcd-class which will indirectly call CovMcd. If cov.control=NULL is specified, the classical estimates will be used by calling CovClassic.
指定使用的协方差估计提供CovControl-class对象。默认为CovControlMcd-class这将间接调用“CovMcd。如果cov.control=NULL指定,经典估计将被调用CovClassic。
Details
详细信息----------Details----------
FaCov, serving as a constructor for objects of class FaCov-class is a generic function with "formula" and "default" methods.
FaCov,作为一个构造函数的类的对象FaCov-class是一个通用的功能与“公式”和“默认”的方法。
值----------Value----------
An S4 object of class FaCov-class which is a subclass of the virtual class Fa-class.
S4对象的类FaCov-class这是虚拟类Fa-class的一个子类。
(作者)----------Author(s)----------
Ying-Ying Zhang (Robert) <a href="mailto:robertzhang@cqu.edu.cn">robertzhang@cqu.edu.cn</a>
参考文献----------References----------
参见----------See Also----------
FaClassic-class, FaCov-class, FaRobust-class, Fa-class
FaClassic-class,FaCov-class,FaRobust-class,Fa-class
实例----------Examples----------
data(stock611)
## facovRegOgk uses the default method[#facovRegOgk使用的默认方法]
facovRegOgk=FaCov(x=scale(stock611[,3:12]), factors=3, cov.control = CovControlOgk(),
scoresMethod = "regression"); facovRegOgk
## facovForRegOgkMle uses the formula interface[#facovForRegOgkMle使用式接口]
facovForRegOgkMle=FaCov(~., data=as.data.frame(scale(stock611[,3:12])), factors=3,
cov.control = CovControlOgk(), method = "mle", scoresMethod = "regression"); facovForRegOgkMle
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|