Корреляция коэффициенті калькуляторы
Екі сан тізімінің арасындағы Пиерсонның r- ын есептеу.
Нәтижелер жазу барысында жаңартылмақ.
Калькулятор туралы
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 either variable never changes. It needs at least two pairs, and the result is plotted with its best-fit line. The calculator returns r, the coefficient of determination r², the covariance, and the least-squares regression line (slope and intercept).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.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,
Жиі қойылатын сұрақтар
Корреляция коэффициенті нені көрсетеді?
Бұл екі айнымалының түзу сызықта бір- біріне қаншалықты жақын екенін көрсетеді. +1 не - 1 жақын мәні - тығыз сызықтық байланысты, 0 жақын мәні - аз немесе сызықтық байланыс жоқ дегенді білдіреді. Белгісі - байланыстың бағытын көрсетеді.
Корреляция себеп-салдарлықты білдіре ме?
Жоқ. Жоғары корреляция екі айнымалы бір- бірімен бірге қозғалып жатқанын, бірақ біреуі екіншісін туғызатынын көрсетеді. Жасырын үшінші фактор, яғни тұтас кездескені, себепті байланыссыз мықты корреляцияны туғызады.
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.
Қандай жағдай күшті корреляция деп есептеледі?
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.
Кері корреляция дегеніміз не?
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.
Корреляция мен ковариацияның айырмашылығы неде?
Коварианттық екі айнымалының қалай өзгеретінін өлшейді, бірақ оның өлшемі олардың бірліктеріне байланысты, сондықтан оны түсіндіру қиын. Пирсонның r - екі стандартты ауытқумен бөлінген коварианттық, ол оны бірліксіз -1-ден +1-ге дейінгі арақашықтыққа масштабтайды.
Регрессия сызығы корреляциямен қалай байланысты?
Кіші квадраттық регрессия сызығы - бұл нүктелерге ең жақын түзу сызық, оның ығысуы r белгісіне тең. Корреляциясы нүктелердің сызыққа қаншалықты жақын екенін көрсетеді, ал r² сызық түсіндіретін ауытқу үлесін көрсетеді.
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);
Нәтижелер тек жалпы нұсқаулық ретінде ғана есептеледі, қаржылық, медициналық немесе салық кеңесі ретінде емес.