从野外到教科书数据的旅程可重复地刷新全国青年纵向调查数据库的工资数据
A Journey from Wild to Textbook Data to Reproducibly Refresh the Wages Data from the National Longitudinal Survey of Youth Database
摘要:
教科书数据对于教授统计学和数据科学方法至关重要,因为它们是干净的,允许教师专注于方法论。理想情况下,教科书数据集定期刷新,特别是当它们是从正在进行的数据收集中获取的子集时。使用当代数据进行教学也很重要,以灌输这种方法在今天是相关的。本文描述了刷新教科书数据集的工资,从全国青年纵向调查(NLSY 79)在20世纪90年代初提取的考验和磨难。这些数据对于教学建模和纵向数据的探索性分析是有用的。NLSY 79的子集,包括工资数据,可以在许多教科书和研究文章的补充文件中找到。NLSY 79数据库一直持续更新到2018年,因此可以获得新记录。在这里,我们描述了我们刷新工资数据的过程,并记录了这个过程,以便将来可以定期更新数据。我们的旅程是艰难的,因为从原始数据到工资教科书子集所采取的步骤和决定尚未明确阐述。我们一直在努力为其他人提供一个可复制的工作流程,这也希望能激发更多的尝试来更新教学数据。三个新的数据集和生成它们的代码在名为'yowie'的开源R包中提供。
英文摘要:
Textbook data is essential for teaching statistics and data science methods because they are clean, allowing the instructor to focus on methodology. Ideally textbook data sets are refreshed regularly, especially when they are subsets taken from an on-going data collection. It is also important to use contemporary data for teaching, to imbue the sense that the methodology is relevant today. This paper describes the trials and tribulations of refreshing a textbook data set on wages, extracted from the National Longitudinal Survey of Youth (NLSY79) in the early 1990s. The data is useful for teaching modeling and exploratory analysis of longitudinal data. Subsets of NLSY79, including the wages data, can be found in supplementary files from numerous textbooks and research articles. The NLSY79 database has been continuously updated through to 2018, so new records are available. Here we describe our journey to refresh the wages data, and document the process so that the data can be regularly updated into the future. Our journey was difficult because the steps and decisions taken to get from the raw data to the wages textbook subset have not been clearly articulated. We have been diligent to provide a reproducible workflow for others to follow, which also hopefully inspires more attempts at refreshing data for teaching. Three new data sets and the code to produce them are provided in the open source R package called `yowie`.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。