מעגלעכקייט־רעקאָנטאַקט
Combine two independent event probabilities: and, or, neither.
רעזולטאטן װי איר שרײַבט
װײַז די װײַז־פּראָגראַם
example, if the probability of two independent events A and B is 50%, then the probability of both events happening is 100%. The probability calculator uses the following rules: P(A and B) = P(A) × P(B); P(A or B) = P(A) + P(B) − P(A and B); P(neither) = (1 − P(A)) × (1 − P(B)); and "only A" is P(A) − P(A and B). A pie chart splits the sample space into the four mutually exclusive outcomes (both, A only, B only, neither).There are four possible outcomes: P(A and B) = P(A) × P(B); P(A or B) = P(A) × P(B); P(neither) = P(A) × P(B). The probability calculator uses the following rules: P(A) = 50% and P(B) = 50% (the probability of both events happening is 100%).The probability calculator uses the following rules: P(A) = 50% and P(B) = 50% (the probability of both events happening is 100%).The probability calculator uses the following rules: P(A) = 50% and P(B) = 50%.The probability calculator uses the following rules: P(A) = 50% and P(B) = 50%.The probability calculator uses the following rules: P(A) = 50% and P(B) = 50%.The probability calculator uses the following rules: P(A) = 50% and P(B) = 50%.The probability calculator uses the following rules: P(A) = 50% and P(B) = 50%.The probability calculator uses the following rules: P(A) = 50% and P(B) = 50%.The probability calculator uses the following rules
פֿראַגעס
ווי אַזוי געפֿינען איך די מעגלעכקייט פֿון צוויי געשעענישן וואָס זײַנען ביידע געשען?
For independent events, multiply their probabilities: P(A and B) = P(A) · P(B). A 50% event and a 30% event both occurring is 0.5 × 0.3 = 0.15, or 15%.
וואָס מיינט דאָ "אויסגעשלאָסן"?
אױב די געשעענישן זײַנען אױסגעפֿירט װי אױף אַ װײַז, װעט מען װײַזן די װײַז־פֿאָרעם אױף דער װײַז־פֿאָרם־װײַז־פֿאָרעם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָרם־װײַז־פֿאָר
ווי איז "א אָדער ב" באַרעכטיקט?
P(A אָדער B) = P(A) + P(B) − P(A און B). צוצונעמען דעם איבערגלײַכונג װײַזט אױף, אַז די געװײנטלעכע רעזולטאטן װעלן ניט קײן מאָל װײַטער װײַזן, אַזוי אַז דער רעזולטאט איז קײן מאָל ניט העכער 100%
ווי אַזוי געפֿינען איך די מעגלעכקייט אַז קיין צוויי געשעענישן פּאַסירן ניט?
מײלײג די צײַטונגען װאָס װײניקער געשעענישן װעלן ניט פּאַסירן: P(נידער) = (1 − P(A)) × (1 − P(B)). פֿאַר אַ 50% און אַ 30% געשעעניש איז דאָס 0.5 × 0.7 = 0.35, אָדער 35%
וואָס איז דער חילוק צװישן "אײן אױב ב" און "איך בין אױף איין וועג"?
"אײן אױב ב" אַרײַננעמען דעם פֿאַקט װוּ בײדע פּאַסירן, בשעת "אײן אױב ב" װײניקט עס אױס. "אײן אױב ב" איז גלייך צו P(אײן אױב ב) מינוס P(אײן אױב ב), װי מען רעכנט די צוויי אײנע־אײנע אױספֿירונגען אָבער ניט די איבערהײב
װאָס אויב די צוויי געשעענישן זײַנען ניט אַװעקגעפֿאָרן?
These formulas assume independence. If one event affects the other you need conditional probability, P(A and B) = P(A) × P(B | A), and this calculator will overstate or understate the combined chances.
אױב די װירוס איז אױף אױס, װעט זי זיך אױפֿשטעלן אין די װירוס־פֿאַרבײַטונג.
The four mutually exclusive outcomes — both, A only, B only and neither — always sum to exactly 100%. Individual figures like "A or B" can be large, but they never exceed 100% because the overlap is subtracted.
API — ניצע דעם קאַלקולאַטאָר פֿון קאָד
קלײַב אױס דעם קלײנער װי אַ פֿרײַן JSON סוף־פּונקט — קײן קלײַב ניט נייטיק. שיקן די פֿעלדער־באַטרעף אונטער דעם װי אַ פֿראַגע־פּאַראַמעטער אָדער JSON Anything you omit uses the same default this page is pre-filled with; an unknown parameter is a 400, never a silent zero. לייענען די גאַנץ API דאָקומענטאַציע →
סוף־פּראָצעס
GET https://calculator.free/api/v1/probability/
curl
curl "https://calculator.free/api/v1/probability/?pa=50&pb=30"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/probability/?" + new URLSearchParams({
"pa": "50",
"pb": "30"
}));
const data = await r.json();
console.log(data.results);
רעזולטאטן זײַנען אָפּשאַצונגען נאָר פֿאַר אַלגעמיינע װײַזן, ניט פֿאַר פינאַנציעל, מעדיציניש אָדער באַדערפֿענישן