createImpliedMACS(simsem)
createImpliedMACS()所属R语言包:simsem
Create model implied mean vector and covariance matrix
创建模型隐含的意思是向量和协方差矩阵
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Create model implied mean vector and covariance matrix from a set of parameter values
创建模型意味着从一组参数值的平均矢量和协方差矩阵
用法----------Usage----------
createImpliedMACS(object, ...)
参数----------Arguments----------
参数:object
A matrix set containing values of parameters
包含的参数值的矩阵集
参数:...
Other objects, such as adding the parameter of model misspecification in the data output object
其它目的,如在输出的数据对象中添加的参数的模型假设错误
值----------Value----------
A list with (a) M for a model-implied mean vector and (b) CM for a model-implied covariance matrix
一个列表(一)M的一个模型隐含的意思是矢量和(B)CM的模型隐含的协方差矩阵的
(作者)----------Author(s)----------
Sunthud Pornprasertmanit (University of Kansas; <a href="mailto:psunthud@ku.edu">psunthud@ku.edu</a>)
实例----------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)
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(LY = LX, RPS = RPH, RTE = RTD)
param <- run(CFA.Model)
createImpliedMACS(param)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|