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

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

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

                                         Plot sampling distributions of fit indices with fit indices cutoffs
                                         图抽样分布拟合指数的拟合指数临界值

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

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

This function will plot sampling distributions of null hypothesis fit indices. The users may add cutoffs by specifying the alpha level.
此功能将绘制的零假设拟合指数的样本分布。用户可以添加的截断通过指定alpha水平的。


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


plotCutoff(object, ...)



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

参数:object
The object (SimResult or data.frame) that contains values of fit indices in each distribution.  
对象(SimResult或data.frame),其中包含每个分布的拟合指数的值。


参数:...
Other arguments specific to different types of object you pass in the function.  
其他参数,具体到不同类型的对象,你传递的功能。


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

NONE. Only plot the fit indices distributions.
NONE。仅绘制的拟合指数分布。


详细...----------Details in ...----------

cutoff: A priori cutoffs for fit indices, saved in a vector
cutoff:A先天的截止时间为拟合指数,保存在一个向量

cutoff2: Another set of priori cutoffs for fit indices, saved in a vector
cutoff2:另一套先验拟合指数临界值,保存在一个向量

alpha:        A priori alpha level to getCutoffs of fit indices (do not specify when you have cutoff)
alpha:先验α水平getCutoffs拟合指数(不指定,当你有cutoff)

revDirec:        The default is to find critical 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.
revDirec:默认情况下是要找到关键点上侧,表示糟糕适合的(RMSEA右侧或左侧CFI)。如果指定为TRUE,方向是相反的。

usedFit:        The name of fit indices that researchers wish to plot
usedFit:拟合指数的名称,研究人员希望绘制

useContour:        If there are two of sample size, percent completely at random, and percent missing at random are varying, the plotCutoff function will provide 3D graph. Contour graph is a default. However, if this is specified as FALSE, perspective plot is used.
useContour:如果有2%完全随机的样本量,%随机缺失的不同,plotCutoff函数将提供3D图形。等高线图是默认的。但是,如果这是指定作为FALSE,使用立体图。


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



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




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

SimResult for simResult that used in this function.
SimResultsimResult中使用此功能。

getCutoff to find values of cutoffs based on null hypothesis sampling distributions only
getCutoff值的临界值零假设抽样分布的基础上,


实例----------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)
plotCutoff(Output, 0.05, usedFit=c("RMSEA", "SRMR", "CFI", "TLI"))

# Varying N[不同&#327;]
Output2 <- simResult(NULL, SimData, SimModel, n=seq(450, 500, 10))
plotCutoff(Output2, 0.05)

# Varying N and pmMCAR[不同的N和pmMCAR]
Output3 <- simResult(NULL, SimData, SimModel, n=seq(450, 500, 10), pmMCAR=c(0, 0.05, 0.1, 0.15))
plotCutoff(Output3, 0.05)

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

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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