memisc: Management of Survey Data and Presentation of Analysis Results

Travis build status Current release on GitHub CRAN Total downloads from RStudio CRAN mirror Monthly downloads from RStudio CRAN mirror

The R package memisc, which is available at CRAN, provides tools for the management of survey data, as well as the creation of tables of summary statistics and model estimates.

One of the aims of this package is to make life easier for useRs who deal with survey data sets. It provides an infrastructure for the management of survey data including value labels, definable missing values, recoding of variables, production of code books, and import of (subsets of) SPSS and Stata files. Further, it provides functionality to produce tables and data frames of arbitrary descriptive statistics and (almost) publication-ready tables of regression model estimates. Also some convenience tools for graphics, programming, and simulation are provided.

Development occurs on GitHub, where both releases and the development tree can be found.

Examples

Below are examples of output created with memisc.

voteint'Vote intention'

"Which party are you going to vote for in the general election next Tuesday?"

Storage mode:double
Measurement:nominal
Valid range:1-9
Values and labelsNPercent
1'Cons'4927.824.5
2'Lab'2614.813.0
3'LibDem'2111.910.5
4'Other'1910.89.5
9'NoVote'6134.730.5
97M'DK'63.0
98M'Refused'73.5
99M'N.a.'115.5

An example of a codebook for a survey questionnaire item produced with memisc

Model 1Model 4Model 5
Intercept−1.401***−0.213−1.687***
(0.271)(0.126)(0.294)
Occup. class: Other white collar/Upper white collar1.368***1.287***
(0.373)(0.381)
Occup. class: Blue collar/Upper white collar2.448***2.385***
(0.327)(0.337)
Occup. class: Farmer/Upper white collar1.826***2.039***
(0.413)(0.426)
Religion: Catholic/Protestant0.877***0.685*
(0.243)(0.292)
Religion: Other,none/Protestant0.975**1.191**
(0.347)(0.441)
Nagelkerke R-sq.0.20.10.3
Deviance404.2537.7393.1
AIC412.2543.7405.1
N344402344

An example of a table of model estimates produced with memisc