birthwt(MASS)
birthwt()所属R语言包:MASS
Risk Factors Associated with Low Infant Birth Weight
与婴儿出生体重低有关的风险因素
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The birthwt data frame has 189 rows and 10 columns. The data were collected at Baystate Medical Center, Springfield, Mass during 1986.
birthwt数据框有189行和10列。 Baystate医学中心,斯普林菲尔德,大众在1986年收集的数据。
用法----------Usage----------
birthwt
格式----------Format----------
This data frame contains the following columns:
这个数据框包含下列资料:
low indicator of birth weight less than 2.5 kg.
low出生时体重不足2.5公斤的指标。
age mother's age in years.
age“母亲的年龄在几年。
lwt mother's weight in pounds at last menstrual period.
lwt母亲磅的体重,在最后一次月经。
race mother's race (1 = white, 2 = black,
race“母亲的种族(1=白色,2=黑色,
smoke smoking status during pregnancy.
smoke在怀孕期间吸烟的状态。
ptl number of previous premature labours.
ptl数以前过早劳动力的。
ht history of hypertension.
ht高血压病史。
ui presence of uterine irritability.
ui存在子宫烦躁。
ftv number of physician visits during the first trimester.
ftv头三个月期间的就诊人数。
bwt birth weight in grams.
bwt克出生体重。
源----------Source----------
Hosmer, D.W. and Lemeshow, S. (1989) Applied Logistic Regression. New York: Wiley
霍斯默,D.W. Lemeshow,S.(1989)应用Logistic回归。纽约:Wiley
参考文献----------References----------
Modern Applied Statistics with S. Fourth edition. Springer.
举例----------Examples----------
attach(birthwt)
race <- factor(race, labels = c("white", "black", "other"))
ptd <- factor(ptl > 0)
ftv <- factor(ftv)
levels(ftv)[-(1:2)] <- "2+"
bwt <- data.frame(low = factor(low), age, lwt, race,
smoke = (smoke > 0), ptd, ht = (ht > 0), ui = (ui > 0), ftv)
detach("birthwt")
options(contrasts = c("contr.treatment", "contr.poly"))
glm(low ~ ., binomial, bwt)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|