Presentasi sedang didownload. Silahkan tunggu

Presentasi sedang didownload. Silahkan tunggu

Probability Distribution

Presentasi serupa


Presentasi berjudul: "Probability Distribution"— Transcript presentasi:

1 Probability Distribution
Probability and Probability Distribution Dosen: Dr. Sony Sunaryo,M.Si. Kuliah Penyegaran Statistik Bisnis MMT-ITS 2014

2 Contoh-contoh Pernyataan Probabilitas di Bidang Produksi
Probabilitas goresan dalam produksi plat baja adalah 10% Probabilitas berkurangnya berat produk adalah 1%. Probabilitas ditemukannya produk cacat dalam suatu pemeriksaan (inspeksi) adalah 5%. Setelah beroperasi, probabilitas mesin trouble dalam 8 jam adalah 3%. Probabilitas cacat suatu produk manufaktur dari pabrik A lebih besar dari pabrik B. Apa maknanya ????

3 Random Variable Suatu variabel acak (random variable) adalah ukuran numerik dari hasil percobaan probabilitas, sehingga nilainya ditentukan oleh kesempatan (chance). Variabel acak dinotasikan dengan huruf besar seperti X.

4 Dua Jenis Variabel Random
Variabel acak diskrit yaitu variabel acak yang memiliki nilai-nilai yang mungkin dalam jumlah terbatas atau dapat dihitung. Nilainya diperoleh dengan cara mencacah/ menghitung. Variabel acak kontinu yaitu variabel acak yang memiliki kemungkinan nilai dalam jumlah tak terbatas atau banyaknya kemungkinan nilai tidak terhitung. Nilainya diperoleh dengan cara mengukur.

5 EXAMPLE. Distinguishing Between Discrete and
EXAMPLE Distinguishing Between Discrete and Continuous Random Variables Determine whether the following random variables are discrete or continuous. State possible values for the random variable. (a) The number of light bulbs that burn out in a room of 10 light bulbs in the next year. (b) The number of leaves on a randomly selected the tree. (c) The length of time between calls to 109.

6 Probability Distributions
The histogram (or stem-and-leaf plot, or box plot) is used to describe sample data. A sample is a collection of measurements selected from some larger source or population. A probability distribution is a mathematical model that relates the value of the variable with the probability of occurrence of that value in the population.

7 Probability Distribution
A probability distribution provides the possible values of the random variable and their corresponding probabilities. A probability distribution can be in the form of a table, graph or mathematical formula.

8 The table below shows the probability distribution for the random variable X (Why ?), where X represents the number of DVDs a person rents from a video store during a single visit.

9

10 Is the following a probability distribution? Why?
EXAMPLE 1 Identifying Probability Distributions Is the following a probability distribution? Why?

11 Is the following a probability distribution? Why?
EXAMPLE 2 Identifying Probability Distributions Is the following a probability distribution? Why?

12 A probability histogram is a histogram in which the horizontal axis corresponds to the value of the random variable and the vertical axis represents the probability of that value of the random variable.

13 EXAMPLE Drawing a Probability Histogram
Draw a probability histogram of the following probability distribution which represents the number of DVDs a person rents from a video store during a single visit.

14 x prob 0.06 1 0.58 2 0.22 3 0.1 4 0.03 5 0.01 1 2 3 4 5

15 Continuous Probability Distributions
Keller: Stats for Mgmt & Econ, 7th Ed April 7, 2017 Continuous Probability Distributions Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc.

16 Probability Density Functions
Unlike a discrete random variable, a continuous random variable is one that can assume an uncountable number of values. We cannot list the possible values because there is an infinite number of them. Because there is an infinite number of values, the probability of each individual value is virtually 0.

17 Point Probabilities are Zero
Because there is an infinite number of values, the probability of each individual value is virtually 0. Thus, we can determine the probability of a range of values only. E.g. with a discrete random variable like number of defect, it is meaningful to talk about P(X=5), say. In a continuous setting (e.g. with time as a random variable), the probability the random variable of interest, say task length, takes exactly 5 minutes is infinitesimally small, hence P(X=5) = 0. It is meaningful to talk about P(X ≤ 5).

18 Important Discrete Distributions
Keller: Stats for Mgmt & Econ, 7th Ed April 7, 2017 Important Discrete Distributions Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc.

