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

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

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

                                         Find fit indices cutoff given a priori alpha level
                                         先验α水平的拟合指数截止

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

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

Extract fit indices information from the SimResult and getCutoff of fit indices given a priori alpha level
提取信息SimResult和getCutoff的拟合指数的先验α水平的拟合指数


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


getCutoff(object, alpha, revDirec = FALSE, usedFit = NULL, ...)



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

参数:object
SimResult that saves the analysis results from multiple replications  
SimResult,保存从多个重复的分析结果


参数:alpha
A priori alpha level  
先验α水平


参数:revDirec
The default is to find criticl point on the side that indicates worse fit (the right side of RMSEA or the left side of CFI). If specifying as TRUE, the directions are reversed.  
缺省值是找到criticl点的一侧上,指示差的适当的方式(在CFI RMSEA的右侧或左侧)。如果指定为TRUE,方向是相反的。


参数:usedFit
Vector of names of fit indices that researchers wish to getCutoffs from. The default is to getCutoffs of all fit indices.  
矢量的拟合指数,研究人员希望getCutoffs的名字。默认值是拟合指数的所有getCutoffs。


参数:...
Additional arguments.  
其他参数。


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

One-tailed cutoffs of several fit indices with a priori alpha level
单尾临界值的拟合指数的先验α水平


方法----------Methods----------

This method will find the fit indices cutoff given a specified alpha level. The additional arguments are predictor, predictorVal, and df, which allows the fit indices predicted by any arbitrary independent variables (such as sample size or percent MCAR). The predictor is the data.frame of the predictor values. The number of rows of the predictor argument should be equal to the number of rows in the object. The predictorVal is the values of predictor that researchers would like to find the fit indices cutoffs from. The df is 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.
这个方法就可以找到指定的alpha水平的拟合指数截止。额外的参数是predictor,predictorVal和df,它允许任意的独立变量(如样本量或百分比MCAR)的拟合指数预测。 predictor是data.frame的预测值。行predictor参数的数量应等于在object的行数。 predictorVal是,研究人员希望找到的拟合指数临界值的预测值。 df程度的自由中使用的样条方法在预测的拟合指数的预测。如果df是0,样条方法将不适用。

The details are similar to the method for data.frame               
细节是的方法data.frame相似

This method will find the fit indices cutoff given a specified alpha level. The additional arguments are nVal, pmMCARval, pmMARval, and df, which are needed when using varying sample sizes or percent missing across replications in SimResult. The nVal is the sample size value that researchers wish to find the fit indices cutoffs from. The pmMCARval is the percent missing completely at random value that researchers wish to find the fit indices cutoffs from. The pmMARval is the percent missing at random value that researchers wish to find the fit indices cutoffs from. The df is 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.
这个方法就可以找到指定的alpha水平的拟合指数截止。额外的参数nVal,pmMCARval,pmMARval和df,使用时需要不同的样本量或在重复,缺少SimResult%。 nVal为样本,研究人员希望找到拟合指数临界值的大小值。 pmMCARval是完全随机值,研究人员希望找到拟合指数临界值的百分比失踪。 pmMARval是失踪的随机值,研究人员希望找到拟合指数临界值的百分比。 df程度的自由中使用的样条方法在预测的拟合指数的预测。如果df是0,样条方法将不适用。


(作者)----------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
SimResult的细节simResult


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


## Not run: [#不运行:]
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)
SimData <- simData(CFA.Model, 200)
SimModel <- simModel(CFA.Model)
# We make the examples running only 5 replications to save time.[我们的例子只有5次重复,以节省时间。]
# In reality, more replications are needed.[在现实中,需要更多的复制。]
Output <- simResult(5, SimData, SimModel)
getCutoff(Output, 0.05)

# Finding the cutoff when the sample size is varied.[寻找截止时,样品的大小变化。]
Output2 <- simResult(NULL, SimData, SimModel, n=seq(50, 100, 10))
getCutoff(Output2, 0.05, nVal = 75)

## End(Not run)[#(不执行)]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-24 22:39 , Processed in 0.049522 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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