 1  Outline  input analysis  goodness of fit  randomness  independence of factors  homogeneity of data  Model 05-01.

Slides:



Advertisements
Similar presentations
CHI-SQUARE(X2) DISTRIBUTION
Advertisements

Chi Squared Tests. Introduction Two statistical techniques are presented. Both are used to analyze nominal data. –A goodness-of-fit test for a multinomial.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Chapter 12 Goodness-of-Fit Tests and Contingency Analysis
Week11 Parameter, Statistic and Random Samples A parameter is a number that describes the population. It is a fixed number, but in practice we do not know.
Outline input analysis input analyzer of ARENA parameter estimation
Statistics review of basic probability and statistics.
Basic Statistics The Chi Square Test of Independence.
 1  Outline  generation of random variates  convolution  composition  acceptance/rejection  generation of uniform(0, 1) random variates  linear.
Hypothesis Testing IV Chi Square.
 1  Outline  Model  problem statement  detailed ARENA model  model technique  Output Analysis.
Discrete (Categorical) Data Analysis
Random-Variate Generation. Need for Random-Variates We, usually, model uncertainty and unpredictability with statistical distributions Thereby, in order.
Simulation Modeling and Analysis
12.The Chi-square Test and the Analysis of the Contingency Tables 12.1Contingency Table 12.2A Words of Caution about Chi-Square Test.
Building and Running a FTIM n 1. Define the system of interest. Identify the DVs, IRVs, DRVs, and Objective. n 2. Develop an objective function of these.
Chapter Goals After completing this chapter, you should be able to:
Chapter 16 Chi Squared Tests.
Horng-Chyi HorngStatistics II127 Summary Table of Influence Procedures for a Single Sample (I) &4-8 (&8-6)
Aaker, Kumar, Day Seventh Edition Instructor’s Presentation Slides
Chi-Square and F Distributions Chapter 11 Understandable Statistics Ninth Edition By Brase and Brase Prepared by Yixun Shi Bloomsburg University of Pennsylvania.
1 BA 555 Practical Business Analysis Review of Statistics Confidence Interval Estimation Hypothesis Testing Linear Regression Analysis Introduction Case.
1 Automotive Maintenance and Repair Shop Expansion Presentation by Steve Roberson For CST 5306 Modeling and Simulation.
Aaker, Kumar, Day Ninth Edition Instructor’s Presentation Slides
Estimation and Hypothesis Testing. The Investment Decision What would you like to know? What will be the return on my investment? Not possible PDF for.
Hypothesis Testing.
Chapter Thirteen Part I
 1  Outline  stages and topics in simulation  generation of random variates.
