CPE 619 Two-Factor Full Factorial Design With Replications Aleksandar Milenković The LaCASA Laboratory Electrical and Computer Engineering Department The.

Slides:



Advertisements
Similar presentations
Prepared by Lloyd R. Jaisingh
Advertisements

Copyright 2004 David J. Lilja1 Comparing Two Alternatives Use confidence intervals for Before-and-after comparisons Noncorresponding measurements.
Statistical Techniques I EXST7005 Miscellaneous ANOVA Topics & Summary.
13- 1 Chapter Thirteen McGraw-Hill/Irwin © 2005 The McGraw-Hill Companies, Inc., All Rights Reserved.
1 Chapter 4 Experiments with Blocking Factors The Randomized Complete Block Design Nuisance factor: a design factor that probably has an effect.
Chapter 4 Randomized Blocks, Latin Squares, and Related Designs
Chapter Fourteen The Two-Way Analysis of Variance.
Regression Analysis Module 3. Regression Regression is the attempt to explain the variation in a dependent variable using the variation in independent.
Design of Experiments and Analysis of Variance
Regression Analysis Using Excel. Econometrics Econometrics is simply the statistical analysis of economic phenomena Here, we just summarize some of the.
Chapter 5 Introduction to Factorial Designs
Lecture 23: Tues., Dec. 2 Today: Thursday:
Statistics CSE 807.
The Statistical Analysis Partitions the total variation in the data into components associated with sources of variation –For a Completely Randomized Design.
Statistics for Business and Economics
Linear Regression and Correlation
Lecture 24: Thurs. Dec. 4 Extra sum of squares F-tests (10.3) R-squared statistic (10.4.1) Residual plots (11.2) Influential observations (11.3,
1 Chapter 5 Introduction to Factorial Designs Basic Definitions and Principles Study the effects of two or more factors. Factorial designs Crossed:
k r Factorial Designs with Replications r replications of 2 k Experiments –2 k r observations. –Allows estimation of experimental errors Model:
8. ANALYSIS OF VARIANCE 8.1 Elements of a Designed Experiment
Linear Regression/Correlation
Repeated Measures ANOVA Used when the research design contains one factor on which participants are measured more than twice (dependent, or within- groups.
T Test for One Sample. Why use a t test? The sampling distribution of t represents the distribution that would be obtained if a value of t were calculated.
Chapter 13: Inference in Regression
One-Factor Experiments Andy Wang CIS 5930 Computer Systems Performance Analysis.
1 Experimental Statistics - week 7 Chapter 15: Factorial Models (15.5) Chapter 17: Random Effects Models.
CPE 619 2k-p Factorial Design
CPE 619 Simple Linear Regression Models Aleksandar Milenković The LaCASA Laboratory Electrical and Computer Engineering Department The University of Alabama.
Simple Linear Regression Models
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Comparing Three or More Means 13.
Design of Engineering Experiments Part 4 – Introduction to Factorials
© 1998, Geoff Kuenning General 2 k Factorial Designs Used to explain the effects of k factors, each with two alternatives or levels 2 2 factorial designs.
1 Statistical Analysis Professor Lynne Stokes Department of Statistical Science Lecture 6 Solving Normal Equations and Estimating Estimable Model Parameters.
Introduction to Experimental Design
CHAPTER 12 Analysis of Variance Tests
Chapter 10 Analysis of Variance.
Lecture 10 Page 1 CS 239, Spring 2007 Experiment Designs for Categorical Parameters CS 239 Experimental Methodologies for System Software Peter Reiher.
DOX 6E Montgomery1 Unreplicated 2 k Factorial Designs These are 2 k factorial designs with one observation at each corner of the “cube” An unreplicated.
1 Chapter 12 Simple Linear Regression. 2 Chapter Outline  Simple Linear Regression Model  Least Squares Method  Coefficient of Determination  Model.
This material is approved for public release. Distribution is limited by the Software Engineering Institute to attendees. Sponsored by the U.S. Department.
Factorial Analysis of Variance
CPE 619 Experimental Design Aleksandar Milenković The LaCASA Laboratory Electrical and Computer Engineering Department The University of Alabama in Huntsville.
Chapter 10: Analysis of Variance: Comparing More Than Two Means.
CPE 619 One Factor Experiments Aleksandar Milenković The LaCASA Laboratory Electrical and Computer Engineering Department The University of Alabama in.
Chapter 22: Building Multiple Regression Models Generalization of univariate linear regression models. One unit of data with a value of dependent variable.
CPE 619 Comparing Systems Using Sample Data Aleksandar Milenković The LaCASA Laboratory Electrical and Computer Engineering Department The University of.
Experiment Design Overview Number of factors 1 2 k levels 2:min/max n - cat num regression models2k2k repl interactions & errors 2 k-p weak interactions.
Two-Factor Studies with Equal Replication KNNL – Chapter 19.
Chapter 13 Design of Experiments. Introduction “Listening” or passive statistical tools: control charts. “Conversational” or active tools: Experimental.
CHAPTER 3 Analysis of Variance (ANOVA) PART 3 = TWO-WAY ANOVA WITH REPLICATION (FACTORIAL EXPERIMENT) MADAM SITI AISYAH ZAKARIA EQT 271 SEM /2015.
Two-Factor Study with Random Effects In some experiments the levels of both factors A & B are chosen at random from a larger set of possible factor levels.
Class Seven Turn In: Chapter 18: 32, 34, 36 Chapter 19: 26, 34, 44 Quiz 3 For Class Eight: Chapter 20: 18, 20, 24 Chapter 22: 34, 36 Read Chapters 23 &
 List the characteristics of the F distribution.  Conduct a test of hypothesis to determine whether the variances of two populations are equal.  Discuss.
Chapter 11 Linear Regression and Correlation. Explanatory and Response Variables are Numeric Relationship between the mean of the response variable and.
CHAPTER 3 Analysis of Variance (ANOVA) PART 3 = TWO-WAY ANOVA WITH REPLICATION (FACTORIAL EXPERIMENT)
MADAM SITI AISYAH ZAKARIA
Two-Way Analysis of Variance Chapter 11.
Factorial Experiments
Comparing Three or More Means
Chapter 10: Analysis of Variance: Comparing More Than Two Means
Two-Factor Full Factorial Designs
Statistics for the Social Sciences
Chapter 5 Introduction to Factorial Designs
CHAPTER 29: Multiple Regression*
Chapter 13 Group Differences
Linear Regression and Correlation
Replicated Binary Designs
Linear Regression and Correlation
One-Factor Experiments
STATISTICS INFORMED DECISIONS USING DATA
Presentation transcript:

CPE 619 Two-Factor Full Factorial Design With Replications Aleksandar Milenković The LaCASA Laboratory Electrical and Computer Engineering Department The University of Alabama in Huntsville

2 Overview Model Computation of Effects Estimating Experimental Errors Allocation of Variation ANOVA Table and F-Test Confidence Intervals For Effects

3 Model Replications allow separating out the interactions from experimental errors Model: With r replications Where

4 Model (cont ’ d) The effects are computed so that their sum is zero: The interactions are computed so that their row as well as column sums are zero: The errors in each experiment add up to zero:

5 Computation of Effects Averaging the observations in each cell: Similarly,  Use cell means to compute row and column effects

6 Example 22.1: Code Size

7 Example 22.1: Log Transformation

8 Example 22.1: Computation of Effects An average workload on an average processor requires a code size of (8710 instructions) Proc. W requires (=1.69) less code than avg processor Processor X requires (=1.05) less than an average processor … The ratio of code sizes of an average workload on processor W and X is (= 1.62).

9 Example 22.1: Interactions Check: The row as well column sums of interactions are zero Interpretation: Workload I on processor W requires 0.02 less log code size than an average workload on processor W or equivalently 0.02 less log code size than I on an average processor

10 Computation of Errors Estimated Response: Error in the kth replication: Example 22.2: Cell mean for (1,1) = Errors in the observations in this cell are: = = , and = Check: Sum of the three errors is zero

11 Allocation of Variation Interactions explain less than 5% of variation  may be ignored

12 Analysis of Variance Degrees of freedoms:

13 ANOVA for Two Factors w Replications

14 Example 22.4: Code Size Study All three effects are statistically significant at a significance level of 0.10

15 Confidence Intervals For Effects Use t values at ab(r-1) degrees of freedom for confidence intervals

16 Example 22.5: Code Size Study From ANOVA table: s e =0.03. The standard deviation of processor effects: The error degrees of freedom: ab(r-1) = 40  use Normal tables For 90% confidence, z 0.95 = % confidence interval for the effect of processor W is:  1 ¨ t s  1 = ¨ £ = ¨ = ( , ) The effect is significant

17 Example 22.5: Conf. Intervals (cont ’ d) The intervals are very narrow.

18 Example 22.5: CI for Interactions

19 Example 22.5: Visual Tests No visible trend. Approximately linear ) normality is valid

20 Summary Replications allow interactions to be estimated SSE has ab(r-1) degrees of freedom Need to conduct F-tests for MSA/MSE, MSB/MSE, MSAB/MSE

CPE 619 General Full Factorial Designs With k Factors Aleksandar Milenković The LaCASA Laboratory Electrical and Computer Engineering Department The University of Alabama in Huntsville

22 Overview Model Analysis of a General Design Informal Methods Observation Method Ranking Method Range Method

23 General Full Factorial Designs With k Factors Model: k factors ) 2 k -1 effects k main effects two factor interactions, three factor interactions, and so on. Example: 3 factors A, B, C:

