findFactorTotalCov(simsem)
findFactorTotalCov()所属R语言包:simsem
Find factor total covariance from regression coefficient matrix, factor residual covariance
查找因素从回归系数矩阵,因子残留的协方差协方差
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Find factor total covariances from regression coefficient matrix, factor residual covariance matrix. The residual covaraince matrix might be derived from factor residual correlation, total variance, and error variance. This function can be applied for path analysis model as well.
从回归系数矩阵,因子残留的协方差矩阵的因素总协方差。可能来源于残留的相关因素,总方差和方差,的剩余covaraince矩阵。此功能可应用于路径分析模型。
用法----------Usage----------
findFactorTotalCov(beta, psi=NULL, corPsi=NULL, totalVarPsi = NULL, errorVarPsi=NULL)
参数----------Arguments----------
参数:beta
Regression coefficient matrix
回归系数矩阵
参数:psi
Factor or indicator residual covariances. This argument can be skipped if factor residual correlation and either total variances or error variances are specified.
因素或指标残余协方差。这种说法,可以跳过,如果因子残留的相关性和总变异或误差方差的规定。
参数:corPsi
Factor or indicator residual correlation. This argument must be specified with total variances or error variances.
因素或指标的残余相关。此参数必须指定,总差异或错误的差异。
参数:totalVarPsi
Factor or indicator total variances.
因素或指标总方差。
参数:errorVarPsi
Factor or indicator residual variances.
因素或指标的残余差异。
值----------Value----------
A matrix of factor (model-implied) total covariance
因素(模型隐含的)总协方差矩阵的
(作者)----------Author(s)----------
Sunthud Pornprasertmanit (University of Kansas; <a href="mailto:psunthud@ku.edu">psunthud@ku.edu</a>)
参见----------See Also----------
findIndIntercept to find indicator (measurement) intercepts
findIndIntercept找到指标(测量)拦截
findIndMean to find indicator (measurement) total means
findIndMean找到指标(测量)总装置
findIndResidualVar to find indicator (measurement) residual variances
findIndResidualVar找到指标(测量)残留的差异
findIndTotalVar to find indicator (measurement) total variances
findIndTotalVar找到指标(测量)总变异
findFactorIntercept to find factor intercepts
findFactorIntercept因素拦截
findFactorMean to find factor means
findFactorMean找到因素手段
findFactorResidualVar to find factor residual variances
findFactorResidualVar因素残余差异
findFactorTotalVar to find factor total variances
findFactorTotalVar找到因素总变异
实例----------Examples----------
path <- matrix(0, 9, 9)
path[4, 1] <- path[7, 4] <- 0.6
path[5, 2] <- path[8, 5] <- 0.6
path[6, 3] <- path[9, 6] <- 0.6
path[5, 1] <- path[8, 4] <- 0.4
path[6, 2] <- path[9, 5] <- 0.4
facCor <- diag(9)
facCor[1, 2] <- facCor[2, 1] <- 0.4
facCor[1, 3] <- facCor[3, 1] <- 0.4
facCor[2, 3] <- facCor[3, 2] <- 0.4
residualVar <- c(1, 1, 1, 0.64, 0.288, 0.288, 0.64, 0.29568, 0.21888)
findFactorTotalCov(path, corPsi=facCor, errorVarPsi=residualVar)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|