simSetCFA(simsem)
simSetCFA()所属R语言包:simsem
Create a set of matrices of parameter and parameter values to generate and analyze data that belongs to CFA model.
创建一组参数和参数值的矩阵生成和分析数据,属于CFA模型。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function will create set of matrices of free parameters and parameter values that belongs to confirmatory factor analysis. The requirement is to specify factor loading matrix, factor correlation (or covariance) matrix, and error correlation (or covariance) matrix.
此功能将创建属于验证性因素分析的参数和参数值的矩阵。要求是指定的因子载荷矩阵,因子的相关性(或协方差)矩阵,误差相关矩阵(或协方差)。
用法----------Usage----------
simSetCFA(...)
参数----------Arguments----------
参数:...
Each element of model specification, as described in Details
型号规格的每一个元素,如Details描述
Details
详细信息----------Details----------
NOTE: CFA object can be either specified in X or Y side.
注:CFA对象可以被指定,在X或Y侧。
LX or LY for factor loading matrix (need to be SimMatrix object).
LX或LY因子载荷矩阵(需要SimMatrix对象)。
TD or TE for measurement error covariance matrix (need to be SymMatrix object).
TD或TE测量误差协方差矩阵(需要SymMatrix对象)。
RTD or RTE for measurement error correlation matrix (need to be SymMatrix object).
RTD或RTE测量误差相关矩阵(需要SymMatrix对象)。
PH or PS for factor covariance matrix (need to be SymMatrix object).
PH或PS因子协方差矩阵(需要SymMatrix对象)。
RPH or RPS for factor correlation matrix (need to be SymMatrix object).
RPH或RPS因子的相关性矩阵(需要SymMatrix对象)。
VTD or VTE for measurement error variance (need to be SimVector object).
VTD或VTE测量误差方差的(需要SimVector对象)。
VX or VY for total indicator variance (need to be SimVector object). NOTE: Either measurement error variance or indicator variance is specified. Both cannot be simultaneously specified.
VX或VY的指示器总方差(需要SimVector对象)。注意:无论是测量误差的方差或指定指标变异。两者不能同时指定。
VPH, VPS, VK, or VE for factor total variance (need to be SimVector object). NOTE: These four objects will have different meanings in simSetSEM function.
VPH,VPS,VK或VE因子总方差(需要SimVector对象)。注意:这四个对象有不同的含义,在simSetSEM功能。
TX or TY for measurement intercepts (need to be SimVector object).
TX或TY测量截距(需要SimVector对象)。
MX or MY for overall indicator means (need to be SimVector object). NOTE: Either measurement intercept of indicator mean can be specified. Both cannot be specified simultaneously.
MX或MY的综合指标装置(需要SimVector对象的)。注意:无论哪种测量指标平均截距可以被指定。两者不能同时指定。
KA, AL, MK, or ME for factor means (need to be SimVector object).
KA,AL,MK或ME因子方式(需要SimVector对象)。
There are three required matrices: LY (or LX), RTE (RTD, TD, or TE), and RPS (RPH, PH, or PS). If users specify the correlation/variance format (instead of the covariance format), the default specifications are
有三个必需的矩阵:LY(LX),RTE(RTD,TD,TE)和RPS(RPH,PH,PS)。如果用户指定的相关性/方差格式(代替的协方差格式),默认的规格
All indicator variances are equal to 1. Measurement error variances are automatically implied from total indicator variances.
所有指示器方差等于1。测量误差会自动从总指标的差异暗示。
All measurement error variances are free parameters.
所有的测量误差是免费的参数。
All indicator means are equal to 0. Indicator intercepts are automatically implied from indicator means.
所有指标装置是等于0。指标截距的自动隐含的指示装置。
All indicator intercepts are free parameters.
所有指标拦截的参数。
All factor variances are equal to 1.
所有因子方差等于1。
All factor variances are fixed.
所有因子方差是固定的。
All factor means are equal to 0.
所有因子的装置是等于0。
All factor means are fixed.
所有因素手段是固定的。
值----------Value----------
SimSet object that represents the CFA object. This will be used for specifying data or analysis models later.
SimSet对象,表示终审法院的对象。这将用于购买指定的数据或分析模型。
(作者)----------Author(s)----------
Sunthud Pornprasertmanit (University of Kansas; <a href="mailto:psunthud@ku.edu">psunthud@ku.edu</a>)
参见----------See Also----------
See class SimSet for the set of matrices object details.
请参阅类SimSet矩阵的一组对象的详细信息。
See SimMatrix, SymMatrix, or SimVector for input details.
SimMatrix,SymMatrix或SimVector输入的信息。
Use simSetPath to specify path analysis model and use simSetSEM to specify full structural equation modeling.
使用simSetPath指定路径分析模型,并使用simSetSEM指定完整的结构方程模型。
实例----------Examples----------
loading <- matrix(0, 6, 2)
loading[1:3, 1] <- NA
loading[4:6, 2] <- NA
loadingValues <- matrix(0, 6, 2)
loadingValues[1:3, 1] <- 0.7
loadingValues[4:6, 2] <- 0.7
LX <- simMatrix(loading, loadingValues)
summary(LX)
latent.cor <- matrix(NA, 2, 2)
diag(latent.cor) <- 1
RPH <- symMatrix(latent.cor, 0.5)
error.cor <- matrix(0, 6, 6)
diag(error.cor) <- 1
RTD <- symMatrix(error.cor)
CFA.Model <- simSetCFA(LX = LX, RPH = RPH, RTD = RTD)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|