I-Calculator ye-Binomal Probability
Fumana ukwenzeka kwempumelelo ye k kwi n izifundo ezizimeleyo.
Iinketho ze projekti
Malunga nale Calculator
the binomial distribution is used to calculate the number of successes in a fixed number of independent trials, each with the same success probability — the classic "how many heads in ten coin flips" problem. It returns the probability of exactly k successes, P(X = k) = C(n, k)·pᵏ·(1 − p)ⁿ⁻ᵏ), along with the cumulative probabilities of at most k and at least k successes. It also reports the distribution’s mean (n·p), variance (n·p·(1 − p)) and standard deviation, and shows the full probability distribution as a table and a chart.The binomial probability calculator uses the binomial distribution to model the number of successes in aWorked exampleThe term C(n, k) is the number of ways to choose which k of the n trials succeed, pᵏ is the chance those k succeed and (1 − p)ⁿ⁻ᵏ the chance the rest fail. The distribution’s mean (n·p) is 0.5³ × 0.5⁷ ≈ 11.7%. The expected number of heads is 5.The term C(n, k) is the number of ways to choose which k of the n trials succeed, pᵏ is the chance those k succeed and (1 − p)ⁿ⁻ᵏ the chance the rest fail. The term C(n, k) is the number of ways to choose
Imibuzo ebuza rhoqo
Ndisebenzisa njani unikezelo lwe-binomial?
Sebenzisa xa kukho inani elimiselweyo leentlanganiso ezizimeleyo, iintlanganiso nganye zineempawu ezimbini kuphela (uphumelela okanye ukungaphumelelanga), kwaye ukwenzeka kwempumelelo kufanayo ngazo zonke iimeko - njengokujikelezisa imali yegolide amaxesha angama-10 okanye ubalo lwezinto ezibi kwiqela.
Yintoni utshintsho phakathi kweP(X = k) neP(X ≤ k)?
P(X = k) yingozi yempumelelo epheleleyo ye k, ngelixa iP(X ≤ k) idibanisa ingozi ye0, 1, … ukuya kwimpumelelo ye k. Uhlobo oludityanisiweyo luphendula imibuzo njenge "luthini ukwenzeka kwempumelelo eninzi ye 3?"
Yintoni "n khetha k"?
C( n, k), funda "n khetha k", yinani leendlela ezahlukeneyo zokukhetha k ye n iimvavanyo eziphumelelayo. Kwiimvavanyo ezili-10 ne3 eziphumelelayo kukho i C( 10, 3) = 120 ezidityanisiweyo, kwaye nganye ixhasa ukwenzeka okupheleleyo.
Yintoni i-mean kunye ne-standard deviation yonikezelo lwe-binomial?
Ixabiso eliphakathi (inani elilindelekileyo lempumelelo) liyi n· p kwaye utshintsho luyi n· p· (1 − p), ngoko utshintsho olusezantsi luyi √( n· p· (1 − p)). Kwiimali ezili-10 ezilungileyo utshintsho oluphakathi luyi 5 kwaye utshintsho olusezantsi lumalunga ne 1. 58.
Ndizakuba ndikwazi nini ukuthelekiswa kwe-binomial ngonikezelo oluqhelekileyo?
Xa i n ikhulu kwaye zombini i n· p ne n· (1 − p) zimalunga ne 10, ibininomial ilungelelaniswe kakuhle ngokunikezelwa okuqhelekileyo ngenye iphakathi kunye nokuguquka okuqhelekileyo. Oku kuyinkxaso yovavanyo oluninzi lwemilinganiselo yesampulu enkulu.
Ndiyifumana njani inyaniso ye k izigqibo eziphumelelayo?
P(X ≥ k) idibanisa iimfuno ze k, k+1,... ukuya kwi n izigqibo. Ilingana ne 1 - P(X ≤ k - 1), kwaye le calculator ye binomial imfuno ixela ngokuthe ngqo ecaleni kwe "ixabiso elikhulu".
API — sebenzisa le calculator ukusuka kwikhowudi
Nceda le kalkulator njengendawo esemva ye-JSON ekhululekileyo - akukho qhosha lifunekayo. Thumela amaxabiso endawo engezantsi njengeparameter yombuzo okanye i-JSON. Funda i-API epheleleyo →
Incopho yesiphelo
GET https://calculator.free/api/v1/binomial-probability/
curl
curl "https://calculator.free/api/v1/binomial-probability/?n=10&k=3&p=50"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/binomial-probability/?" + new URLSearchParams({
"n": "10",
"k": "3",
"p": "50"
}));
const data = await r.json();
console.log(data.results);
IiNtlanganiso zeNtlanganiso yeNtlanganiso