Presentation is loading. Please wait.

Presentation is loading. Please wait.

Uji Kebaikan Suai (Uji Kecocokan) Pertemuan 23 Matakuliah: Statistika Psikologi Tahun: 2008.

Similar presentations


Presentation on theme: "Uji Kebaikan Suai (Uji Kecocokan) Pertemuan 23 Matakuliah: Statistika Psikologi Tahun: 2008."— Presentation transcript:

1

2 Uji Kebaikan Suai (Uji Kecocokan) Pertemuan 23 Matakuliah: Statistika Psikologi Tahun: 2008

3 Bina Nusantara University 3 Learning Outcomes Pada akhir pertemuan ini, diharapkan mahasiswa akan mampu : Mahasiswa akan dapat menghasilkan simpulan dari hasil uji kenormalan suatu data.

4 Bina Nusantara University 4 Outline Materi Statistik uji Khi-kuadrat Uji kenormalan Uji sebaran binomial

5 Bina Nusantara University 5 Tests of Goodness of Fit and Independence Goodness of Fit Test: A Multinomial Population Tests of Independence: Contingency Tables Goodness of Fit Test: Poisson and Normal Distributions

6 Bina Nusantara University 6 Goodness of Fit Test: A Multinomial Population 1. Set up the null and alternative hypotheses. 2. Select a random sample and record the observed frequency, f i, for each of the k categories. 3. Assuming H 0 is true, compute the expected frequency, e i, in each category by multiplying the category probability by the sample size. continued

7 Bina Nusantara University 7 Goodness of Fit Test: A Multinomial Population 4. Compute the value of the test statistic. 5. Reject H 0 if (where  is the significance level and there are k - 1 degrees of freedom).

8 Bina Nusantara University 8 Contoh Soal: Finger Lakes Homes Multinomial Distribution Goodness of Fit Test The number of homes sold of each model for 100 sales over the past two years is shown below. Model Colonial Ranch Split-Level A-Frame # Sold

9 Bina Nusantara University 9 Contoh Soal: Finger Lakes Homes Multinomial Distribution Goodness of Fit Test –Notation p C = popul. proportion that purchase a colonial p R = popul. proportion that purchase a ranch p S = popul. proportion that purchase a split-level p A = popul. proportion that purchase an A-frame –Hypotheses H 0 : p C = p R = p S = p A =.25 H a : The population proportions are not p C =.25, p R =.25, p S =.25, and p A =.25

10 Bina Nusantara University 10 Contoh Soal: Finger Lakes Homes Multinomial Distribution Goodness of Fit Test –Expected Frequencies e 1 =.25(100) = 25 e 2 =.25(100) = 25 e 3 =.25(100) = 25 e 4 =.25(100) = 25 –Test Statistic = = 10

11 Bina Nusantara University 11 Multinomial Distribution Goodness of Fit Test –Rejection Rule With  =.05 and k - 1 = = 3 degrees of freedom 22 2 Do Not Reject H 0 Reject H 0 Contoh Soal: Finger Lakes Homes

12 Bina Nusantara University 12 Contoh Soal: Finger Lakes Homes Multinomial Distribution Goodness of Fit Test –Conclusion  2 = 10 > 7.81, so we reject the assumption there is no home style preference, at the.05 level of significance.

13 Bina Nusantara University 13 Goodness of Fit Test: Poisson Distribution 1. Set up the null and alternative hypotheses. 2. Select a random sample and a. Record the observed frequency, fi, for each of the k values of the Poisson random variable. b. Compute the mean number of occurrences, μ. 3. Compute the expected frequency of occurrences, ei, for each value of the Poisson random variable. continued

14 Bina Nusantara University 14 Goodness of Fit Test: Poisson Distribution 4. Compute the value of the test statistic. 5. Reject H 0 if (where  is the significance level and there are k - 2 degrees of freedom).

15 Bina Nusantara University 15 Contoh Soal: Troy Parking Garage Poisson Distribution Goodness of Fit Test In studying the need for an additional entrance to a city parking garage, a consultant has recommended an approach that is applicable only in situations where the number of cars entering during a specified time period follows a Poisson distribution.

