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

R语言 VGAM包 xs.nz()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-10-1 15:59:04 | 显示全部楼层 |阅读模式
xs.nz(VGAM)
xs.nz()所属R语言包:VGAM

                                         Cross-sectional Data from the New Zealand Population
                                         从新西兰人口的横截面数据

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

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

A cross-sectional data set of a workforce company, plus another health survey, in New Zealand during the 1990s,
一个横截面数据的员工公司,另外再加上健康调查显示,在20世纪90年代在新西兰,


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


data(xs.nz)



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

A data frame with 10529 observations on the following 58 variables. For binary variables, a "1" or TRUE means yes, and "0" or FALSE means no. Also, "D" means don't know, and "-" means not applicable. The pregnancy questions were administered to women only.
10529观察下列58个变量的数据框。二元变量,一个"1"或TRUE是指yes和"0"或FALSE是指no。此外,"D"是指不知道,"-"是指不适用。只给予女性的怀孕问题。




regnum a numeric vector, a unique registration number. This differs from their original registration number, and the rows are sorted by their new registration number.
regnum一个数值向量,一个唯一的注册号码。这不同于其原始登记号码,和由它们的新的登记号码的行进行排序。




Study1 a logical vector, Study 1 (workforce) or Study 2?
Study1逻辑向量,研究1(工作人员),研究2?




age a numeric vector, age in years.
age一个数值向量,年龄在几年。




sex a factor with levels F and M.
sex水平F和M的一个因素。




pulse a numeric vector, beats per minute.
pulse一个数值向量,每分钟心跳。




sbp a numeric vector, systolic blood pressure (mm Hg).
sbp一个数值向量,收缩压(毫米汞柱)。




dbp a numeric vector, diastolic blood pressure (mm Hg).
dbp一个数值向量,舒张压(毫米汞柱)。




cholest a numeric vector, cholesterol (mmol/L).
cholest一个数值向量,胆固醇(mmol / L的)。




height a numeric vector, in m.
height一个数值向量,在M。




weight a numeric vector, in kg.
weight一个数值向量,单位kg。




famheart a factor with levels 0, 1, D. Has a family history of heart disease (heart attack, angina, or had a heart bypass operation) within the immediate family (brother, sister, father or mother, blood relatives only)?
famheart的因素与水平0,1,D。心脏疾病(心脏病发作,心绞痛或心脏搭桥手术)有家族史的直系亲属(兄弟,姐妹,父亲或母亲,血亲)内?




famage a factor, following from famheart, if yes, how old was the family member when it happened (if more than one family member, give the age of the youngest person)?
famage的因素后,从famheart,如果是的话,怎么老当它发生时(如果有一个以上的家庭成员,年龄最年轻的人)的家庭成员吗?




famcan a factor with levels 0, 1, D. Has a family history of cancer within the immediate family (blood relatives only)?
famcan的因素与水平0,1,D。有癌症家族史的直系亲属(血亲)在吗?




heart a factor, have you ever been told by a doctor that you have had a heart attack ("coronary")?
“”heart的一个因素,你从未告诉医生,你有一个心脏病发作(“冠心病”)?




stroke a numeric vector, have you ever been told by a doctor that you have had a stroke?
stroke一个数值向量,你曾经告诉医生,你有过中风?




diabetes a numeric vector, have you ever been told by a doctor that you have had diabetes?
diabetes一个数值向量,你曾经告诉医生你有糖尿病吗?




hyper a numeric vector, have you ever been told by a doctor that you have had high blood pressure (hypertension)?
hyper一个数值向量,你有没有曾经被医生告知你有血压高(高血压)?




hichol a numeric vector, have you ever been told by a doctor that you have had high cholesterol?
“”hichol一个数值向量,你从未告诉医生你有高胆固醇?




asthma a numeric vector, have you ever been told by a doctor that you have had asthma?
asthma一个数值向量,你曾经告诉医生,你有哮喘?




cancer a numeric vector, have you ever been told by a doctor that you have had cancer?
cancer一个数值向量,你曾经告诉医生,你有癌症吗?




acne a numeric vector, have you ever received treatment from a doctor for acne?
acne一个数值向量,你是否曾经接受过治疗的医生治疗痤疮呢?




sunburn a numeric vector, have you ever received treatment from a doctor for sunburn?
sunburn一个数值向量,你是否曾经接受过治疗的医生晒伤吗?




smokeever a numeric vector, have you ever smoked tailor-made or roll-you-own cigarettes once a week or more?
smokeever一个数值向量,你曾经吸烟量身定制的或滚你自己的香烟,一个星期或更长时间一次?




smokenow a numeric vector, do you smoke tailor-made or roll-you-own cigarettes now?
smokenow一个数值向量,你抽烟量身定制的或滚你自己的香烟呢?




smokeagequit a factor, if no to smokenow, how old were you when you stopped smoking?
smokeagequit的一个因素,如果没有smokenow,怎么老是你,当你停止吸烟吗?




