getCutoffNested(simsem)
getCutoffNested()所属R语言包:simsem
Find fit indices cutoff for nested model comparison given a priori alpha level
截止嵌套模型先验α水平比较拟合指数
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Extract fit indices information from the simulation of parent and nested models and getCutoff of fit indices given a priori alpha level
从模拟拟合指数信息提取的父母和嵌套模型和先验α水平的拟合指数getCutoff
用法----------Usage----------
getCutoffNested(nested, parent, alpha = 0.05, usedFit = NULL, nVal = NULL, pmMCARval = NULL, pmMARval = NULL, df = 0)
参数----------Arguments----------
参数:nested
SimResult that saves the analysis results of nested model from multiple replications
SimResult,节省了嵌套模型的分析结果,从多个复制
参数:parent
SimResult that saves the analysis results of parent model from multiple replications
SimResult,节省了父模型的分析结果,从多个复制
参数:alpha
A priori alpha level
先验α水平
参数:usedFit
Vector of names of fit indices that researchers wish to getCutoffs from. The default is to getCutoffs of all fit indices.
矢量的拟合指数,研究人员希望getCutoffs的名字。默认值是拟合指数的所有getCutoffs。
参数:nVal
The sample size value that researchers wish to find the fit indices cutoffs from.
样本大小,研究人员希望找到拟合指数临界值的值。
参数:pmMCARval
The percent missing completely at random value that researchers wish to find the fit indices cutoffs from.
%完全丢失,研究人员希望找到拟合指数临界值的随机值。
参数:pmMARval
The percent missing at random value that researchers wish to find the fit indices cutoffs from.
失踪的随机值,研究人员希望找到拟合指数临界值的百分比。
参数:df
The degree of freedom used in spline method in predicting the fit indices by the predictors. If df is 0, the spline method will not be applied.
预测的拟合指数的预测中使用的样条方法的自由度。如果df是0,样条方法将不适用。
值----------Value----------
One-tailed cutoffs of several fit indices with a priori alpha level
单尾临界值的拟合指数的先验α水平
(作者)----------Author(s)----------
Sunthud Pornprasertmanit (University of Kansas; <a href="mailto:psunthud@ku.edu">psunthud@ku.edu</a>)
参见----------See Also----------
SimResult for a detail of simResult getCutoff for a detail of finding cutoffs for absolute fit
SimResult一个细节的simResult getCutoff寻找绝对适合的截止时间为一个细节的
实例----------Examples----------
## Not run: [#不运行:]
n1 <- simNorm(0, 0.1)
u79 <- simUnif(0.7, 0.9)
loading.null <- matrix(0, 6, 1)
loading.null[1:6, 1] <- NA
LX.NULL <- simMatrix(loading.null, 0.7)
RPH.NULL <- symMatrix(diag(1))
RTD <- symMatrix(diag(6))
CFA.Model.NULL <- simSetCFA(LY = LX.NULL, RPS = RPH.NULL, RTE = RTD)
error.cor.mis <- matrix(NA, 6, 6)
diag(error.cor.mis) <- 1
RTD.Mis <- symMatrix(error.cor.mis, "n1")
CFA.Model.NULL.Mis <- simMisspecCFA(RTE = RTD.Mis)
loading.alt <- matrix(0, 6, 2)
loading.alt[1:3, 1] <- NA
loading.alt[4:6, 2] <- NA
LX.ALT <- simMatrix(loading.alt, 0.7)
latent.cor.alt <- matrix(NA, 2, 2)
diag(latent.cor.alt) <- 1
RPH.ALT <- symMatrix(latent.cor.alt, "u79")
CFA.Model.ALT <- simSetCFA(LY = LX.ALT, RPS = RPH.ALT, RTE = RTD)
SimData.NULL <- simData(CFA.Model.NULL, 500)
SimModel.NULL <- simModel(CFA.Model.NULL)
SimModel.ALT <- simModel(CFA.Model.ALT)
# The actual number of replications should be greater than 10.[的实际数目的复制应该是大于10。]
Output.NULL.NULL <- simResult(10, SimData.NULL, SimModel.NULL)
Output.NULL.ALT <- simResult(10, SimData.NULL, SimModel.ALT)
getCutoffNested(Output.NULL.NULL, Output.NULL.ALT)
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|