Correlation Coefficient Calculator
Compute Pearson’s r between two lists of numbers.
შედეგები ახლდება ტექსტის შეყვანისას.
ამ კალკულატორის შესახებ
arson’s correlation coefficient (r) is a measure of 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 standardizes the result into that fixed −1 to +1 range. It needs at least two pairs, and the result is undefined if either variable never changes. It needs at least two pairs, and the result is undefined if the data is plotted with its best-fit line. It needs at least two pairs, and the result is undefined if either variable never changes. 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.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.Worked example: for x = 1, 2, 3, 4, 5 and y = 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48
ხშირად დასმული კითხვები
What does the correlation coefficient tell me?
ეს რიცხვი გვიჩვენებს, თუ რამდენად ახლოს მოძრაობენ ორი ცვლადი ერთმანეთთან პირდაპირ ხაზზე. +1 ან - 1- ს ახლოს მყოფ მნიშვნელობაებს ძლიერი ხაზური კავშირი ახასიათებთ, ხოლო 0- ს ახლოს მყოფ მნიშვნელობაებს მცირე ან არანაირი ხაზური კავშირი. ნიშნები გვიჩვენებენ კავშირის მიმართულებას.
Does correlation mean causation?
არა. მაღალი კორელაცია გვიჩვენებს, რომ ორი ცვლადი ერთად მოძრაობს, მაგრამ არა იმას, რომ ერთი მეორეს იწვევს. ფარული მესამე ფაქტორი, ან სუფთა შემთხვევითი, შეიძლება შექმნას ძლიერი კორელაცია, რომელიც არ არის მიზეზობრივი კავშირი.
What is R²?
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.
What counts as a strong correlation?
As a rough guide, an absolute r below 0.3 is weak, around 0.3 to 0.5 moderate, 0.5 to 0.7 moderate-to-strong and above 0.7 strong. This calculator labels the strength for you, but sensible cutoffs vary by field.
What does a negative correlation mean?
A negative r means the variables move in opposite directions: as one rises the other tends to fall. An r of −0.9 is just as strong a linear relationship as +0.9, only reversed in direction.
What is the difference between correlation and covariance?
კოვარიანტი ითვლის თუ რამდენად იცვლება ორი ცვლადი ერთად, მაგრამ მისი ზომა დამოკიდებულია მათი ერთეულების რაოდენობაზე, ამიტომ მისი აღქმა რთულია. პერსონის r არის კოვარიანტი, რომელიც გაყოფილია ორი სტანდარტული განსხვავების რაოდენობით, რაც მას გადამაგრებს ერთეულების გარეშე - 1- დან +1- მდე დიაპაზონს.
How is the regression line related to the correlation?
1990-იან წლებში ლეიბლი აქტიურად მუშაობდა დისკოგრაფიის გაფართოებაზე, რათა შეძლებოდა დისკოგრაფიის ნომრების გაზრდა. 1991 წელს ლეიბლი ოფიციალურად დაიშალა, თუმცა ლეიბლი კვლავ აქტიურად მუშაობდა, რის შედეგადაც გამოვიდა 1992 წლის ალბომი „The Best of The Beatles“.
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);
Results are estimates for general guidance only, not financial, medical or tax advice.