Probability Calculator
ორი დამოუკიდებელი მოვლენის ალბათობის შერწყმა: და, ან, არცერთი.
შედეგები ახლდება ტექსტის შეყვანისას.
ამ კალკულატორის შესახებ
This probability calculator takes the chance of two independent events A and B and works out the key combined probabilities: both happening (A and B), at least one happening (A or B), only one of them, and neither happening. It assumes the events are independent, meaning one occurring does not change the chance of the other. Enter each probability as a percentage between 0 and 100.
The rules it applies are the standard ones for independent events: 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).
Worked example: with P(A) = 50% and P(B) = 30%, both happen with probability 0.5 × 0.3 = 15%, at least one happens with probability 0.5 + 0.3 − 0.15 = 65%, and neither happens with probability 0.5 × 0.7 = 35%. These four outcomes always add up to 100%.
ხშირად დასმული კითხვები
How do I find the probability of two events both happening?
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%.
What does independent mean here?
დამოუკიდებელი ნიშნავს, რომ ერთი მოვლენის შედეგი არ მოქმედებს მეორეზე - როგორც ორი განსხვავებული მონეტით გადახტომა. თუ მოვლენები მოქმედებენ ერთმანეთზე (დამოკიდებულნი არიან), ეს ფორმულები არ მოქმედებს და თქვენ საჭიროა პირობითი ალბათობა.
How is "A or B" calculated?
P( A ან B) = P( A) + P( B) − P( A და B). გადაჭიმვის ამოღება ხელს უშლის საერთო შედეგის ორჯერ გათვლას, ასე რომ შედეგი არასდროს აღემატება 100%-ს.
How do I find the probability that neither event happens?
Multiply the chances of each event not happening: P(neither) = (1 − P(A)) × (1 − P(B)). For a 50% and a 30% event that is 0.5 × 0.7 = 0.35, or 35%.
What is the difference between "A or B" and "only one of them"?
"A ან B" მოიცავს შემთხვევას, როდესაც ორივე ხდება, ხოლო "მხოლოდ ერთი" გამორიცხავს მას. "მხოლოდ ერთი" უდრის P(A ან B) minus P(A და B), ითვლის ორი გამორიცხული- ან შედეგი, მაგრამ არა გადაჭარბება.
What if the two events are not independent?
ეს ფორმულები იღებენ დამოუკიდებლობას. თუ ერთი მოვლენა მოქმედებს მეორეზე, თქვენ გჭირდებათ პირობითი ალბათობა, P( A და B) = P( A) × P( B | A), და ეს კალკულატორი გადააჭარბებს ან დააკლებს კომბინირებულ ალბათობას.
Can these probabilities add up to more than 100%?
ოთხი ერთმანეთს გამორიცხული შედეგი - ორივე, მხოლოდ A, მხოლოდ B და არცერთი - ყოველთვის 100%-ს უდრის. ინდივიდუალური რიცხვები, როგორიცაა "A ან B" შეიძლება დიდი იყოს, მაგრამ ისინი არასდროს აღემატება 100%-ს, რადგან გადაჭიმვა ამოღებულია.
API - გამოიყენეთ ეს კალკულატორი კოდისგან
ამ კალკულატორის გამოძახება როგორც უფასო JSON დასასრული - ღილაკი არ არის საჭირო. ქვემოთ მოცემული ველი პარამეტრების ან JSON- ის სახით გაგზავნეთ. ყველა თქვენ მიერ გამოტოვებული პარამეტრის გამოყენებისას იგივე ნაგულისხმევი პარამეტრები გამოიყენება, რაც ამ გვერდზეა; უცნობი პარამეტრის ნომერი არის 400, არასდროს დუმილის ნულს. 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);
Results are estimates for general guidance only, not financial, medical or tax advice.