Q-Q圖可以用於檢驗樣本是否服從正態分布,在Excel里繪制Q-Q圖步驟如下(參考How do you make Q-Q plot in Excel?):
- 排序的數據集 A sorted data set
- 對數據點排序的序數序列 An ordinal sequence to rank the data points
- 對數據點執行分位數計算 Perform the quantile calculation over the data set points
- 查找與數據集的分位數相對應的z分數 Find the z-scores corresponding to the quantiles of the data set
This in an illustration of the above mentioned:
Then, you Insert a scatter plot, using the z-scores as the X axis and the data set points as the Y Axis
{Please notice: my Excel version is in Spanish, but the context is the same for all other language versions.}
After doing this, you will have a chart that resembles this
Right-click on the data points and select the add trend line option
Format the plot as desired