smokehowmany a numeric vector, if yes to smokeever, for how many years altogether have you smoked tailor-made or roll-you-own cigarettes?
smokehowmany一个数值向量,如果是肯定的smokeever,多年完全熏量身定制的或滚你自己的香烟呢?




alcmonth a numeric vector, do you drink alcohol once a month or more?
alcmonth一个数值向量,你喝酒,每月一次或更多?




drinkfreqweek a numeric vector, if yes to alcmonth, about how often do you drink alcohol (days per week)? Note: 0.25 is once a month, 0.5 is once every two weeks, 1 is once a week, 2.5 is 2-3 days a week, 4.5 is 4-5 days a week, 6.5 is 6-7 days a week.
drinkfreqweek一个数值向量,如果是alcmonth,如何往往你喝酒(每周五天)?注:0.25是每月一次,0.5是每两周一次,每周一次,2.5是每周2-3天,4.5是每周4-5天,6.5周为6-7天。

Further note: 1 can, small bottle or handle of beer or home brew = 1 drink, 1 quart bottle of beer = 2 drinks, 1 jug of beer = 3 drinks, 1 flagon/peter of beer = 6 drinks, 1 glass of wine, sherry = 1 drink, 1 bottle of wine = 6 drinks, 1 double nip of spirits = 1 drink.
进一步说明:1,啤酒或家酿的小瓶子或手柄= 1杯,1夸脱瓶啤酒饮料,啤酒壶= 3杯,酒壶/彼得啤酒饮料,1杯葡萄酒,雪利酒= 1杯,酒1瓶饮料,1双辊的精神= 1的饮料。




drinkweek a numeric vector, how many drinks per week, on average. This is the average daily amount of drinks multiplied by the frequency of drinking per week. See drinkfreqweek on what constitutes a 'drink'.
drinkweek一个数值向量,多少饮料,每周的平均水平。这是每日的平均量的饮料,乘以饮用每周由频率。见drinkfreqweek什么构成“饮品”的。




drinkmaxday a numeric vector, in the last three months, what is the largest number of drinks that you had on any one day?
drinkmaxday一个数值向量,在过去三个月中,数量最多的是饮料,你在任何一天?




pregnant a factor, have you ever been pregnant for more than 5 months?
pregnant的一个因素,你有没有过怀孕5个多月?




pregfirst a factor, if yes to pregnant, how old were you when your first baby was born (or you had a miscarriage after 5 months)?
pregfirst的一个因素,如果是肯定的pregnant,怎么老的时候,你第一个婴儿出生(或你有一个5个月后流产)?




preglast a factor, how old were you when your last baby was born (or you had a miscarriage after 5 months)?
preglast的一个因素,你怎么老当你的最后一个孩子出生(或你有一个5个月后流产)?




babies a factor, how many babies have you given birth to?
babies的一个因素,你给了多少婴儿出生?




mood a numeric vector, does your mood often go up or down?
mood一个数值向量,你的心情经常去向上或向下?




miserab a numeric vector, do you ever feel 'just miserable' for no reason?
miserab一个数值向量,你有没有觉得“一点都不”没有理由吗?




hurt a numeric vector, are your feelings easily hurt?
hurt一个数值向量,你的感情容易受到伤害?




fedup a numeric vector, do you often feel 'fed up'?
fedup一个数值向量,你是否经常感到“受够了”?




nervous a numeric vector, would you call yourself a nervous person?
nervous一个数值向量,你会称自己是一个神经紧张的人吗?




worrier a numeric vector, are you a worrier?
worrier一个数值向量,你是一个杞人忧天吗?




worry a numeric vector, do you worry about awful things that might happen?
worry一个数值向量,你不用担心可怕的事情可能发生吗?




tense a numeric vector, would you call yourself tense or 'highly strung'?
tense一个数值向量,你自己紧张,或“高度紧张”?




embarrass a numeric vector, do you worry too long after an embarrassing experience?
embarrass一个数值向量,你不用太长时间后的尴尬经验吗?




nerves a numeric vector, do you suffer from 'nerves'?
nerves一个数值向量,你患“神经”?




friend a numeric vector, do you have a friend or family member that you can talk to about problems or worries that you may have?
friend一个数值向量,你有,你可以谈论的问题或担心,你可能有一个朋友或家庭成员吗?




depress a numeric vector, in your lifetime, have you ever had two weeks or more when nearly every day you felt sad or depressed?
depress一个数值向量,在你的一生中,你曾经有过两个星期或以上时,几乎每一天,你感到悲伤或沮丧吗?




exervig a numeric vector, how many hours per week would you do any vigorous activity or exercise either at work or away from work that makes you breathe hard and sweat? Values here ought be be less than 168.
exervig一个数值向量,多少小时,每星期,你会怎么做剧烈活动或运动,无论是在工作或远离工作,让你呼吸的辛勤和汗水?值应该是小于168。




