ddi: The Data Defect Index for Samples that May not be IID

Implements Meng's data defect index (ddi), which represents the degree of sample bias relative to an iid sample. The data defect correlation (ddc) represents the correlation between the outcome of interest and the selection into the sample; when the sample selection is independent across the population, the ddc is zero. Details are in Meng (2018) <doi:10.1214/18-AOAS1161SF>, "Statistical Paradises and Paradoxes in Big Data (I): Law of Large Populations, Big Data Paradox, and the 2016 US Presidential Election." Survey estimates from the Cooperative Congressional Election Study (CCES) is included to replicate the article's results.

Getting started

Package details

AuthorShiro Kuriwaki [aut, cre] (<https://orcid.org/0000-0002-5687-2647>)
MaintainerShiro Kuriwaki <shirokuriwaki@gmail.com>
LicenseGPL (>= 2)
Version0.1.0
URL https://github.com/kuriwaki/ddi
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("ddi")

Try the ddi package in your browser

Any scripts or data that you put into this service are public.

ddi documentation built on March 26, 2020, 7:26 p.m.