ຕົວຄິດໄລ່​ຕົວ​ສົມທົບ​ຄວາມ​ກ່ຽວຂ້ອງ

ຄິດໄລ່ Pearson ຂອງ r ລະຫວ່າງສອງລາຍຊື່ຂອງຕົວເລກ.

ແບ່ງ​ຄ່າ​ອອກ​ດ້ວຍ​ຕົວ​ຄ້ອນ​ຕີ ຫຼື ​ຊ່ອງຫວ່າງ ។
ຕ້ອງ​ມີ​ຈຳນວນ​ເທົ່າ​ກັນ​ກັບ​ຄ່າ X.
ສາຍ​ພົວພັນ —
ຕົວ​ເລກ —
ແຮງ —
ຕົວ​ຊີ້​ວັດ —
ແນວ​ໂນ້ມ​ການ​ຖອນ​ຕົວ —
​ການ​ຕັດ​ຄືນ —
ຄູ່ —

ຜົນ​ການ​ຄົ້ນ​ຫາ​ຈະ​ຖືກ​ອັບເດດ​ເມື່ອ​ທ່ານ​ພິມ​ມັນ​ຂຶ້ນ​ມາ ។

ຕົວຄິດໄລ່ນີ້ໄດ້ໃຫ້ຄໍາຕອບທີ່ຖືກຕ້ອງກັບທ່ານບໍ?

ກ່ຽວ​ກັບ​ເຄື່ອງ​ຄິດໄລ່​ນີ້

Pearson’s correlation coefficient (r) measures the strength and direction of the linear relationship between two variables, ranging from −1 (perfect negative) through 0 (no linear relationship) to +1 (perfect positive). It is found by dividing the covariance of x and y by the product of their standard deviations, which standardises the result into that fixed −1 to +1 range.

Enter paired x and y values in the same order; the two lists must have the same number of values. The calculator returns r, the coefficient of determination r², the covariance, and the least-squares regression line (slope and intercept), plus a plain-English reading of the strength, and plots the data with its best-fit line. It needs at least two pairs, and the result is undefined if either variable never changes.

Worked example: for x = 1, 2, 3, 4, 5 and y = 2, 4, 5, 4, 6 the points trend upward together, giving r ≈ 0.85 — a strong positive correlation — and r² ≈ 0.73, meaning about 73% of the variation in y is explained by a straight-line relationship with x. Correlation is used in finance, science and social research to spot which variables move together.

ຄໍາຖາມທີ່ຖາມເລື້ອຍໆ

ຕົວຊີ້ວັດ​ຄວາມ​ກ່ຽວຂ້ອງ​ບອກ​ຂ້ອຍ​ວ່າ​ເປັນ​ຫຍັງ?

ມັນ​ຈະ​ວັດ​ແທກ​ວ່າ​ຕົວ​ປ່ຽນ​ແປງ​ສອງ​ຕົວ​ຈະ​ເຄື່ອນ​ໄຫວ​ໄປ​ພ້ອມ​ກັນ​ໃນ​ເສັ້ນ​ກົງ​ໄດ້​ຫຼາຍ​ປານ​ໃດ. ຄ່າ​ໃກ້ +1 ຫຼື - 1 ສະແດງ​ໃຫ້​ເຫັນ​ຄວາມ​ພົວພັນ​ລວດ​ໄວ, ໃນຂະນະທີ່​ຄ່າ​ໃກ້0ໝາຍຄວາມ​ວ່າ​ມີ​ການ​ເຊື່ອມ​ຕໍ່​ລວດ​ໄວ​ໜ້ອຍ ຫຼື ບໍ່ມີ​ເລີຍ. ສັນຍານ​ສະແດງ​ທິດ​ທາງ​ຂອງ​ຄວາມ​ພົວພັນ​ນີ້.

ສາຍພົວພັນໝາຍເຖິງເຫດຜົນບໍ?

ບໍ່. ຄວາມ​ພົວພັນ​ສູງ​ສະແດງ​ໃຫ້​ເຫັນ​ສອງ​ຕົວ​ປ່ຽນແປງ​ເຄື່ອນ​ໄຫວ​ຮ່ວມ​ກັນ​ແຕ່​ບໍ່​ແມ່ນ​ວ່າ​ຫນຶ່ງ​ກໍ່​ໃຫ້​ເກີດ​ອີກ​ຢ່າງ​ໜຶ່ງ. ປັດ​ໃຈ​ທີ​ສາມ​ທີ່​ຖືກ​ເຊື່ອງ​ໄວ້, ຫຼື​ການ​ບັງ​ເອີນ​ທີ່​ສະອາດ, ສາມາດ​ສ້າງ​ຄວາມ​ພົວພັນ​ທີ່​ແຂງ​ແຮງ​ທີ່​ບໍ່ມີ​ການ​ເຊື່ອມ​ຕໍ່​ສາເຫດ​ໃດໆ.

R² ແມ່ນຫຍັງ?

R² ແມ່ນ ຕົວເລກສີ່ຫລ່ຽມຂອງ ຕົວຊີ້ວັດຄວາມກ່ຽວຂ້ອງ. ມັນແມ່ນສ່ວນຂອງຄວາມແຕກຕ່າງໃນ y ອະທິບາຍໂດຍສາຍພົວພັນເສັ້ນກັບ x - r ຂອງ 0.8 ເຮັດໃຫ້ R² ຂອງ 0.64, ຫມາຍຄວາມວ່າ 64% ຂອງຄວາມແຕກຕ່າງແມ່ນໄດ້ລາຍງານສໍາລັບ.