24 Model Parameters Analysis: Similar to that with two factors The sums of squares, degrees of freedom, and F-test also extend as expected

25 Case Study 23.1: Paging Process Total 81 experiments

26 Case Study 23.1 (cont ’ d) Total Number of Page Swaps y max /y min = 23134/32 = 723  log transformation

27 Case Study 23.1 (cont ’ d) Transformed Data For the Paging Study

28 Case Study 23.1 (cont ’ d) Effects: Also Six two-factor interactions, Four three-factor interactions, and One four-factor interaction.

29 Case Study 23.1: ANOVA Table

30 Case Study 23.1: Simplified model Most interactions except DM are small. Where,

31 Case Study 23.1: Simplified Model (cont ’ d) Interactions Between Deck Arrangement and Memory Pages

32 Case Study 23.1: Error Computation

33 Case Study 23.1: Visual Test Almost a straight line Outlier was verified

34 Case Study 23.1: Final Model Standard Error = Stdv of sample mean = Stdv of Error

35 Observation Method To find the best combination Example: Scheduler Design Three Classes of Jobs: Word processing Interactive data processing Background data processing Five Factors design

36 Example 23.1: Measured Throughputs

37 Example 23.1: Conclusions To get high throughput for word processing jobs: 1.There should not be any preemption (A=-1) 2.The time slice should be large (B=1) 3.The fairness should be on (E=1) 4.The settings for queue assignment and re-queueing do not matter

38 Ranking Method Sort the experiments.

39 Example 23.2: Conclusions 1.A=-1 (no preemption) is good for word processing jobs and also that A=1 is bad 2.B=1 (large time slice) is good for such jobs. No strong negative comment can be made about B=-1 3. Given a choice C should be chosen at 1, that is, there should be two queues 4.The effect of E is not clear 5.If top rows chosen, then E=1 is a good choice

40 Range Method Range = Maximum-Minimum Factors with large range are important Memory size is the most influential factor Problem program, deck arrangement, and replacement algorithm are next in order

41 Summary A general k factor design can have k main effects, two factor interactions, three factor interactions, and so on. Information Methods: Observation: Find the highest or lowest response Ranking: Sort all responses Range: Largest - smallest average response