Te tātaitai taurite o te pāhonotanga
Ka tatau i te r a Pearson i waenganui i ngā rārangi tau e rua.
Ka whakahōutia ngā hua i te wā e tātuhi ana.
Mo tēnei tātaitai
is a metric of the correlation between two variables. It is used to measure the strength of a linear relationship between two variables. It is used to measure the correlation between two variables. It is used to measure the correlation between two variables. It is used to measure the correlation between two variables. It is used to measure the correlation between two variables. It is used to measure the correlation between two variables. It is used to measure the correlation between two variables. It is used to measure the correlation between two variables. It is used to measure the correlation between two variables. It is used to measure the correlation between two variables. It is used to measure the correlation between two variables. It is used to measure the correlation between two variables. It is used to measure the correlation between two variables.Worked example:Enter paired x and y values in the same order; the two lists must have the same number of values.Worked example:Enter paired x and y values in the same order;Enter paired x and y values in the same order;Enter paired x and y values in the same order;Enter paired x and y values in the same order;Enter paired x and y values in the same order;Enter paired x and y values in the same order;Enter paired x and y values in the same order;Enter paired x and y values in the same order;Enter paired x and y values in the same order;Enter paired x and y values in the same order;Enter paired x and y values in the same order;Enter paired x and y values in the same order;Enter paired x and y values in the same order;Enter paired x and y values in the same order;Enter paired x and y values in the same order;Enter paired x and y values in the same order;Enter paired x and y values in the same order;Enter paired x and y values in the same order;Enter paired x and y values in the same order;Enter paired x and y values in the same order;Enter paired x and y values in the same
Ko nga pātai e pā ana
He aha te kī a te tauwhāiti pāhono ki a au?
E whakapūtātia ana e ia te tata o ngā tāupe e rua e neke ana i te taha o tētahi raina hāngai. Ko ngā uara tata ki +1, −1 rānei e tohu ana i tētahi pātahitanga paerangi kaha, ā, ko ngā uara tata ki te 0 e tohu ana he iti, kāore rānei i te pātahitanga paerangi. E whakaatu ana te tohu i te aronga o te pātahitanga.
Ko te tikanga o te pātahitanga he take?
Kāore. E whakaatu ana te pātahitanga tiketike i ngā tāupe e rua e neke ana, engari kāore te kotahi e take ana i te atu. Ka taea e tētahi take whakamārōrō tuatoru, te pātahitanga mārō rānei, te waihanga i tētahi pātahitanga kaha me te kore pātahitanga take.
He aha te R²?
Ko te R² te tapawhā o te tauwhāiti pāhonotanga, ko te ōwehenga o te rerekētanga i roto i te y e whakamāramatia ana e tētahi pātahitanga paerangi ki te x — ko te r o te 0.8 e tuku ana i te R² o te 0.64, ko te tikanga e whakapūtātia ana te 64% o te rerekētanga.
He aha te tatau i te hononga kaha?
Hei tohutohu tōtika, he māmā te r tūturu i raro i te 0.3, tata ki te 0.3 ki te 0.5 ngāwari, 0.5 ki te 0.7 ngāwari ki te kaha, ā, ki runga ake i te 0.7 kaha. Ka whakapūtā tēnei tātaitai i te kaha mō koe, engari he rerekē ngā whakawhāiti mā te āpure.
He aha te tikanga o te pātahitanga tōraro?
Ko te tikanga o te r tōraro ko ngā tāupe e neke ana i ngā aronga pātata: i te pikinga o tētahi, ka whakapeka te atu. Ko te r o −0.9 he pātahitanga paerangi kaha pēnei i te +0.9, i te aronga anake.
He aha te rerekētanga i waenganui i te pātahitanga me te whakarerekētanga?
Ko te covariance e ine ana i te āhua o te rerekētanga o ngā tāupe e rua, engari kei runga tōna rahi i a rātau waeine, nō reira he uaua ki te whakamārama. Ko te r o Pearson te covariance i wehea e ngā whakarerenga paerewa e rua, e whakarārangi ana ki tētahi awhe kotahi-kore -1 ki +1.
He pēhea te pātahitanga o te raina whakateretanga ki te pātahitanga?
Ko te raina whakarerekētanga tapawhā iti rawa te raina hāngai tino pai rawa e ōrite ana ki ngā ira, ā, ka tiritiri tana ātaahua ki te tohu me te r. E kī ana te pātahitanga ki a koe he pēhea te āhua o ngā ira e whakawhāiti ana i taua raina, i te wā e hoatu ana e te r² te wāhanga o te rerekētanga e whakamāramatia ana e te raina.
API — whakamahi tēnei tātaitai mai i te waehere
E kī ana tēnei tātaitai hei wāhi mutunga kore JSON - kāore he kī e hiahiatia ana. Ka tukuna ngā uara āpure i raro nei hei tohutoro pātai, JSON rānei. Ka pānui te papatono API katoa →
Whakamutunga
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);
Ko ngā hua he whakataunga mō te tohutohu ahuwhānui anake, ehara i te tohutohu moni, rongoā, tāke rānei.