File: Wells.Rd

package info (click to toggle)
effects 2.0.10-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 308 kB
  • sloc: makefile: 3
file content (49 lines) | stat: -rw-r--r-- 1,726 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
\name{Wells}
\alias{Wells}
\docType{data}
\title{Well Switching in Bangladesh}
\description{
  Data on whether or not households in Bangladesh changed the wells that 
  they were using.
}

\usage{Wells}
\format{
  A data frame with 3020 observations on the following 5 variables.
  \describe{
    \item{\code{switch}}{whether or not the household switched to
      another well from an unsafe well: \code{no} or \code{yes}.}
    \item{\code{arsenic}}{the level of arsenic contamination in the 
      household's original well, in hundreds of micrograms per liter; all
      are above 0.5, which was the level identified as ``safe''.}
    \item{\code{distance}}{in meters to the closest known safe well.}
    \item{\code{education}}{in years of the head of the household.}
    \item{\code{association}}{whether or not any members of the household
      participated in any community organizations: \code{no} or \code{yes}.}
  }
}

\details{
  The data are for an area of Arahazar upazila, Bangladesh.
  The researchers labelled each well with its level of arsenic and an
  indication of whether the well was ``safe'' or ``unsafe.'' Those using unsafe
  wells were encouraged to switch. After several years, it was determined
  whether each household using an unsafe well had changed its well. 
  These data are used by Gelman and Hill (2007) for a logistic-regression example.
}

\source{
  \url{http://www.stat.columbia.edu/~gelman/arm/examples/arsenic/wells.dat}.
}

\references{
 A. Gelman and J. Hill (2007)
 \emph{Data Analysis Using Regression and Multilevel/Hierarchical Models.}
 Cambridge: Cambridge University Press.
}

\examples{
summary(Wells)
}

\keyword{datasets}