Sign in with Microsoft
Sign in or create an account.
Hello,
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

本文將說明 Microsoft Excel 中 PEARSON 函數的公式語法及使用方式。

描述

傳回皮耳森積差相關係數 r,此係數為從 -1.0 到 1.0 的無方向性的係數,用以反應出兩個資料組之間線性關係的程度。

語法

PEARSON(array1, array2)

PEARSON 函數語法具有下列引數:

  • Array1    必要。 這是一組自變數。

  • Array2    必要。 這是一組因變數。

註解

  • 引數必須是數字,或是含有數字的名稱、陣列或參照。

  • 如果陣列或參照引數包含文字、邏輯值或空白儲存格,則忽略這些數值;但包含零值儲存格。

  • 如果 array1 和 array2 是空值,或是資料點的數目不同,則 PEARSON 傳回錯誤值 #N/A。

  • 皮耳森積差相關係數的方程式 r 是:

    方程式

    其中,x 及 y 為樣本平均數 AVERAGE(array1) 及 AVERAGE(array2)。

範例

請在下列表格中複製範例資料,再將之貼到新 Excel 工作表中的儲存格 A1。 若要讓公式顯示結果,請選取公式,按 F2,然後再按 Enter。 如有需要,您可以調整欄寬來查看所有資料。

資料

自變數

因變數

9

10

7

6

5

1

3

5

1

3

公式

描述 (結果)

結果

=PEARSON(A3:A7,B3:B7)

上述資料集的皮耳森積差相關係數 (0.699379)

0.699379

Need more help?

Want more options?

探索訂閱權益、瀏覽訓練課程、瞭解如何保護您的裝置等等。

社群可協助您詢問並回答問題、提供意見反應,以及聆聽來自具有豐富知識的專家意見。

Was this information helpful?

How satisfied are you with the translation quality?
What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!

×