Modeling and Simulation CS 313
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
1 1 Slide © 2005 Thomson/South-Western Chapter 12 Tests of Goodness of Fit and Independence n Goodness of Fit Test: A Multinomial Population Goodness of.
Chapter 11: Applications of Chi-Square. Count or Frequency Data Many problems for which the data is categorized and the results shown by way of counts.
Chapter 11 Chi-Square Procedures 11.3 Chi-Square Test for Independence; Homogeneity of Proportions.
Statistical Inference Two Statistical Tasks 1. Description 2. Inference.
Tests of Significance June 11, 2008 Ivan Katchanovski, Ph.D. POL 242Y-Y.
Slide 1 of 68 Modeling Detailed Operations. Slide 2 of 68 What We’ll Do... Explore lower-level modeling constructs Model 5-1: Automotive maintenance/repair.
1 Chi-Square Heibatollah Baghi, and Mastee Badii.
1 Statistical Distribution Fitting Dr. Jason Merrick.
CS433: Modeling and Simulation Dr. Anis Koubâa Al-Imam Mohammad bin Saud University 15 October 2010 Lecture 05: Statistical Analysis Tools.
Chi-squared Tests. We want to test the “goodness of fit” of a particular theoretical distribution to an observed distribution. The procedure is: 1. Set.
Copyright © 2009 Cengage Learning 15.1 Chapter 16 Chi-Squared Tests.
Week 10 Nov 3-7 Two Mini-Lectures QMM 510 Fall 2014.
A Course In Business Statistics 4th © 2006 Prentice-Hall, Inc. Chap 9-1 A Course In Business Statistics 4 th Edition Chapter 9 Estimation and Hypothesis.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 18 Inference for Counts.
1 In this case, each element of a population is assigned to one and only one of several classes or categories. Chapter 11 – Test of Independence - Hypothesis.
Chi-Square Procedures Chi-Square Test for Goodness of Fit, Independence of Variables, and Homogeneity of Proportions.
Chapter 5 Modeling Detailed Operations. MIS 463-Asli Sencer An Automative Maintenance and Repair Shop Current location is in downtown. Additional three-bay.
EMIS 7300 SYSTEMS ANALYSIS METHODS FALL 2005 Dr. John Lipp Copyright © Dr. John Lipp.
Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc Chapter 16 Chi-Squared Tests.
Learning Objectives Copyright © 2002 South-Western/Thomson Learning Statistical Testing of Differences CHAPTER fifteen.
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
Chapter Outline Goodness of Fit test Test of Independence.
July, 2000Guang Jin Statistics in Applied Science and Technology Chapter 12. The Chi-Square Test.
CHAPTERS HYPOTHESIS TESTING, AND DETERMINING AND INTERPRETING BETWEEN TWO VARIABLES.
MATH 4030 – 11A ANALYSIS OF R X C TABLES (GOODNESS-OF-FIT TEST) 1.
1 Chi-square Test Dr. T. T. Kachwala. Using the Chi-Square Test 2 The following are the two Applications: 1. Chi square as a test of Independence 2.Chi.
Statistical Data Analysis 2011/2012 M. de Gunst Lecture 3.
Tutorial I: Missing Value Analysis
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Chapter 14 – 1 Chi-Square Chi-Square as a Statistical Test Statistical Independence Hypothesis Testing with Chi-Square The Assumptions Stating the Research.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 12 Tests of Goodness of Fit and Independence n Goodness of Fit Test: A Multinomial.
Chi-Två Test Kapitel 6. Introduction Two statistical techniques are presented, to analyze nominal data. –A goodness-of-fit test for the multinomial experiment.
Variance reduction techniques Mat Simulation
Modeling and Simulation CS 313
Basic Statistics The Chi Square Test of Independence.
Modeling and Simulation CS 313
Chapter 10 Verification and Validation of Simulation Models
Prepared by: Francis Joseph Campeña
Discrete Event Simulation - 4
Chapter Outline Goodness of Fit test Test of Independence.
Presentation transcript:

 1  Outline  input analysis  goodness of fit  randomness  independence of factors  homogeneity of data  Model 05-01

 2  Chi-Square Test  arbitrary data grouping  possibly good fit in one but bad in other groupings

 3  Kolmogorov-Smirnov Test  advantages  no arbitrary data grouping as in the Chi-square test  goodness of fit test for continuous distributions  universal, same criterion for all continuous distributions  disadvantages  not designed for discrete distributions, being distribution dependent in that case  not designed for unknown parameters, biased goodness of fit decision for estimated parameters

 4  KS Test  F(x): underlying (continuous) distribution  F n (x): empirical distribution of n data points  F(x) & F n (x) being close in some sense  define D n = sup x |F(x) - F n (x)|  if D n being too large: data not from F(x)

 5  Idea of KS Test  continuous distribution F  F n empirical distribution of F for n data points  F (x) = p  |F n (x) - F(x)| ~ |Y p - p| for Y p ~ Bin(n, p)  sup x |F n (x) - F(x)| ~ sup p |Y p - p|

 6  Test for Randomness Do the data points behave like random variates from i.i.d. random variables?

 7  Test for Randomness  graphical techniques  run test  run up and run down test

 8  Background  random variables X 1, X 2, …. (assumption X i  constant)  if X 1, X 2, … being i.i.d.  j-lag covariance Cov(X i, X i+j )  c j = 0  V(X i )  c 0  j-lag correlation  j  c j /c 0 = 0

 9  Graphical Techniques  estimate j-lag correlation from sample  check the appearance of the j-lag correlation

 10  Run Test  Does the following pattern of A and B appear to be random?  AAAAAAAAAAAAAAABBBBBAAAAA  Any statistical test for the randomness of the pattern?  # of permutations with 20A’s & 5B’s =  # of permutations with 5B’s together = 21  an event of probability

 11  Run Test for Two Types of Items  for two types of items  R: number of runs  AABBBABB: 4 runs by this 8 items  for n a of item A and n b of item B  E(R) = 2n a n b /(n a +n b ) + 1  V(R) =  if min(n a, n b ) > 10, R ~ normal

 12  Run Test for Continuous Data  (43.2, 7.4, 5.4, 25.3, 27.3, 13.9, 67.5, 35.4)  sign changes:   + +  +   3 runs down & 2 runs up, a total 5 runs  R: number of runs, for n sample values  E(R) = (2n-1)/3  V(R) = (16n-29)/90  Dist(R)  normal

 13  Test for Independence It is easier to simulate a system if the classifications are independent. Are the classifications of the random quantities independent?

 14  Tax reform Income level LowMediumHighTotal For Against Total Test for Independence  for two classifications  e.g., Is voting behavior independent of income levels  easier to simulate for independent voting opinion and income levels 2 ╳ 3 Contingency Table

 15  Test for Independence  independent income level and opinion  generate income level: 3 types (i.e., m types)  generate opinion: 2 types (i.e., n types)  generate an entity: 5 types (m+n types)  dependent income level and opinion  generate income level: 3 types (i.e., m types)  generate opinion: 2 types (i.e., n types)  generate an entity: 6 types (mn types)  for k factors (classifications)  independent: m 1 + m 2 + … + m k  dependent: m 1 m 2 … m k

 16  Test for Independence  H 0 : voting opinion and income levels are independent  H 1 : voting opinion and income levels are dependent

 17  Test for Independence  marginal distribution:  If H 0 is true,

 18  Test for Independence  expected frequency: cell probability multiplies the total number of observations  in general, the expected frequency of any cell is:

 19  Test for Independence Observed and Expected Frequencies  d.o.f. associated with the chi-squared test is Tax reform Income level LowMediumHighTotal For182(200.9)213(209.9)203(187.2)598 Against154(135.1)138(141.1)110(125.8)402 Total r number of rows c number of columns

 20   dependent voting opinion and income levels Test for Independence  Calculate for the r ╳ c Contingency Table  reject H 0 if ; otherwise accept

 21  Test for Homogeneity Are the entities of the same type?

 22  Test for Homogeneity 3 ╳ 3 Contingency Table Abortion law Political affiliation DemocratRepublicIndependentTotal For Against Undecided Total predetermined

 23  Test for Homogeneity  row (or column) totals are predetermined  H 0 : same proportion in each row (or column)  H 1 : different proportions across rows (or columns)  analysis: same as the test of independence

 24   H 0 : Democrats, Republicans, and Independents give the same opinion (proportion of options)  H 1 : Democrats, Republicans, and Independents give different opinion (proportion of options)   = 0.05  critical region: χ 2 > with v = 4 d.o.f.  computations: find the expected cell frequency Test for Homogeneity

 25  Observed and Expected Frequencies Decision: Do not reject H 0. Abortion law Political affiliation DemocratRepublicIndependentTotal For82(85.6)70(64.2)62(64.2)214 Against93(88.8)62(66.6)67(66.6)222 Undecided25(25.6)18(19.2)21(19.2)64 Total Test for Homogeneity

 26  Model 5-1: An Automotive Maintenance and Repair Shop  additional maintenance and repair facility in the suburban area  customer orders (calls)  by appointments, from one to three days in advance  calls arrivals ~ Poisson process, mean 25 calls/day  distribution of calls: 55% for the next day; 30% for the days after tomorrow; 15% for two days after tomorrow  response missing a desirable day: 90% choose the following day; 10% leave

 27  An Automotive Repair and Maintenance Shop  service  Book Time, (i.e., estimated service time) ~ *BETA(2, 3) min  Book Time also for costing  promised wait time to customers  wait time = Book Time + one hour allowance  actual service time ~ GAMM(book time/1.05, 1.05) min  first priority to wait customers  customer behavior  20% wait, 80% pick up cars later  about 60% to 70% of customers arrive on time  30% to 40% arrive within 3 hours of appointment time

 28  Costs and Revenues  schedule rules  at most five wait customers per day  no more than 24 book hours scheduled per day (three bays, eight hours each)  normal cost: $45/hour/bay, 40-hour per week  overtime costs $120/hour/bay, at most 3 hours  revenue from customers: $78/ book hour  penalty cost  each incomplete on-going car at the end of a day: $35  no penalty for a car whose service not yet started

 29  System Performance  simulate the system 20 days to get  average daily profit  average daily book time  average daily actual service time  average daily overtime  average daily number of wait appointments not completed on time

 30  Relationship Between Models  Model 5-1: An Automotive Maintenance and Repair Shop  a fairly complicated model  non-queueing type  Model 5-2: Enhancing the Automotive Shop Model  two types of repair bays for different types of cars  customer not on time