exermod a numeric vector, how many hours per week would you do any moderate activity or exercise such as brisk walking, cycling or mowing the lawn? Values here ought be be less than 168.
exermod一个数值向量,多少小时,每星期你会做任何适度的活动或运动,如快走,骑自行车或修剪草坪吗?值应该是小于168。




hourfeet a numeric vector, on an average work day, how long would you spend on your feet, either standing or moving about?
hourfeet一个数值向量,平均每天工作多长时间你会花你的脚,站立或走动吗?




ethnic a factor with 4 levels, what ethnic group do you belong to? 0 = European (NZ European or British or other European), 1 = Maori, 2 = Pacific Island Polynesian, 3 = Other (Chinese, Indian, Other).
ethnic的因素有4个等级,你属于什么民族? 0 =欧洲(NZ欧洲或英国或其他欧洲),1 = 2 =毛利人,太平洋岛屿波利尼西亚,3 =其他(中国,印度,其他)。




sleep a numeric vector, how many hours do you usually sleep each night?
sleep一个数值向量,多少小时,你通常每天晚上睡觉吗?




snore a factor with levels 0, 1, D. Do you usually snore?
snore的因素与水平0,1,D。你通常打呼噜吗?




cat a numeric vector, do you have a household pet? If yes, is it a cat?
cat一个数值向量,你有一个家庭宠物吗?如果是的话,是猫吗?




dog a numeric vector, do you have a household pet? If yes, is it a dog?
dog一个数值向量,你有一个家庭宠物吗?如果是的话,是狗吗?




hand a factor with levels 0 = right, 1 = left, 2 = either. Are you right-handed, left-handed, or no preference for left or right?
hand的因素与水平0=右,1=左,2=。你用右手,左手,左或右或没有偏好?




nhouse an ordered factor with 4 levels, how many people (including yourself) usually live in your house? 1 = 1, 2 = 2, 3 = 3, 4 = four or more.
nhouse一个有序的因素有4个等级,有多少人(包括自己),平时就住在你的房子吗? 1 = 1,2 = 2,3 = 3,4 = 4或更多。




marital a factor with 4 levels: 1 = single, 2 = married or living with a partner, 3 = separated or divorced, 4 = widowed.
marital的一个因素4个级别:1=单,2=已婚或与伴侣同居,3=分居或离婚,4=丧偶。




educ an ordered factor with 4 levels. What was the highest level of education you received? Primary school = 1, High school/secondary school = 2, Polytechnic or similar = 3, University =  4.
educ一个有序的因素有4个水平。什么是最高水平的教育,你收到吗?小学1,高中/中专=2,理工学院或类似的3,大学=4。


Details

详细信息----------Details----------

The data frame is a subset of the entire data set which was collected from a confidential self-administered questionnaire administered in a large New Zealand workforce observational study conducted during 1992–3. The data were augmented by a second study consisting of retirees. The data can be considered a reasonable representation of the white male New Zealand population in the early 1990s.  There were physical, lifestyle and psychological variables that were measured. The psychological variables were headed "Questions about your feelings".
数据框是在一个大的新西兰劳动力的观测研究期间进行1992-3保密的自我管理的问卷调查,收集整个数据集的一个子集。充实了第二项研究中,由退休人员的数据。数据可以被认为是合理地代表在20世纪90年代初的白色雄性新西兰人口。有身体,生活方式和心理变量进行测量。心理变量“一节关于你的感情问题”。

Although some data cleaning was performed and logic checks conducted, anomalies remain. Some variables, of course, are subject to a lot of measurement error and bias.  It is conceivable that some participants had poor reading skills!
虽然一些数据进行清洗,并进行逻辑检查,异常现象依然存在。一些变量,当然,是受了很多的测量误差和偏见。可以想象的是,一些有不良的阅读技能!


警告----------Warning ----------

More variables may be added in the future and these may be placed in any column position. Therefore references such as xs.nz[, 12] are dangerous.
更多的变量可以在将来添加这些可以被放置在任何列的位置。因此如xs.nz[, 12]是很危险的。


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

Originally, Clinical Trials Research Unit, University of Auckland, New Zealand, http://www.ctru.auckland.ac.nz.
本来,临床试验研究单位,大学,新西兰奥克兰,http://www.ctru.auckland.ac.nz。


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

Cheng, A., Vander Hoorn, S., Milne, A., McCulloch, A. (1995) Fletcher Challenge-University of Auckland Heart & Health Study: design and baseline findings. New Zealand Medical Journal, 108, 499–502.

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

chest.nz.
chest.nz。


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


data(xs.nz)
summary(xs.nz)

# Handling of factors requires care[处理的因素需要注意]
is.factor(xs.nz$babies) # TRUE[TRUE]
summary(xs.nz$babies)   # Note the "-"s[请注意“ - ”]
charbabies <- as.character(xs.nz$babies)
summary(as.numeric(charbabies)) # "-"s converted to NAs + warning[“ - ”S转换为NAS +警告]
table(as.numeric(charbabies))   # Ditto[同上]

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-26 10:44 , Processed in 0.052922 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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