ampData: Example data for multiple hot deck imputation with ordinal...

Description Usage Format Examples

Description

Simulated example data for multiple hot deck imputation with ordinal variables.

Usage

1

Format

A data frame with 1000 observations on the following 20 variables.

Ind

a numeric binary vector indicating Independent party ID

Black

a numeric binary vector indicating African-American ethnicity

Hisp

a numeric binary vector indicating Hispanic ethnicity

Asian

a numeric binary vector indicating Asian ethnicity

Empl

a numeric binary vector indicating employment

Stud

a numeric binary vector indicating students

Interest

a numeric vector indicating political interest

Educ

a numeric vector indicating education level

Religious

a numeric binary vector indicating religious affiliation

InternetHome

a numeric binary vector indicating the presence of internet at home

OwnHome

a numeric binary vector indicating home ownership

Rally

a numeric binary vector indicating attendance at political rallies

Donate

a numeric binary vector indicating donations

Moderate

a numeric binary vector indicating moderate political ideology

Married

a numeric binary vector indicating marriage

Separated

a numeric binary vector indicating separation

Dem

a numeric binary vector indicating Democratic party ID, contains missing values

Male

a numeric binary vector indicating men, contains missing values

Inc

a numeric vector indicating income, contains missing values

Age

a numeric vector indicating age, contains missing values

Examples

1
2
3
4
data(ampData)
hd.ord(data = ampData,
      ord = c("Educ", "Interest"),
      evs = c("Dem", "Black", "Empl", "Male", "Inc", "Age"))

hot.deck documentation built on Aug. 17, 2021, 5:09 p.m.