19  Binomial Distribution
Distribusi binomial di Bidang Produksi: - Variabel acak yang menyatakan banyaknya barang cacat yang diambil "n“ sekumpulan produk dari proses yang rata-rata tingkat kecacatannya "p“, akan memiliki distribusi Binomial.

20 Gambar dibawah menunjukkan hasil pemeriksaan "n = 30" barang yang diambil dari barang-barang yang diproduksi oleh suatu proses dengan tingkat keca-catan, p = 0,16. Yaitu menyatakan frekwensi relatif dari barang-barang yang cacat. Ketika kita ingin menghitung peluang, misalnya, peluang untuk memperoleh lebih kecil dari 2 potong barang cacat dari 30 barang yang diambil, maka distribusi binomial dapat diterapkan.

21 Binomial Distribution Function: Ketika hasil percobaan diklasifikasikan ke dalam dua cara seperti baik/cacat atau berhasil/gagal yang dilakukan "n" kali, maka variabel X yang menyatakan banyaknya sukses yang ada dalam n, akan mengikuti distribusi binomial, yang nilai peluangnya seperti berikut:. n: the number of total executed p: the probability of success in execution, the value of between 0 and 1 x: the number of success among “n” times’ execution Notasi Bin(n,p)

22 Binomial Probability Histogram
Figure (a) Bin(10, 0.4) (b) Bin(20, 0.1)

23 Mean, Variance, Standard Deviation of Binomial Distribution :
Mean : np, Variance : np( 1- p ), Standard deviation : Exercise: There is a production process with defect rate of 1%. What’s the probability of defect of under or same 1piece out of n=10 sample taken from total produced goods? Mean and Variance ? (use Manual and Minitab) Answer: P( X  1 ) = P( X = 0 ) + P( X = 1 ) = 1     0.999 = = mean= np =10  0.01=0.1 variance= np(1-p)=10  0.01  0.99=0.099

24 ( Use Minitab 1 ) Step Input in Worksheet as below

25 Step 2. Input in Calc > Probability Distributions > Binomial as
below P (X = a) = ? P (X  a) = ? P (X  ?) = b

26 Step 3. Confirmation of Results
P(X=0)=0.9044, P(X=1)= , P( X  1 ) = P( X = 0 ) + P( X = 1 ) = =

27 ( Minitab use 2 ) Step 1. Input in Calc > Probability Distributions > Binomial as below.

28 Step 2. Confirmation of result
The result turns out to be P(X  1)=

29  Poisson Distribution
Contoh Distribusi Poisson : Banyaknya kejadian yang frekwensinya rendah dan jarang terjadi pada waktu yang ditentukan atau ruang yang ditentukan, misalnya: Banyaknya cacat per area tertentu. - Banyaknya mesin trouble dalam suatu hari - Banyaknya kecelakaan lalu lintas yang terjadi di suatu persimpangan F r equency 45 The left picture shows the number of defects in the surface of steel plate. The Poisson Distribution is applied in the data of “number of defect” 30 10 Defects

30 E[X] = , V[X] =  The Poisson Distribution Function:
 : the number of defect a unit The feature of Poisson Distribution: Mean and Variance with the number of defects per unit (dpu) are identical. E[X] = , V[X] = 

31 Poisson Probability Histogram
Figure (a) Poisson(1) (b) Poisson(10)

32 to manage the mistake of a bill. If the number of
ex A department of making bill in credit card co. is willing to manage the mistake of a bill. If the number of mistake per bill is average 0.01 as Poisson Distribution, what’s the probability of under 1 mistake in taken bills random ? (Use Manual and Minitab) Answer.

33 ( Use Minitab 1 ) Step Input data in Worksheet as below

34 Step 2. Input in Calc > Probability Distributions > Poisson
as below

35 Step 3. Confirmation of Result
P(X=0)=0.9900, P(X=1)= , P( X  1 ) = P( X = 0 ) + P( X = 1 ) = =

36 ( Use Minitab 2 ) Step Input in Calc > Probability Distributions > Poisson as below

37 Step 2. Confirmation of Results
The result turns out to be P(X  1)=0.9999

38 Distribusi Hipergeometrik
Distribusi hipergeometrik mempunyai sifat: 1. Sampel acak berukuran n yang diambil tanpa pengembalian dari N benda. 2. Sebanyak k-benda dapat diberi nama sukses dan sisanya N-k diberi nama gagal.