ອັນໃດ​ແມ່ນ​ການ​ຄິດໄລ່​ທີ່​ມີ​ຄວາມ​ກ່ຽວຂ້ອງ​ຢ່າງ​ແຂງ​ແຮງ?

ສໍາລັບຄໍາແນະນໍາ rough, absolute r ຕ່ໍາກວ່າ 0.3 ແມ່ນອ່ອນແອ, ປະມານ 0.3 ເຖິງ 0.5 ກາງ, 0.5 ເຖິງ 0.7 ກາງ-ເພື່ອ-ແຂງແຮງແລະສູງກວ່າ 0.7 ແຂງແຮງ. ເຄື່ອງຄິດໄລ່ນີ້ລະບຸຄວາມເຂັ້ມແຂງສໍາລັບທ່ານ, ແຕ່ cutoffs ມີຄວາມຮູ້ສຶກແຕກຕ່າງກັນໂດຍສວນ.

ຂໍ້​ມູນ​ທີ່​ບໍ່​ເປັນ​ຈິງ​ແມ່ນ​ໝາຍ​ຄວາມ​ວ່າ​ແນວໃດ?

r ດ້ານລົບ ໝາຍຄວາມວ່າຕົວປ່ຽນແປງເຄື່ອນຍ້າຍໄປໃນທິດທາງກົງກັນຂ້າມ: ເມື່ອຫນຶ່ງຂຶ້ນ ອີກອັນຫນຶ່ງມັກຈະຕົກ. r ຂອງ -0.9 ແມ່ນຄວາມສຳພັນທາງລຸ່ມທີ່ເຂັ້ມແຂງຄືກັບ +0.9, ພຽງແຕ່ປ່ຽນທິດທາງ.

ມີຄວາມແຕກຕ່າງກັນລະຫວ່າງການເຊື່ອມໂຍງແລະ covariance ແມ່ນຫຍັງ?

Covariance measures how two variables vary together but its size depends on their units, so it is hard to interpret. Pearson’s r is the covariance divided by the two standard deviations, which rescales it to a unit-free −1 to +1 range.

ເສັ້ນ​ການ​ກັບ​ຄືນ​ມາ​ແມ່ນ​ກ່ຽວຂ້ອງ​ກັບ​ການ​ພົວພັນ​ແບບ​ໃດ?

ເສັ້ນ​ທີ່​ກັບ​ຄືນ​ມາ​ດ້ວຍ​ຕົວ​ເລກ​ສີ່​ຫຼ່ຽມ​ນ້ອຍ​ສຸດ ແມ່ນ​ເສັ້ນ​ກົງ​ທີ່​ເໝາະສົມ​ກັບ​ຈຸດ​ທີ່​ດີ​ທີ່​ສຸດ ແລະ ເສັ້ນ​ໂຄ້ງ​ຂອງ​ມັນ​ແບ່ງປັນ​ສັນຍາລັກ​ຂອງ​ມັນ​ກັບ r. ສາຍ​ພົວພັນ​ບອກ​ທ່ານ​ວ່າ ຈຸດ​ທີ່​ອ້ອມ​ຮອບ​ເສັ້ນ​ນັ້ນ​ຫນັກ​ປານ​ໃດ, ໃນຂະນະທີ່ r² ສະແດງ​ສ່ວນ​ແບ່ງ​ຂອງ​ການ​ປ່ຽນແປງ​ທີ່​ເສັ້ນ​ອະທິບາຍ​ໃຫ້​ທ່ານ​ເຫັນ.

❤️ ຮັກ Calculator.Free? ແບ່ງປັນ

𝕏  X Facebook Reddit
API — ໃຊ້​ເຄື່ອງ​ຄິດໄລ່​ນີ້​ຈາກ​ໂປຣແກຣມ

ໂທ​ເຄື່ອງ​ຄິດໄລ່​ນີ້​ເປັນ​ຈຸດ​ຈົບ JSON ຟຣີ - ບໍ່​ຕ້ອງການ​ກູ​ໂກ. ສົ່ງ​ຄ່າ​ພື້ນ​ທີ່​ຂ້າງ​ລຸ່ມ​ນີ້​ເປັນ​ປາຣມາ​ຕິກ​ຄໍາ​ຖາມ ຫຼື JSON. ທຸກ​ສິ່ງ​ທີ່​ທ່ານ​ລົບ​ອອກ ຈະ​ໃຊ້​ຕົວ​ອັກສອນ​ທີ່​ໜ້າ​ນີ້​ໄດ້​ຕື່ມ​ໄວ້​ກ່ອນ; ພາຣາມິເຕີ​ທີ່​ບໍ່​ຮູ້​ແມ່ນ 400, ບໍ່​ແມ່ນ​ສະກຸນ​ທີ່​ບໍ່​ມີ​ສຽງ​ເລີຍ. ອ່ານ​ເອກະສານ API ເຕັມ →

ຈຸດ​ສຸດ​ທ້າຍ

GET https://calculator.free/api/v1/correlation-coefficient/

curl

curl "https://calculator.free/api/v1/correlation-coefficient/?x=1, 2, 3, 4, 5&y=2, 4, 5, 4, 6"

JavaScript fetch()

const r = await fetch(
  "https://calculator.free/api/v1/correlation-coefficient/?" + new URLSearchParams({
    "x": "1, 2, 3, 4, 5",
    "y": "2, 4, 5, 4, 6"
  }));
const data = await r.json();
console.log(data.results);

ຜົນໄດ້ຮັບແມ່ນຄາດຄະເນສໍາລັບຄໍາແນະນໍາທົ່ວໄປເທົ່ານັ້ນ, ບໍ່ການເງິນ, ຄໍາແນະນໍາທາງການແພດຫຼືພາສີ.