SimParam-class(simsem)
SimParam-class()所属R语言包:simsem
Class "SimParam"
类“SimParam”
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Set of vectors and matrices that saves free parameters (CFA, Path analysis, or SEM)
设置,节省参数向量和矩阵(CFA,通径分析,扫描电镜)
类对象----------Objects from the Class----------
Object can be created by simParamCFA, simParamPath, or simParamSEM, for CFA, Path analysis, or SEM model, respectively. Objects can be also created by calls of the form new("SimParam", ...).
simParamCFA,simParamPath或simParamSEM,CFA,通径分析,SEM模型,分别可以创建对象。也可以创建对象通过调用的形式new("SimParam", ...)。
插槽----------Slots----------
modelType: Model type (CFA, Path, or SEM)
modelType:型号(CFA,路径,或SEM)
LY: Factor loading matrix between endogenous factors and Y indicators
LY:因子载荷矩阵内源性因素和Y指标
TE: Covariance matrix between Y measurement error
TE:Y测量误差之间的协方差矩阵
PS: Residual covariance of endogenous factors
PS:剩余协方差的内生因素
BE: Regression effect among endogenous factors
BE:回归之间的内生因素的影响
TY: Measurement intercepts of Y indicators
TY:Y的指标的测量拦截
AL: Factor intercepts of endogenous factors
AL:内源性因素的因子拦截
LX: Factor loading matrix between exogenous factors and X indicators
LX:因子载荷矩阵之间的外生因素和X指标
TD: Covariance matrix between X measurement error
TD:X测量误差之间的协方差矩阵
PH: Covariance among exogenous factors
PH:外生因素之间的协方差
GA: Regreeion effect from exogenous factors to endogenous factors
GA:Regreeion外源性因素的影响,内生因素
TX: Measurement intercepts of X indicators
TX的X指标:测量拦截
KA: Factor Mean of exogenous factors
KA因子的平均外生因素
TH: Measurement error covariance between X indicators and Y indicators
TH:X指示标志和Y指标的测量误差之间的协方差
方法----------Methods----------
summary Get the summary of model specification.
总结取得型号规格的总结。
extract Extract elements from a simSet. There are several additional arguments. First, if yOnly is TRUE, then the result will provide only Y side. Second, y is the index of indicators in Y side to be extracted. Third, e is the index of factors in Y side to be extracted. Fourth, x is the index of the indicators in X side to be extracted. Finally, k is the index of the factors in X side to be extracted.
提取提取从simSet元素。还有几个额外的参数。首先,yOnly如果是TRUE,那么结果将只提供Y侧。其次,y是要提取的Y侧的指标指数。三,e是要提取的因素,在Y侧的索引。四,x是该指数的指标在X方要提取。最后,k是要提取的因素在X侧的索引。
(作者)----------Author(s)----------
Sunthud Pornprasertmanit (University of Kansas; <a href="mailto:psunthud@ku.edu">psunthud@ku.edu</a>)
参见----------See Also----------
Create an object this class by CFA, Path Analysis, or SEM model by simParamCFA, simParamPath, or simParamSEM, respectively.
创建一个对象,这个类由终审法院,路径分析,SEM模型simParamCFA,simParamPath或simParamSEM“。
See how to use this object for data analysis by simModel.
请参阅如何使用这个对象的数据分析simModel。
实例----------Examples----------
showClass("SimParam")
library(lavaan)
loading <- matrix(0, 9, 3)
loading[1:3, 1] <- NA
loading[4:6, 2] <- NA
loading[7:9, 3] <- NA
HS.Model <- simParamCFA(LX = loading)
summary(HS.Model)
SimModel <- simModel(HS.Model, indLab=paste("x", 1:9, sep=""))
out <- run(SimModel, HolzingerSwineford1939)
summary(out)
HS.Model2 <- extract(HS.Model, y=1:3)
summary(HS.Model2)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|