39 DISTRIBUSI HIPERGEOMETRIK
N = besar populasi k = sifat tertentu dari populasi (misal sukses) N = besar sampel X = variabel random (banyak sifat k dalam n) Distribusi probabilitas perubah acak hipergeometrik X yang menyatakan banyak nya kesuksesan dalam sampel acak dengan ukuran n yang diambil dari N-obyek yang memuat k sukses dan N-k gagal dinyatakan sebagai:

40 Contoh Suatu panitia 5 orang dipilih secara acak dari 3 kimiawan dan 5 fisikawan. Hitung distribusi probabilitas banyknya kimiawan yang duduk dalam panitia. Jawab:

41 Misalkan: X= menyatakan banyaknya kimiawan dalam panitia. X={0,1,2,3}
Distribusi probabilitasnya dinyatakan dengan rumus ; Tabel Distribusi hipergeometrik x 1 2 3 h(x;8,5,3)

42 Distribusi hipergeometrik h(x;N,n,k) mempunyai rata-rata dan variansi sbb:
Contoh Tentukan mean dan variansi dari contoh sebelumnya Jawab: diketahui n=15 dan p=0.4 Diperoleh

43 Contoh Suatu pabrik ban mempunyai data bahwa dari pengiriman sebanyak 5000 ban ke sebuah toko tertentu terdapat 1000 cacat. Jika ada seseorang membeli 10 ban ini secara acak dari toko tersebut, berapa probabilitasnya memuat tepat 3 yang cacat. Jawab: Karena n=10 cukup kecil dibandingkan N=5000, maka probabilitasnya dihampiri dengan binomial dengan p= 1000/5000= 0,2 adalah probailitas mendapat satu banJadi probabilitas mendapat tepat 3 ban cacat: 43

44 Probability Density Function
Hypergeometric with N = 5000, M = 1000, and n = 10 x P( X = x ) 3 0,201478 Probability Density Function Binomial with n = 10 and p = 0,2 x P( X = x ) 3 0,201327

45 Contoh : Seseorang memesan jeruk 1 truk yang berisi buah dengan perjanjian hanya 1 % jeruk yang masam. Untuk jadi atau tidak menerima pesanan tersebut dibuat kriteria sebagai berikut : “Dari 10 jeruk yang dites, jika terdapat hanya 1 jeruk yang masam maka pesanan tersebut diterima, lebih dari 1 ditolak.” a).Hitung resiko produsen (Kesalahan Jenis I : menolak yang benar) b). Andaikan penjual melakukan “manipulasi” dengan memasukkan 5 % yang masam, hitung resiko konsumen (Kesalahan Jenis II : menerima yang salah)

46 Contoh : Andaikan bahwa probabilitas terdapat kerusakan dalam kawat baja buatan pabrik tertentu yang panjangnya 1 mil (helai) adalah 0,01. Sebuah kabel baja terdiri atas 100 helai kawat halus, yang mana kabel tersebut dapat menahan beban yang direncanakan jika 99 kawat dalam kondisi baik. Hitung probabilitas kabel tersebut dapat menahan beban yang direncanakan. Dari 1000 orang mahasiswa 2 orang mengaku selalu terlambat masuk kuliah setiap hari, jika pada suatu hari terdapat 5000 mahasiswa, berapa peluang ada lebih dari 3 orang yang terlambat?

47 Important Continuous Distributions
Keller: Stats for Mgmt & Econ, 7th Ed April 7, 2017 Important Continuous Distributions Copyright © 2006 Brooks/Cole, a division of Thomson Learning, Inc.

48  Normal Distribution The feature of normal distribution:
- the typical distribution for continuous data. - Most of the data from the field is close to normal distribution. Application of Normal Distribution: - It can be used in the calculation of Sigma level for a process with being capable of taking continuous data. - In case that data is a form of defect goods or the number of defect, it can also be used for calculating Sigma level.

49 The shape of normal distribution:
The mean and standard deviation of normal distribution: - The shape of normal distribution is bell and symmetry. - The form of it is decided by mean () and standard deviation.

50 The shape of Normal Distribution in accordance with
mean and standard deviation As you see the picture, the position of graph is decided by the mean. And the shape of graph is decided by standard deviation.

51 The example of normal distribution in a field:
- diameter luar baut - diameter of bearing (diameter bantalan) - curing time of cement - tensile strength of tungsten alloyed steel - flatness-degree of floor in construction (Derajat kerataan lantai dalam konstruksi) - take time of receiving - weight of product in filling-up factory - purity-degree of product in chemistry process - a diameter of piston of car engine

