X function

Example dataframe for input categorical data with missing values based on the NYMockexample dataset.

Example dataframe for input categorical data with missing values based on the NYMockexample dataset.

Example dataframe for input categorical data with missing values based on the NYMockexample dataset. It contains 2000 observations and 10 variables.

[,1]OWNERSHIPownership of dwelling3 levels: N/A; Owned or being bought (loan);
Rented.
[,2]MORTGAGEmortgate status4 levels: N/A; No, owned free and clear;
Yes, mortgaged / deed of trust or similar debt;
Yes, contract to purchase.
[,3]AGEage9 levels: [0, 14]; 15; 16; 17; [18, 24]; [25, 35]; [36, 50];
9 [51, 70]; [71, ).
[,4]SEXsex2 levels: Male; Female.
[,5]MARSTmartial status6 levels: Married, spouse present; Married, spouse absent;
Separated; Divorced; Widowed; Never married / single.
[,6]RACESINGsingle race identification5 levels: White; Black; American Indian / Alaska Native;
Asian and / or Pacific Islander; Other race, non-Hispanic.
[,7]EDUCeducational attainment11 levels: N/A or no schooling; Nursery school to grade 4;
Grade 5, 6, 7, or 8; Grade 9; Grade 10; Grade 11;
Grade 12; 1 year of college; 2 years of college;
4 years of college; 5+ years of college.
[,8]EMPSTATemployment status4 levels: N/A; Employed; Unemployed; Not in labor force.
[,9]DISABWRKwork disability status3 levels: N/A; No disability that affects work;
Disability causes difficulty working.
[,10]VESTATveteran status3 levels: N/A; Not a veteran; Veteran.
  • Maintainer: Jingchen Hu
  • License: GPL (>= 3)
  • Last published: 2022-10-03

Useful links