找回密码
 注册
查看: 253|回复: 0

R语言 simsem包 simParamSEM()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 09:30:52 | 显示全部楼层 |阅读模式
simParamSEM(simsem)
simParamSEM()所属R语言包:simsem

                                         Create a set of matrices of parameters for analyzing data that belongs to SEM model
                                         创建一组参数的矩阵,用于分析数据,属于SEM模型

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

This function will create set of matrices of free parameters that belongs to full SEM model. The requirement is to specify regression coefficient matrix and factor loading matrix.       
此功能将创建属于全SEM模型的自由参数矩阵。要求是指定回归系数矩阵和因子载荷矩阵。


用法----------Usage----------


simParamSEM(..., exo = FALSE)



参数----------Arguments----------

参数:...
Each element of model specification, as described in Details  
型号规格的每一个元素,如Details描述


参数:exo
specify TRUE if users wish to specify both exogenous and endogenous indicators.  
指定TRUE如果用户希望指定外源性和内源性两种指标。


Details

详细信息----------Details----------

The matrices and vectors in the endogenous side are
的矩阵和向量中的内源性侧

LY for factor loading matrix from endogenous factors to Y indicators (need to be a matrix).
LY从内生因素的因子载荷矩阵为Y指标(必须是一个矩阵)。

TE for measurement error covariance matrix among Y indicators (need to be a symmetric matrix).
TEŸ指标(必须是对称矩阵)的测量误差之间的协方差矩阵。

BE for regression coefficient matrix among endogenous factors (need to be a matrix).
BE内源性因素(需要的是一个矩阵)之间的回归系数矩阵。

PS for residual covariance matrix among endogenous factors (need to be a symmetric matrix).
PS剩余的内源性因素(需要一个对称矩阵)之间的协方差矩阵。

TY for measurement intercepts of Y indicators. (need to be a vector).
TYY的指标的测量拦截。 (需要是一个向量)。

AL for endogenous factor intercept (need to be a vector).
AL内源性因素截取(必须是一个向量)。

There are two required matrices for the specification in the endogenous side only: LY and BE.  If users need to specify exogenous variable too ("exo=TRUE"), these matrices and vectors are available:
所需的矩阵规格的内源性方只有两个:LY和BE。如果用户需要指定外生变量("exo=TRUE"),这些矩阵和向量:

LX for factor loading matrix from exogenous factors to X indicators (need to be a matrix).
LX从外生因素对X指标的因子载荷矩阵(矩阵)。

TD for measurement error covariance matrix among X indicators (need to be a symmetric matrix).
TDX指示标志需要的是一个对称矩阵的测量误差之间的协方差矩阵。

GA for regression coefficient matrix among exogenous factors (need to be a matrix).
GA外生因素之间的回归系数矩阵(矩阵)。

PH for residual covariance matrix among exogenous factors (need to be a symmetric matrix).
PH剩余的外源性因素(需要一个对称矩阵)之间的协方差矩阵。

TX for measurement intercepts of Y indicators. (need to be a vector).
TXY的指标的测量拦截。 (需要是一个向量)。

KA or MK for total mean of exogenous factors (need to be a vector).
KA或MK外生因素的总平均需要的是一个向量。

TH for measurement error covariance between X measurement error and Y measurement error (need to be a matrix).
THX测量误差和Y测量误差测量误差之间的协方差(矩阵)。

There are four required matrices for the specification in both exogenous and endogenous sides: LY, , BE, LX, and GA. The default specifications if exo=FALSE are
有四种所需的矩阵的规范外源性和内源性双方:LY,BE,LX,和GA。默认的规格,如果exo=FALSE

If residual factor covariance is not specified, then (a) all factor variances are free, (b) all exogenous covariances are free, (c) all endogenous covariances are fixed.
如果没有指定残余因素的协方差,则(a)所有因子方差是免费的,(B)所有外源性协方差是免费的,(c)所有内源性的协方差是固定的。

If factor means vector is not specified, then the factor means are free.
如果未指定因素手段向量,然后因素的手段都是免费的。

If error covariance matrix is not specified, the default is to estimate all error variances and not estimate error covariances.
如果没有指定误差协方差矩阵,默认的是估计误差方差和估计误差协方差。

If measurement intercept vector is not specified, the default is to estimate all measurement intercepts.
如果测量拦截向量没有被指定,默认值是,估计所有测量拦截。

The default specifications if exo=TRUE are
默认的规格,如果exo=TRUE

If endogenous factor covariance (PS) is not specified, then (a) all endogenous factor variances are free, (b) all endogenous factor covariances are fixed.
如果内生因素的协方差(PS)未指定,则(a)是免费的,所有的内源性因子方差(b)所有内生因素的协方差是固定的。

If endogenous factors regression coefficient (BE) is not specified, then all coefficients are specified as zero.
如果未指定的内生因素的回归系数(BE),然后所有的系数被指定为0。

If factor means (KA or AL) are not specified, all indictor means are free.
如果没有指定系数的手段(KA或AL),所有指示器装置都是免费的。

If exogenous factor covariance matrix (PH) is not specified, then the matrix is free in every element.       
如果外源因子的协方差矩阵(PH)的没有被指定,则矩阵中的每个元素是免费的。

If error covariance matrix (TE, TD, or TH) is not specified, the default is to estimate all error variances and not estimate error covariances.
如果误差协方差矩阵(TE,TD,TH)没有指定,默认值是估计误差方差和估计误差协方差。

If measurement intercept vector (TX or TY) is not specified, the default is to estimate all measurement intercepts.
测量拦截向量(TX TY)如果没有指定,默认是,估计所有测量拦截。


值----------Value----------

SimParam object that represents the path analysis model free parameters. This will be used for building SimModel later.
SimParam对象,路径分析模型参数。这将用于建设SimModel后。


(作者)----------Author(s)----------



Sunthud Pornprasertmanit (University of Kansas; <a href="mailto:psunthud@ku.edu">psunthud@ku.edu</a>)




参见----------See Also----------

See class SimParam for the free parameters object details.
请参阅类SimParam自由参数对象的详细信息。

Use simParamCFA to specify CFA model and use simParamPath to specify path analysis model.
使用simParamCFA到指定CFA模型,并使用simParamPath指定路径分析模型。


实例----------Examples----------


loading <- matrix(0, 8, 3)
loading[1:3, 1] <- NA
loading[4:6, 2] <- NA
loading[7:8, 3] <- NA
path <- matrix(0, 3, 3)
path[3, 1:2] <- NA
SEM.model <- simParamSEM(BE=path, LY=loading)

loading.X <- matrix(0, 6, 2)
loading.X[1:3, 1] <- NA
loading.X[4:6, 2] <- NA
loading.Y <- matrix(NA, 2, 1)
path.GA <- matrix(NA, 1, 2)
BE <- as.matrix(0)
SEM.Exo.model <- simParamSEM(GA=path.GA, BE=BE, LX=loading.X, LY=loading.Y, exo=TRUE)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-5-25 04:38 , Processed in 0.035876 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表