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

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

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

                                        Love and Marriage
                                         爱情与婚姻

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

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

Thirty couples participated in a study of love and marriage. Wives and husbands responded separately to four questions:  <ol> What is the level of passionate love you feel for your spouse?
30夫妇参加的研究中的爱情和婚姻。妻子和丈夫的回应分别四个问题:<OL>的充满激情的爱,你觉得你的配偶是什么级别?

What is the level of passionate love your spouse feels for you?
充满激情的爱情,你的配偶对你的感觉是什么级别?

What is the level of compassionate love you feel for your spouse?
富有同情心的爱,你觉得你的配偶是什么级别?

What is the level of compassionate love your spouse feels for you? </ol>  Each response was recorded on a five-point scale: 1=None, 2=Very Little, 3=Some, 4=A Great Deal and 5=A Tremendous Amount.
富有同情心的爱,你的配偶对你的感觉是什么级别? </ OL>每个响应都被记录在一个五点量表:1 =无,2 =很少,3 =部分,4 = A伟大的交易,5 = A大量。


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


case1702



格式----------Format----------

A data frame with 30 observations on the following 9 variables.   
30以下9个变量的观察与数据框。

Couplecouple identification number
Couple夫妇识别号码

Hpslevel of passionate love husband feels for spouse
Hps的激情之爱的丈夫对配偶的感觉

Wpslevel of passionate love wife feels for spouse
Wps的激情之爱妻子对配偶的感觉

Hcslevel of compassionate love husband feels for spouse
Hcs体恤爱丈夫对配偶的感觉

Wcslevel of compassionate love wife feels for spouse
Wcs体恤爱妻子对配偶的感觉

Hpylevel of passionate love husband perceives spouse to have for him  
Hpy的激情之爱的丈夫感知都为他的配偶

Wpylevel of passionate love wife perceives spouse to have for her  
Wpy的激情之爱妻子感觉到她的配偶有

Hcylevel of compassionate love husband perceives spouse to have for him  
Hcy体恤爱丈夫感知都为他的配偶

Wcylevel of compassionate love husband perceives spouse to have for her   
Wcy体恤爱丈夫感觉到她的配偶有


源----------Source----------

Ramsey, F.L. and Schafer, D.W. (2002). The Statistical Sleuth: A Course in Methods of Data Analysis (2nd ed), Duxbury.
拉姆齐,F.L.和Schafer,D.W. (2002年)。的统计的猎犬:A课程方法的数据分析(第二版),达克斯伯里。


参考文献----------References----------

Johnson, R.A. and Wichern, D.W. (1988). Applied Multivariate  Statistical Analysis (2nd ed), Prentice-Hall.  

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


str(case1702)

# feelings about spouse[配偶的感受]
tospouse <- with(case1702, cbind(Hps, Wps, Hcs, Wcs))
# perceived feelings from spouse[认为与配偶的感情,]
fromspouse <- with(case1702, cbind(Hpy, Wpy, Hcy, Wcy))
cca <- cancor(tospouse,fromspouse)
# Examine loadings of first canonical variables:[检查负荷的第一个典型变量:]
par(mfrow=c(2,1))
barplot(cca$xcoef[,1], ylab="first 'to spouse' loadings",
     names=c("Hps","Wps","Hcs","Wcs"))
barplot(cca$ycoef[,1], ylab="first 'from spouse' loadings",
     names=c("Hpy","Wpy","Hcy","Wcy"))

# The first canonical variable for 'to spouse" is mostly Hcs[“向配偶”的第一个典型变量主要是HCS]
# The first canonical variable for 'fom spouse' is mostly Hcy[第一个典型变量FOM配偶“主要是同型半胱氨酸]

can.to <- tospouse
can.from <- fromspouse
can.to.1 &lt;- can.to[,1] # first canonical variable[第一个典型变量]
can.from.1 &lt;- can.from[,1] # first canonical variable[第一个典型变量]
pairs(cbind(can.to.1, case1702$Hcs, can.from.1, case1702$Hcy),
        labels=c("1st cv 'to'","husband's compassionate","1st cv
        'from'","husband's perceived compassionate"))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-25 22:03 , Processed in 0.023450 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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