⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 birthwt.html

📁 本程序是基于linux系统下c++代码
💻 HTML
字号:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>R: Risk Factors Associated with Low Infant Birth Weight</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" type="text/css" href="../../R.css">
</head><body>

<table width="100%" summary="page for birthwt {MASS}"><tr><td>birthwt {MASS}</td><td align="right">R Documentation</td></tr></table>
<h2>Risk Factors Associated with Low Infant Birth Weight</h2>


<h3>Description</h3>

<p>
The <code>birthwt</code> data frame has 189 rows and 10 columns.
The data were collected at Baystate Medical Center, Springfield, Mass
during 1986.
</p>


<h3>Usage</h3>

<pre>
birthwt
</pre>


<h3>Format</h3>

<p>
This data frame contains the following columns:
<dl>
<dt><code>low</code></dt><dd>indicator of birth weight less than 2.5kg
</dd>
<dt><code>age</code></dt><dd>mother's age in years
</dd>
<dt><code>lwt</code></dt><dd>mother's weight in pounds at last menstrual period
</dd>
<dt><code>race</code></dt><dd>mother's race (<code>1</code> = white, <code>2</code> = black, <code>3</code> = other)
</dd>
<dt><code>smoke</code></dt><dd>smoking status during pregnancy
</dd>
<dt><code>ptl</code></dt><dd>number of previous premature labours
</dd>
<dt><code>ht</code></dt><dd>history of hypertension
</dd>
<dt><code>ui</code></dt><dd>presence of uterine irritability
</dd>
<dt><code>ftv</code></dt><dd>number of physician visits during the first trimester
</dd>
<dt><code>bwt</code></dt><dd>birth weight in grams
</dd></dl>

<h3>Source</h3>

<p>
Hosmer, D.W. and Lemeshow, S. (1989)
<EM>Applied Logistic Regression.</EM>
New York: Wiley
</p>


<h3>References</h3>

<p>
Venables, W. N. and Ripley, B. D. (2002)
<EM>Modern Applied Statistics with S.</EM> Fourth edition.  Springer.
</p>


<h3>Examples</h3>

<pre>
attach(birthwt)
race &lt;- factor(race, labels = c("white", "black", "other"))
ptd &lt;- factor(ptl &gt; 0)
ftv &lt;- factor(ftv)
levels(ftv)[-(1:2)] &lt;- "2+"
bwt &lt;- data.frame(low = factor(low), age, lwt, race,
    smoke = (smoke &gt; 0), ptd, ht = (ht &gt; 0), ui = (ui &gt; 0), ftv)
detach("birthwt")
options(contrasts = c("contr.treatment", "contr.poly"))
glm(low ~ ., binomial, bwt)
</pre>



<hr><div align="center">[Package <em>MASS</em> version 7.2-44 <a href="00Index.html">Index]</a></div>

</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -