10.07.2015 Views

The np Package - NexTag Supports Open Source Initiatives

The np Package - NexTag Supports Open Source Initiatives

The np Package - NexTag Supports Open Source Initiatives

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

wage1 5Examplesdata("oecdpanel")attach(oecdpanel)summary(oecdpanel)detach(oecdpanel)wage1Cross-Sectional Data on WagesDescriptionUsageFormatCross-section wage data consisting of a random sample taken from the U.S. Current PopulationSurvey for the year 1976. <strong>The</strong>re are 526 observations in total. data("wage1") makes availablethe dataset "wage" plus additional objects "bw.all" and "bw.subset".data("wage1")A data frame with 24 columns, and 526 rows.Two local-linear rbandwidth objects (‘bw.all’ and ‘bw.subset’) have been computed forthe user’s convenience which can be used to visualize this dataset using <strong>np</strong>plot(bws=bw.all)wage column 1, of type numeric, average hourly earningseduc column 2, of type numeric, years of educationexper column 3, of type numeric, years potential experiencetenure column 4, of type numeric, years with current employernonwhite column 5, of type character, =“Nonwhite” if nonwhite, “White” otherwisefemale column 6, of type character, =“Female” if female, “Male” otherwisemarried column 7, of type character, =“Married” if Married, “Nonmarried” otherwisenumdep column 8, of type numeric, number of dependentssmsa column 9, of type numeric, =1 if live in SMSAnorthcen column 10, of type numeric, =1 if live in north central U.Ssouth column 11, of type numeric, =1 if live in southern regionwest column 12, of type numeric, =1 if live in western regionconstruc column 13, of type numeric, =1 if work in construc. indus.ndurman column 14, of type numeric, =1 if in nondur. manuf. indus.trcommpu column 15, of type numeric, =1 if in trans, commun, pub uttrade column 16, of type numeric, =1 if in wholesale or retailservices column 17, of type numeric, =1 if in services indus.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!