52 Empirical Rule This figure represents a plot of the normal probability density function with mean  and standard deviation . Note that the curve is symmetric about , so that  is the median as well as the mean. It is also the case for the normal population. About 68% of the population is in the interval   . About 95% of the population is in the interval   2. About 99.7% of the population is in the interval   3.

53 The calculation of probability with Minitab :
- The calculation of probability of normal distribution shall be exposed with using Minitab. ex) In a normal distribution with mean 20, standard deviation 5, please calculate the probability as below.. (use minitab ) ( a ) The probability of X < 15 ( b ) The probability of X  30 ( c ) The probability of X of between 10 and 25

54 (a) P(X<15) Step Input in Calc > probability distributions > normal as below

55 Step 2. Confirmation of result

56 Step 2. Confirmation of result

57 (b) The calculation of P [ X  30 ]
P [ X  30 ] = 1 - P[ X < 30]

58 Step 1. Input In Calc > Probability Distributions > Normal as below

59 Step 2. Confirmation of Result
Then, it turns out to be =

60 ( c ) P [ 10 < X < 25 ] = P (X < 25) - P(X < 10)
Step 1. Input data in Worksheet as below Step 2. Input in Calc > Probability Distributions > Normal as below

61 Step 3. Confirmation of Result
Then, it turns out to be =

62 ex) A tensile strength of a carbon-steel becomes a normal distribution
with mean 171 kg/mm2, standard deviation 5 kg/mm2 approximately. When we measure tensile strength of samples taken from a steel plate, what’s the probability of tensile strength below 165 kg/mm2 ?

63 ( Use Minitab ) Step Input in Calc > Probability Distributions > Normal as below

64 Step 2. Confirmation of result

65 Standard Units The proportion of a normal population that is within a given number of standard deviations of the mean is the same for any normal population. For this reason, when dealing with normal populations, we often convert from the units in which the population items were originally measured to standard units. Standard units tell how many standard deviations an observation is from the population mean.

66 Standard Normal Distribution
In general, we convert to standard units by subtracting the mean and dividing by the standard deviation. Thus, if x is an item sampled from a normal population with mean  and variance 2, the standard unit equivalent of x is the number z, where z = (x - )/. The number z is sometimes called the “z-score” of x. The z-score is an item sampled from a normal population with mean 0 and standard deviation of 1.This normal distribution is called the standard normal distribution.

67 standard normal distribution : The normal distribution with mean=0, standard deviation=1 is standard normal distribution.

68 Z -transformation : There is a normal distribution with Mean ,
standard deviation s of probability variable. Then, becomes the standard normal distribution with mean 0, standard deviation 1.

69 Relation between Sigma-level and Z : in case of being only USL
- The value of Zusl=(USL- m )/ s means Sigma-level. - The bigger of Zusl value, The better of performance of process. Means of Sigma-level of process:

70  Exercise 1. There is a process with defect rate 5%. What’s the probability of under 3 pieces of defect goods out of 15 samples taken from the process. ( Use Minitab ) 2. A department of making bill in credit card co. is willing to manage the mistake of a bill. If the number of mistakes per bill is average 0.05 as Poisson Distribution, what’s the probability of under 3 mistakes in taken bills random ? (Use Minitab)

71 3. The weight of goods produced in a filling-up process is mean 5kg,
standard deviation 0.5kg. When we pick one product among them, what’s the probability of 5kg≤ weight<5.5 ? 4. The defect rate of parts in incoming inspection is 10%. When we inspect 100 pieces, (a) The probability of under 15 pieces of defect goods ? (b) The probability of more than 25 pieces of defect goods ?

72 5. Secara rata-rata, lima nasabah sebuah bank mengadakan transaksi diatas 10 juta rupiah setiap jam. Jika diasumsikan kondisi transaksi tersebut tidak berdistribusi tertentu dan memiliki pola tetap untuk jangka waktu tertentu, tentukan probabilitas bahwa selama satu jam tertentu akan terjadi transaksi dengan nasabah lebih dari 10 juta rupiah, lebih dari 10 kali 6. Anggap 90% Produk yang dihasilkan sebuah perusahaan berkualitas baik. Kepala bagian produksi mengambil 5 produk , berapa probabilitas bahwa sebuah produk tidak berkualitas baik 7. Diketahui suatu distribusi normal dengan rata-rata 50 dan simpangan baku 10. Carilah probabilitas bahawa X mendapat ilai antara 45 dan 62 8. Suatu suku cadang dapat menahan uji guncangan tertentu dengan probabilitas Hitung probabilitas bahwa tepat 2 dari 4 suku cadang yang diuji tidak akan rusak.

