simMisspecPath(simsem)
simMisspecPath()所属R语言包:simsem
Set of model misspecification for Path analysis model.
设置路径分析模型的模型错误。
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function will define model misspecifiction from a defined model. This function is similar to simSetPath such that the matrices that indicates misspecification will be added as arguments in the function. However, users do not have to add all matrices and vectors in the function. Only element indicating misspecification is added.
此功能从定义模型定义模型misspecifiction的,。此功能类似于simSetPath,这样的矩阵,表示设定错误,将被作为参数的功能。但是,用户不必添加所有的矩阵和向量的功能。只有被添加元素,表示设定错误。
用法----------Usage----------
simMisspecPath(..., exo = FALSE, conBeforeMis=TRUE, misBeforeFill=TRUE,
misfitType="rmsea", misfitBound=new("NullVector"), averageNumMisspec=FALSE,
optMisfit="none", numIter=20)
参数----------Arguments----------
参数:...
Arguments definition is listed in the Details section of simSetPath. Again, this function does not require to list all required matrices or vectors like the simSetPath function. Only misspecification is added.
Details的simSetPath部分中列出的参数定义。同样,这个功能并不需要像simSetPath函数列出所有所需的矩阵或向量。只有设定错误。
参数:exo
specify TRUE if users wish to specify both exogenous and endogenous indicators.
指定TRUE如果用户希望指定外源性和内源性两种指标。
参数:conBeforeMis
TRUE if users wish to constrain parameters before adding misspecification. FALSE if users wish to constrain parameters after adding misspecification.
TRUE,如果用户希望限制参数,然后再添加指定错误。 FALSE如果用户希望限制后,加入指定错误的参数。
参数:misBeforeFill
TRUE if users wish to apply misspecification before applying the auto-completion on the parameters that users have not specified. FALSE if users wish to apply the auto-completion before adding misspecification. This option is helpful when users wish to apply misspecification on the parameters that users have not specified (e.g., adding trivial misspecification on the residual variance, which users let the package to calculate it and not specify it). See runMisspec for further details.
TRUE如果用户希望申请前将自动完成,用户没有指定的参数设定错误。 FALSE如果用户希望应用的自动完成,然后再添加指定错误。用户希望应用设定错误的参数,用户没有指定(例如,增加琐碎的剩余方差的假设错误,这让包来计算的话,而不是指定)时,此选项非常有用。见runMisspec进一步的细节。
参数:misfitType
The type of population misfit used in the misfitBound below. The default is "rmsea". The two other options are "f0" and "srmr". See popMisfitMACS for further details.
misfitBound以下人口的失配所用的类型。默认的"rmsea"。其他两个选项"f0"和"srmr"。见popMisfitMACS进一步的细节。
参数:misfitBound
The lower and upper bounds of the population misfit. This option must be a vector with two elements.
的下界和上界的人口的失配。此选项必须是一个有两个元素的向量。
参数:averageNumMisspec
If TRUE, the misfit will be divided by the number of free elements in the misspecification object. The default is FALSE.
如果TRUE,失配将除以免费的元素中的误设对象的数目。默认的FALSE。
参数:optMisfit
Use the optimization method to pick the misspecification set. That is, the program will draw a number of misspecification sets. Then, the different sets of misspecification will be compared together. If "min" is specified, the program will pick the misspecification set the provides the least amount of misfit. If "max" is specified, the program will pick the set that has the largets misfit. The default is "none" to not use the optimization method.
使用优化的方法来挑选误设集。也就是说,该计划将利用一些误设套。然后,将不同组的误设放在一起比较。如果"min"指定,程序将挑选误设设置提供了最少的失配。如果"max"指定,程序将挑选一套具有largets失配的。默认为"none"不使用优化方法。
参数:numIter
The number of different misspecification sets for comparison in the optimization method.
不同的设定错误的数量设置的优化方法进行比较。
值----------Value----------
object in SimMisspec that saves model misspecification.
SimMisspec,节省了模型错误的对象中。
(作者)----------Author(s)----------
Sunthud Pornprasertmanit (University of Kansas; <a href="mailto:psunthud@ku.edu">psunthud@ku.edu</a>)
参见----------See Also----------
simSetPath for matrix definition and how to specify Path analysis model
simSetPath矩阵的定义和如何指定路径分析模型
SimMisspec for the simResult
SimMisspec的simResult
simMisspecCFA for misspecification model in CFA and simMisspecSEM for misspecification model in SEM.
simMisspecCFA在终审法院和误设模型simMisspecSEM误设模型在SEM的。
实例----------Examples----------
u1 <- simUnif(-0.1, 0.1)
mis.path.GA <- matrix(0, 2, 2)
mis.path.GA[2, 1:2] <- NA
mis.GA <- simMatrix(mis.path.GA, "u1")
Path.Mis.Model <- simMisspecPath(GA = mis.GA, exo=TRUE)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|