india | R Documentation |
Data sample from the Standard Demographic and Health Survey, 1998-99, on malnutrition of children in India. The data set contains approximately 12% of the observations in the original data set and only a (very small) subset of variables. Additionally, a boundary file representing the districts of India is provided for spatial analysis.
data(india)
data(india.bnd)
A data frame with 4000 observations on the following 6 variables:
stunting
A numeric z-score for malnutrition, stunted growth to be more precise, which ranges from -6 to 6, where negative values represent malnourished children. Children with values below -2 are considered stunted (height-for-age).
cbmi
BMI of the child.
cage
Age of the child in months.
mbmi
BMI of the mother.
mage
Age of the mother in years.
mcdist
The district in India, where mother and child live.
A factor encoded to match the map india.bnd
.
mcdist_lab
The district in India, where mother and child live. A factor with actual district names.
For details on the boundary file see function read.bnd
from package BayesX.
The complete data set is provided by the Monitoring and Evaluation to Assess and Use Results Demographic and Health Surveys (MEASURE DHS) which is funded by the U.S. Agency of International Development (USAID). It can be obtained for research purposes (after registration) from http://www.measuredhs.com/what-we-do/survey/survey-display-156.cfm (Data set for All-India, Children's Recode: iakr42dt.zip)
For details on the data set see also:
Fahrmeir L and Kneib T (2011), Bayesian smoothing and regression for longitudinal, spatial and event history data, Oxford University Press.
if (require("BayesX")) {
## plot distribution of stunting in India
drawmap(india, map = india.bnd, regionvar = "mcdist", plotvar = "stunting")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.