Correlation Coefficient Calculator
סיכום Piersons r בין שתי רשימות של מספרים.
תוצאות עדכון כפי שאתה להקליד.
אודות המחשבון הזה
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² is the square of the correlation coefficient. It is the proportion of the variation in y explained by a linear relationship with x — an r of 0.8 gives an R² of 0.64, meaning 64% of the variation is accounted for.
מה נחשב כקשר חזק?
כמדריך מחוספס, r מוחלט מתחת ל-0.3 חלש, בסביבות 0.3 ל-0.5 מתון, 0.5 ל-0.7 מתון-חזק ומעל 0.7 חזק. המחשבון הזה מדביק את הכוח עבורך, אך קיצוץ הגיוני משתנה בשדה.
מה משמעות הקשר השלילי?
R שלילי פירושו המשתנים נעים בכיוונים מנוגדים: כאשר אחד עולה והשני נוטה ליפול. r של 0.9 הוא בדיוק כמו מערכת יחסים לינארית, רק הפוך בכיוון.
מה ההבדל בין קשר לבין שיתוף פעולה?
הקווואריאנס מודד את ההבדל בין שני משתנים, אך גודלם תלוי ביחידותיהם, לכן קשה לפרש. פירסון r הוא הקווואריאנס, חלקי שתי סטיות תקן, אשר מכוונות אותו מחדש למגוון יחידה-חופשי ל-+1.
איך קו הנסיגה קשור לקשר?
קו רגרסיה בריבועים הכי פחות הוא קו ישר שמתאים הכי טוב לנקודות, ומדרון זה חולק את השלט שלו עם r. ההתאמה אומרת לך כמה חזק הנקודות מחבקות את הקו הזה, בעוד R2 נותן את החלק של וריאציה הקו מסביר.
API — use this calculator from code
Call this calculator as a free JSON endpoint — no key required. Send the field values below as query parameters or 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);
התוצאות הן הערכות להדרכה כללית בלבד, לא ייעוץ כספי, רפואי או מס.