利用機器學習方法插補存活分析資料逕行模擬評估模型誤差
A simulation study of machine learning imputation strategies for survival data
摘要
中文摘要
在資料分析的過程中,大部分時間都在進行資料的預處理,最常遇到的現象就是缺失值(missing value)。缺失值的出現可能導致樣本訊息的減少、效能檢驗的降低以及增加統計分析的複雜度。當缺失值過多時,把缺失值刪除可能會使資料完全失去其利用價值。在面對統計分析與演算法中,將缺失值資料進行插補 (imputation)是必要的,因為有些方法所要分析、計算的資料必須是完整的,且不能有缺失值的存在。在不同的資料型態有許多探討插補的研究,例如均值插補、迴歸插補、多重插補等等。由於近十幾年機器學習應用在插補的盛行,則本篇論文會探討最常見的四種機器學習方法作為比較,分別為k 最近鄰居插補法、隨機森林proximity插補法、隨機森林on-the-fly插補法、隨機森林missforest插補法。根據模擬存活資料產生不同樣本數、不同缺失比例(missing rate)以及不同缺失機制(missing mechanism)的情景,並用均方根誤差(RMSE)、錯誤分類比例(PFC)去評估方法的差異性,最終把插補資料放入Cox比例風險函數並使用型一誤差來預估整體成效。模擬結果顯示,在型一誤差下隨機森林missforest插補法且沒有放入應變數的插補成效最優異,k 最近鄰居插補法的運作速度是最快的。
在資料分析的過程中,大部分時間都在進行資料的預處理,最常遇到的現象就是缺失值(missing value)。缺失值的出現可能導致樣本訊息的減少、效能檢驗的降低以及增加統計分析的複雜度。當缺失值過多時,把缺失值刪除可能會使資料完全失去其利用價值。在面對統計分析與演算法中,將缺失值資料進行插補 (imputation)是必要的,因為有些方法所要分析、計算的資料必須是完整的,且不能有缺失值的存在。在不同的資料型態有許多探討插補的研究,例如均值插補、迴歸插補、多重插補等等。由於近十幾年機器學習應用在插補的盛行,則本篇論文會探討最常見的四種機器學習方法作為比較,分別為k 最近鄰居插補法、隨機森林proximity插補法、隨機森林on-the-fly插補法、隨機森林missforest插補法。根據模擬存活資料產生不同樣本數、不同缺失比例(missing rate)以及不同缺失機制(missing mechanism)的情景,並用均方根誤差(RMSE)、錯誤分類比例(PFC)去評估方法的差異性,最終把插補資料放入Cox比例風險函數並使用型一誤差來預估整體成效。模擬結果顯示,在型一誤差下隨機森林missforest插補法且沒有放入應變數的插補成效最優異,k 最近鄰居插補法的運作速度是最快的。
ABSTRACT
In the process of data analysis, most of the time is preprocessing data, the most frequent problem is the missing value. The occurrence of missing values may lead to reduce power and increase the complexity of statistical analysis. When there are too many missing values, deleting the missing values may cause less information. In the statistical analysis and algorithms, imputation of missing data is necessary, because the data to be analyzed by some statistical methods must be complete, and there must be no missing values. There are many studies about imputation in different datasets, such as mean imputation, regression imputation, multiple imputation and so on. Due to the prevalence of machine learning applied to imputation in the past decade, this paper will discuss the four machine learning methods as comparisons. There are k nearest neighbor imputation method, random forest proximity imputation method, random forest on-the-fly imputation method, and random forest missforest imputation method. We simulate survival data in different scenarios, like different sample numbers、different missing rate and different missing mechanism scenarios. The root mean square error (RMSE) and the proportion of falsely classified entries (PFC) are used to evaluate the difference of the methods. Then put the imputation data into the Cox proportional hazards model to estimate the overall effectiveness using type 1 error. The simulation results show that the imputation effectiveness of the random forest missforest imputation method with no outcome variables is the best by using type 1 error, and the operation speed of the K nearest neighbor imputation method is the fastest.
In the process of data analysis, most of the time is preprocessing data, the most frequent problem is the missing value. The occurrence of missing values may lead to reduce power and increase the complexity of statistical analysis. When there are too many missing values, deleting the missing values may cause less information. In the statistical analysis and algorithms, imputation of missing data is necessary, because the data to be analyzed by some statistical methods must be complete, and there must be no missing values. There are many studies about imputation in different datasets, such as mean imputation, regression imputation, multiple imputation and so on. Due to the prevalence of machine learning applied to imputation in the past decade, this paper will discuss the four machine learning methods as comparisons. There are k nearest neighbor imputation method, random forest proximity imputation method, random forest on-the-fly imputation method, and random forest missforest imputation method. We simulate survival data in different scenarios, like different sample numbers、different missing rate and different missing mechanism scenarios. The root mean square error (RMSE) and the proportion of falsely classified entries (PFC) are used to evaluate the difference of the methods. Then put the imputation data into the Cox proportional hazards model to estimate the overall effectiveness using type 1 error. The simulation results show that the imputation effectiveness of the random forest missforest imputation method with no outcome variables is the best by using type 1 error, and the operation speed of the K nearest neighbor imputation method is the fastest.