indProd(semTools)
indProd()所属R语言包:semTools
Make products of indicators using no centering, mean centering, double-mean centering, or residual centering
使产品不使用定心的指标,意味着中心,双均值中心,或残余中心
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The indProd function will make products of indicators using no centering, mean centering, double-mean centering, or residual centering. The orthogonalize function is the shortcut of the indProd function to make the residual-centered indicators products.
indProd功能将使产品不使用定心的指标,是指居中,双均值中心,或残留的中心。 orthogonalize功能是indProd功能的快捷方式,使剩余为中心的指标的产品。
用法----------Usage----------
indProd(data, var1, var2, var3=NULL, match = TRUE, meanC = TRUE,
residualC = FALSE, doubleMC = TRUE, namesProd = NULL)
orthogonalize(data, var1, var2, var3=NULL, match=TRUE, namesProd=NULL)
参数----------Arguments----------
参数:data
The desired data to be transformed.
所需的数据进行转换。
参数:var1
Names or indices of the variables loaded on the first factor
第一个因素上加载的变量的名称或指数
参数:var2
Names or indices of the variables loaded on the second factor
装上第二个因素的变量的名称或指数
参数:var3
Names or indices of the variables loaded on the third factor (for three-way interaction)
装上的第三个因素(三双向互动的变量的名称或指数)
参数:match
Specify TRUE to use match-paired approach (Marsh, Wen, & Hau, 2004). If FALSE, the resulting products are all possible products.
指定TRUE使用匹配配对的方法(沼泽,温家宝,天后,2004年)。如果FALSE,由此产生的产品是所有可能的产品。
参数:meanC
Specify TRUE for mean centering the main effect indicator before making the products
指定TRUE之前的产品,意味着中心的主要影响指标
参数:residualC
Specify TRUE for residual centering the products by the main effect indicators (Little, Bovaird, & Widaman, 2006).
指定TRUE剩余的主要影响指标(小,Bovaird,Widaman 2006年)为中心的产品。
参数:doubleMC
Specify TRUE for centering the resulting products (Lin et. al., 2010)
指定TRUE为中心的产品(林等人,2010)
参数:namesProd
The names of resulting products
由此产生的产品的名称
值----------Value----------
The original data attached with the products.
附加的原始数据的产品。
(作者)----------Author(s)----------
Sunthud Pornprasertmanit (University of Kansas; <a href="mailto:psunthud@ku.edu">psunthud@ku.edu</a>)
Alex Schoemann (University of Kansas; <a href="mailto:schoemann@ku.edu">schoemann@ku.edu</a>)
参考文献----------References----------
参见----------See Also----------
probe2WayMC For probing the two-way latent interaction when the results are obtained from mean-centering, or double-mean centering.
probe2WayMC用于探测的双向潜相互作用时,结果是从平均定心,或双均值定心。
probe3WayMC For probing the three-way latent interaction when the results are obtained from mean-centering, or double-mean centering.
probe3WayMC用于意味着定心,或双均值定心时,结果是从探测三通潜相互作用。
probe2WayRC For probing the two-way latent interaction when the results are obtained from residual-centering approach.
probe2WayRC用于探测从残余定心方法时的结果,得到的双向潜相互作用。
probe3WayRC For probing the two-way latent interaction when the results are obtained from residual-centering approach.
probe3WayRC用于探测从残余定心方法时的结果,得到的双向潜相互作用。
plotProbe Plot the simple intercepts and slopes of the latent interaction.
plotProbe绘制简单的截距与斜率的潜在作用。
实例----------Examples----------
# Mean centering / two-way interaction / match-paired[平均中心/ /匹配双向互动配对]
dat <- indProd(attitude[,-1], var1=1:3, var2=4:6)
# Residual centering / two-way interaction / match-paired[剩余定心/双向互动/匹配配对]
dat2 <- indProd(attitude[,-1], var1=1:3, var2=4:6, match=FALSE, meanC=FALSE, residualC=TRUE, doubleMC=FALSE)
# Double-mean centering / two-way interaction / match-paired[双平均定心/双向互动/匹配配对]
dat3 <- indProd(attitude[,-1], var1=1:3, var2=4:6, match=FALSE, meanC=TRUE, residualC=FALSE, doubleMC=TRUE)
# Mean centering / three-way interaction / match-paired[平均中心/三方互动/匹配配对]
dat4 <- indProd(attitude[,-1], var1=1:2, var2=3:4, var3=5:6)
# Residual centering / three-way interaction / match-paired[剩余定心/三方互动/匹配配对]
dat5 <- indProd(attitude[,-1], var1=1:2, var2=3:4, var3=5:6, match=FALSE, meanC=FALSE, residualC=TRUE, doubleMC=FALSE)
# Double-mean centering / three-way interaction / match-paired[平均定心双/三路的互动/匹配配对]
dat6 <- indProd(attitude[,-1], var1=1:2, var2=3:4, var3=5:6, match=FALSE, meanC=TRUE, residualC=TRUE, doubleMC=TRUE)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|