FaClassic(robustfa)
FaClassic()所属R语言包:robustfa
Classical Factor Analysis
古典的因素分析
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Performs a classical factor analysis and returns the results as an object of class "FaClassic" (a.k.a. constructor).
执行一个经典的因子分析和返回的结果为对象的类"FaClassic"(又名构造函数)。
用法----------Usage----------
FaClassic(x, ...)
## S3 method for class 'formula'[类formula的方法]
FaClassic(formula, data = NULL, factors = 2, method = "mle", scoresMethod = "none", ...)
## Default S3 method:[默认方法]
FaClassic(x, factors = 2, 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"给巴特利特的加权最小二乘成绩。
值----------Value----------
An S4 object of class FaClassic-class which is a subclass of the virtual class Fa-class.
S4对象的类FaClassic-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)
stock604=stock611[-c(92,2,337,338,379,539,79),]
## faclassicReg604 uses the default method[#faclassicReg604使用默认的方法]
faclassicReg604=FaClassic(x=scale(stock604[,3:12]), factors=3,
scoresMethod = "regression"); faclassicReg604
## faclassicForRegMle604 uses the formula interface[#faclassicForRegMle604使用式接口]
faclassicForRegMle604=FaClassic(~., data=as.data.frame(scale(stock604[,3:12])), factors=3,
method = "mle", scoresMethod = "regression"); faclassicForRegMle604
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|