73 9. Probabilitas seseorang sembuh dari penyakit jantung setelah operasi adalah 0.4. Bila diketahui 15 orang menderita penyakit ini, berapa peluang: a). sekurang-kurangnya 10 orang dpt sembuh b). ada 3 sampai 8 orang yg sembuh c). tepat 5 orang yg sembuh 10. Kekuatan batang baja yang dibuat dengan proses tertentu diketahui kira-kira mendekati distribusi normal dengan mean 24 dan deviasi standart 3. Para konsumen menghendaki bahwa paling sedikit 95% batang tersebut mempunyai kekuatan lebih Apakah kualitas batang baja tersebut sesuai dengan ketetapan konsumen. 11. Rata-rata jumlah chips cokelat per masak dianggap tujuh menurut manajer umum. Jika kurang dari 3 atau lebih dari 10 chip pada suatu pemasakan, proses pemasakan dilakukan penyesuaian, gunakan distribusi poisson untuk menghitung probabilitas bahwa batas spesifikasi yang ditetapkan oleh manajer dapat dipenuhi.

74 Rule of Thumb For most populations, if the sample size is greater than 30, the Central Limit Theorem approximation is good. Normal approximation to the Binomial: If X ~ Bin(n,p) and if np > 5, and n(1– p) > 5, then X ~ N(np, np(1-p)) approximately. Normal Approximation to the Poisson: If X ~ Poisson(), where dpu > 10, then X ~ N(,  2).

75 Normal approximation to Binomial
Bin(100, 0.2) and N (20, 16)

76 Continuity Correction
The binomial distribution is discrete, while the normal distribution is continuous. The continuity correction is an adjustment, made when approximating a discrete distribution with a continuous one, that can improve the accuracy of the approximation. If you want to include the endpoints in your probability calculation, then extend each endpoint by Then proceed with the calculation. If you want exclude the endpoints in your probability calculation, then include 0.5 less from each endpoint in the calculation.

77 Continuity Correction
P(45X55) P(45<X<55)

78 Example If a fair coin is tossed 100 times, use the normal curve to approximate the probability that the number of heads is between 45 and 55 inclusive. 0.7287

79 Use Minitab Cumulative Distribution Function
Binomial with n = 100 and p = 0,5 x P( X <= x ) ,135627 0,864373 P (45  X  55) = 0, , = 0,728746 Cumulative Distribution Function Normal with mean = 0 and standard deviation = 1 x P( X <= x ) 1, ,864334 -1, ,135666 P (-1,1  X  1,1) = 0, , = 0,728668

80 Example The number of hits on a website follow a Poisson distribution, with a mean of 27 hits per hour. Find the probability that there will be 90 or more hits in three hours.

81 Pendekatan Antar Distribusi Probabilitas
H : Hipergeometrik; B : Binomial; P : Poisson; N: Normal

82 Contoh : Suatu perusahaan memproduksi komponen chip tiap hari 5000 unit untuk komputer dengan kualitas 0,65% cacat. Untuk jadi beli atau tidak dibuat kriteria sebagai berikut : Dari 20 chip yang dites jika paling banyak 2 yang rusak, maka jadi beli, selain itu ditolak Hitung resiko produsen dengan menggunakan : a). Distribusi Hipergeometrik b). Distribusi Binomial c). Distribusi Poisson d). Distribusi Normal sebagai pendekatan Binomial

83 Exercises Suppose that a lot contains 100 items, 5 of which do not conform to requirements. If 10 items are selected at random without replacement, then what is the probability of finding one or fewer nonconforming items in the sample?

84 Exercises A lightbulb has a normally distributed light output with mean 5,000 end foot-candles and standard deviation of 50 end foot-candles. Find a lower specification limit such that only 0.5 % of the bulbs will not exceed this limit.

85 Exercises

86 Exercises

87 Exercises

88 Terimakasih


Download ppt "Probability Distribution"

Presentasi serupa


Iklan oleh Google