NORMAL DISTRIBUTIONS DAN STANDAR NORMAL DISTRIBUTIONS Januari 05, 2022 Nama : Aziz Kurniawan Npm : 19316057 Distribusi peluang geometrik merupakan sebuah fungsi peluang yang menghimpun banyaknya percobaan yang dilakukan untuk memperoleh sukses pertama kali dengan peluang sukses sebesar p dan peluang gagal sebesar q. Jika X menyatakan banyaknya percobaan tersebut maka nilai random variabel x yang mungkin adalah 1, 2, 3, dan seterusnya hingga tak hingga atau x = 1, 2, 3, … , ~. Dengan mudah fungsi peluang distribusi geometrik dinyatakan sebagai berikut: f(x) = pq x-1 untuk x = 1, 2, 3, … , ~ Artikel kali ini akan membahas beberapa aspek dari distribusi geometrik dengan menggunakan R yaitu: Nilai peluang P(X = x), Peluang Kumulatif P(X <= x) dan Simulasi Data berdistribusi Geometrik. 1. Nilai Peluang P(X=x) Nilai peluang P(X=x) dapat dihitung menggunakan R dengan perintah dgeom(x-1,p) . Berikut beberapa contoh penggunaannya: P(X=1, p = 0.2) = dgeom(0,0.2) = 0.2 P(X=5, p = 0.3) = dg
Comments
Post a Comment