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

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

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

                                         Create a data distribution object.
                                         创建一个数据分发对象。

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

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

This function will create simResult by different ways. One way is to create data and analyze data multiple times by specifying SimData  and SimModel and save it in the SimDataDist.
这个函数将创建simResult的通过不同的方式。一种方法是创建数据和分析数据进行多次SimData和SimModel和它保存在SimDataDist。


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


simDataDist(..., p=NULL, keepScale=TRUE, reverse=FALSE)



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

参数:...
List of distribution objects. See VirtualDist for a list of possible distributions.   
分配对象名单。见VirtualDist的列表可能分布的。


参数:p
Number of variables. If only one distribution object is listed, the p will make the same distribution objects for all variables.  
变量的数量。如果只有一个分布对象上市,p相同的分布对象的所有变量。


参数:keepScale
A vector representing whether each variable is transformed its mean and standard deviation or not. If TRUE, transform back to retain the mean and standard deviation of a variable equal to the model implied mean and standard deviation (with sampling error)  
一种向量,表示是否每个变量转化它的均值和标准偏差,或不。如果是TRUE,改造,保留一个变量的模型暗示的均值和标准差的均值和标准差(抽样误差)


参数:reverse
A vector representing whether each variable is mirrored or not. If TRUE, reverse the distribution of a variable (e.g., from positive skewed to negative skewed. If one logical value is specified, it will apply to all variables.  
一个向量表示每个变量是否是镜像或不。如果TRUE,扭转分配的变量(例如,从正面倾斜的负偏态。如果指定一个逻辑值,它适用于所有的变量。


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

SimDataDist that saves analysis result from simulate data.
SimDataDist,节省了从模拟数据的分析结果。


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



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




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

SimData for data model specification
SimData数据模型规范

SimModel for analysis model specification
SimModel分析模型规范

SimResult for the type of resulting object
SimResult生成的对象的类型


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


loading <- matrix(0, 6, 1)
loading[1:6, 1] <- NA
LX <- simMatrix(loading, 0.7)
RPH <- symMatrix(diag(1))
RTD <- symMatrix(diag(6))
CFA.Model <- simSetCFA(LY = LX, RPS = RPH, RTE = RTD)
SimData <- simData(CFA.Model, 500)
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)
#summary(Output)[总结(输出)]

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


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

使用道具 举报

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

本版积分规则

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

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

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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