16 Bina Nusantara University 16 Contoh Soal: Troy Parking Garage Poisson Distribution Goodness of Fit Test A random sample of 100 one-minute time intervals resulted in the customer arrivals listed below. A statistical test must be conducted to see if the assumption of a Poisson distribution is reasonable. # Arrivals Frequency

17 Bina Nusantara University 17 Contoh Soal: Troy Parking Garage Poisson Distribution Goodness of Fit Test –Hypotheses H 0 : Number of cars entering the garage during a one-minute interval is Poisson distributed. H a : Number of cars entering the garage during a one-minute interval is not Poisson distributed

18 Bina Nusantara University 18 Contoh Soal: Troy Parking Garage Poisson Distribution Goodness of Fit Test –Estimate of Poisson Probability Function  otal Arrivals = 0(0) + 1(1) + 2(4) (1) = 600 Total Time Periods = 100 Estimate of  = 600/100 = 6 Hence,

19 Bina Nusantara University 19 Contoh Soal: Troy Parking Garage Poisson Distribution Goodness of Fit Test –Expected Frequencies x f (x ) xf (x ) Total

20 Bina Nusantara University 20 Contoh Soal: Troy Parking Garage Poisson Distribution Goodness of Fit Test –Observed and Expected Frequencies i f i e i f i - e i 0 or 1 or or more

21 Bina Nusantara University 21 Poisson Distribution Goodness of Fit Test –Test Statistic –Rejection Rule With  =.05 and k - p - 1 = = 7 d.f. (where k = number of categories and p = number of population parameters estimated), Reject H 0 if  2 > –Conclusion We cannot reject H 0. There’s no reason to doubt the assumption of a Poisson distribution. Contoh Soal: Troy Parking Garage

22 Bina Nusantara University 22 Goodness of Fit Test: Normal Distribution 4. Compute the value of the test statistic. 5. Reject H 0 if (where  is the significance level and there are k - 3 degrees of freedom).

23 Bina Nusantara University 23 Contoh Soal: Victor Computers Normal Distribution Goodness of Fit Test Victor Computers manufactures and sells a general purpose microcomputer. As part of a study to evaluate sales personnel, management wants to determine if the annual sales volume (number of units sold by a salesperson) follows a normal probability distribution.

24 Bina Nusantara University 24 Contoh Soal: Victor Computers Normal Distribution Goodness of Fit Test A simple random sample of 30 of the salespeople was taken and their numbers of units sold are below (mean = 71, standard deviation = 18.54)

25 Bina Nusantara University 25 Normal Distribution Goodness of Fit Test –Hypotheses H 0 : The population of number of units sold has a normal distribution with mean 71 and standard deviation H a : The population of number of units sold does not have a normal distribution with mean 71 and standard deviation Contoh Soal: Victor Computers

26 Bina Nusantara University 26 Normal Distribution Goodness of Fit Test –Interval Definition To satisfy the requirement of an expected frequency of at least 5 in each interval we will divide the normal distribution into 30/5 = 6 equal probability intervals. Contoh Soal: Victor Computers

27 Bina Nusantara University 27 Contoh Soal: Victor Computers Normal Distribution Goodness of Fit Test –Interval Definition Areas = 1.00/6 =.1667 Areas = 1.00/6 = = (18.54)

28 Bina Nusantara University 28 Normal Distribution Goodness of Fit Test –Observed and Expected Frequencies i f i e i f i – e i Less than to to to to More than Total3030 Contoh Soal: Victor Computers

29 Bina Nusantara University 29 Normal Distribution Goodness of Fit Test –Test Statistic –Rejection Rule With  =.05 and k - p - 1 = = 3 d.f., Reject H 0 if  2 > 7.81 –Conclusion We cannot reject H 0. There is little evidence to support rejecting the assumption the population is normally distributed with  = 71 and  = Victor Computers

30 Bina Nusantara University 30 Selamat Belajar Semoga Sukses.


Download ppt "Uji Kebaikan Suai (Uji Kecocokan) Pertemuan 23 Matakuliah: Statistika Psikologi Tahun: 2008."

Similar presentations


Ads by Google