本論文是在討論迴歸分析中常用的一個工具-模型診斷,它常被拿來檢視是否符合迴歸基本假設:常態分配,變異數的一致性以及資料的獨立性。若不滿足變異數一致性時,依照以往大多是看殘差圖決定做什麼動作,是否有個檢定統計量來做檢查,以及是否能找到一個方法來解決。本篇論文將提供數個SAS MACRO程式用作分析,並討論在實務上所會面對的問題以及可能的解決方案。 This paper is to discuss a tool usually used in regression-model of diagnosis, it often used to view whether the return to the basic assumptions; normal distribution, constant variance, and data independence. If it not meets the constant variance in accordance with past, most of all figure tell a story, whether a test statistic to the inspection, and whether they could find a way to solve the problem, so this paper will use several SAS MACRO programs to analyze, and discuss the problems faced in practice as well as possible solutions