Hands on Experiment Design Foutse Khomh, Queen’s University, Canada Massimiliano Di Penta, University of Sannio, Italy.

Slides:



Advertisements
Similar presentations
European Interoperability Architecture e-SENS Workshop : Cartography Tool in practise 7-8 January 2015.
Advertisements

Data Collection Six Sigma Foundations Continuous Improvement Training Six Sigma Foundations Continuous Improvement Training Six Sigma Simplicity.
BASIC STEPS OF CARRYING OUT RESEARCH  Select a research topic.  Formulate a research question/problem/statement of purpose.  A Research Problem is a.
Statistics: The Science of Learning from Data Data Collection Data Analysis Interpretation Prediction  Take Action W.E. Deming “The value of statistics.
Topics - Reading a Research Article Brief Overview: Purpose and Process of Empirical Research Standard Format of Research Articles Evaluating/Critiquing.
Research problem, Purpose, question
Formulating the research design
Chapter Three Chapter Three.
United Nations Economic Commission for Europe Statistical Division Applying the GSBPM to Business Register Management Steven Vale UNECE
Fig Theory construction. A good theory will generate a host of testable hypotheses. In a typical study, only one or a few of these hypotheses can.
Table-Driven Acceptance Testing Mario Aquino Principal Software Engineer Object Computing, Inc.
Identify and List… Theory behind the study Aim of study.
 For the IB Diploma Programme psychology course, the experimental method is defined as requiring: 1. The manipulation of one independent variable while.
©Silberschatz, Korth and Sudarshan5.1Database System Concepts Chapter 5: Other Relational Languages Query-by-Example (QBE) Datalog.
What is Sure BDCs? BDC stands for Batch Data Communication and is also known as Batch Input. It is a technique for mass input of data into SAP by simulating.
ITEC224 Database Programming
Class Starter Please list the first five words or phrases that come to your mind when you hear the word : CHEMISTRY.
OECD/INFE Tools for evaluating financial education programmes Adele Atkinson, PhD Policy Analyst OECD With the support of the Russian/World Bank/OECD Trust.
Configuration Management (CM)
Requirements Engineering Requirements Elicitation Process Lecture-8.
Exploratory Research Design Week 02
Chapter Four Managing Marketing Information. Copyright 2007, Prentice Hall, Inc.4-2 The Importance of Marketing Information  Companies need information.
Copyright 2007, Prentice Hall, Inc. 1 1 Principles of Marketing Fall Term MKTG 220 Fall Term MKTG 220 Dr. Abdullah Sultan Dr. Abdullah Sultan.
© 2001 Business & Information Systems 2/e1 Chapter 8 Personal Productivity and Problem Solving.
Lead Black Slide Powered by DeSiaMore1. 2 Chapter 8 Personal Productivity and Problem Solving.
EGR 252 S09 Ch.10 Part 3 Slide 1 Statistical Hypothesis Testing - Part 3  A statistical hypothesis is an assertion concerning one or more populations.
Chapter 2 Doing Social Psychology Research. Why Should You Learn About Research Methods?  It can improve your reasoning about real-life events  This.
Current and Future Applications of the Generic Statistical Business Process Model at Statistics Canada Laurie Reedman and Claude Julien May 5, 2010.
European Conference on Quality in Official Statistics Session 26: Quality Issues in Census « Rome, 10 July 2008 « Quality Assurance and Control Programme.
Research Methods in Psychology (Pp ). IB Internal Assessment The IB Psychology Guide states that SL students are required to replicate a simple.
Oracle Data Integrator Procedures, Advanced Workflows.
URBDP 591 I Lecture 3: Research Process Objectives What are the major steps in the research process? What is an operational definition of variables? What.
Quantitative and Qualitative Approaches
Software Construction Lecture 18 Software Testing.
7 Systems Analysis and Design in a Changing World, Fifth Edition.
User Interface Theory & Design Lecture 6a 1.  User interface is everything the end user comes into contact with while using the system  To the user,
ANALYSIS OF VARIANCE (ANOVA) BCT 2053 CHAPTER 5. CONTENT 5.1 Introduction to ANOVA 5.2 One-Way ANOVA 5.3 Two-Way ANOVA.
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Change Readiness Assessment Analysis and Recommendations Presenter’s Name Presenter’s.
1 Experimentation in Computer Science – Part 3. 2 Experimentation in Software Engineering --- Outline  Empirical Strategies  Measurement  Experiment.
Chapter 10 Verification and Validation of Simulation Models
Marketing Research Approaches. Research Approaches Observational Research Ethnographic Research Survey Research Experimental Research.
Copyright © Allyn & Bacon 2008 Intelligent Consumer Chapter 14 This multimedia product and its contents are protected under copyright law. The following.
Acceptance testing An introduction Alessandro Marchetto Fondazione Bruno Kessler - IRST.
Chapter 13 Repeated-Measures and Two-Factor Analysis of Variance
Experimentation in Computer Science (Part 2). Experimentation in Software Engineering --- Outline  Empirical Strategies  Measurement  Experiment Process.
WERST – Methodology Group
Requirements Engineering Requirements Engineering in Agile Methods Lecture-28.
The effects of Peer Pressure, Living Standards and Gender on Underage Drinking Psychologist- Kanari zukoshi.
Copyright 2010, The World Bank Group. All Rights Reserved. Recommended Tabulations and Dissemination Section B.
Copyright 2010, The World Bank Group. All Rights Reserved. Managing processes Core business of the NSO Part 1 Strengthening Statistics Produced in Collaboration.
© 2012 LogiGear Corporation. All Rights Reserved FitNesseFitNesse Authors: Nghia Pham 1.
HNDIT23082 Lecture 09:Software Testing. Validations and Verification Validation and verification ( V & V ) is the name given to the checking and analysis.
Module 2: Authoring Basic Reports. Overview Creating a Basic Table Report Formatting Report Pages Calculating Values.
Web Analytics & Social Media Monitoring Assignment Briefing June and September 2013 Clive Whysall CAM Examiner.
Building Valid, Credible & Appropriately Detailed Simulation Models
1 1 Principles of Marketing Spring Term MKTG 220 Spring Term MKTG 220 Dr. Abdullah Sultan Dr. Abdullah Sultan.
The Chi-Square Distribution  Chi-square tests for ….. goodness of fit, and independence 1.
Investigating System Requirements
METHODOLOGY (Chapter 3)
Planning my research journey
Constructing hypotheses & research design
Human Computer Interaction Lecture 21,22 User Support
Understanding Results
Chapter 10 Verification and Validation of Simulation Models
Welcome to E-Prime E-Prime refers to the Experimenter’s Prime (best) development studio for the creation of computerized behavioral research. E-Prime is.
Causal Models Lecture 12.
Key idea: Science is a process of inquiry.
Steps of the Scientific Method.
Implementation of Learning Systems
Presentation transcript:

Hands on Experiment Design Foutse Khomh, Queen’s University, Canada Massimiliano Di Penta, University of Sannio, Italy

Use of acceptance test during change tasks Usage of natural language to specify (change) requirements: current state of the practice highly inaccurate error prone “Agile movement” advocates [Melnik et alt. 2004]: Acceptance test cases constitute an expressive form of documentation Acceptance test cases are “talking” representation of the requirements We focus on evaluating whether Fit acceptance tests are useful in maintenance/evolution tasks

Framework for Integrated Test The most well-known open source implementation of the table-based acceptance testing approach. A table represents a set of test cases. Fit lets: customers/analysts write “executable” acceptance tests using simple HTML tables (Fit tables). developers write “Fixtures” to link the test cases with the actual system itself. to compare (Test Runner) these test cases with actual values, returned by the system, and highlights the results with colors. Red for failures Green for passed tests.

“The complete picture” Text Reqs. Fit Table Fixture Analyst (and customer) (i, o) System i o’ Developer o ≠ o’ Test Runner Output Fit Table O = expected output O’ = actual output failure

Examples of Fit Tables Core Fit tables: Column Fit tables for testing calculations Action Fit tables for testing user interfaces or workflows; Row Fit tables to check the result of a query (some) other Fit tables: Summary Fit tables Html Fit tables Command line Fit tables … fit_tests.DiscountStructure small bags beveragediscount total price() 2Coffee Tea Coffee12.1 5Tea03.1 7Coffee Tea04.34 fit.ActionFixture startfit_tests.VerifySupply entertype of productCoffee check number of small bug remained 10 enternumber of box5 pressbuying boxes check number of small bug remained 310 Column Fit table Action Fit table 1 box = 60 small bags small bag price = 0.62

FitNesse A collaborative testing and documentation tool. It supports Java (eclipse plug-in),.Net, C++ It Combines Fit with a Wiki Web for writing “natural language requirements” + Fit tables. It provides a simple way to run tests (Fit tables) and suits. It supports sub Wikis for managing multiple projects.

Text only vs. Text + Fit Text onlyText + Fit Change Requirement: Change price of Boxes The vendor of boxes of beverages changed his selling policy. Each five bought boxes (of the same type) one is added as a gift. Change Requirement: Change price of Boxes The vendor of boxes of beverages changed his selling policy. Each five bought boxes (of the same type) one is added as a gift. fit.ActionFixture startfit_tests.VerifySupply entertype of productCoffee check number of small bug remained 310 enternumber of box11 pressbuying boxes check number of small bug remained 960 checkcash account504 What to compare

Where do we start? We have an idea/conjecture about a cause effect relation We have a theory Thus we can formulate a hypothesis And to test it.. we run an experiment! The planning steps follows...

Planning: steps Context selection Definition Hypothesis formulation Variable selection Selection of subjects Experiment design Instrumentation Validity evaluation Experiment design Study planning

Context Selection Select the type of study to perform: survey, case study, and experiment. In this training we focus on experiment (more 10 of the lecture slides) Identify the objects and subjects of the study (more page of the lecture slides)

Hypothesis formulation Formulate the null hypothesis. (more page of the lecture slides)

Variables Selection Dependant variables Used to measure the effect of treatments Derived from hypotheses (more page of the lecture slides)

Variables Selection  Independant variables Variables we can control and modify The choice depends on the domain knowledge One independent variable is the main factor of our experiment Other independent variables are the co-factors (more page of the lecture slides)

Experiment Design Is the set of treatment tests Combinations of treatments, subjects and objects Defines how tests are organized and executed Based on the formulated hypotheses Experimental design is based on three principles 1. Randomization 2. Blocking 3. Balancing (more page of the lecture slides)

Validity evaluation Answer the following crucial questions : To what extent are our results valid? They should be at least valid for the population of interest Then, if we could generalize… Mitigates the following threats to validity 1. Conclusion validity (C) 2. Internal validity (I) 3. Construct validity (S) 4. External validity (E) Prioritize threats to validity: Many threats are conflictual (more page of the lecture slides)

Summary What to produce: Experiment definition Context selection Hypotheses formulation Identification of dependent and independent variables Experiment design Experiment procedure and identification of the required material

Operation After having designed an experiment we need to execute it We are in touch with subjects for the first time Besides the pre-experiment briefing and training Although the design and plan are perfect, everything depends on the operation If something goes wrong in a couple of hours we could waste months of work… 

Experiment operation: steps Preparation Experiment design Execution Data validation Experiment data Experiment operation

Preparation Obtain consent from participants Do not disseminate sensitive data Reward in some way participation Before the experiment, it is advisable to show a short presentation explaining the experiment and its objectives Introduce the objects and the instrumentation Describe in detail the steps of the experiment (more page of the lecture slides)

Execution Different ways to execute an experiment Online You can actually monitor the experiment Offline Distribute the task via and wait for results Run a post-experiment questionnaire to understand whether anything went wrong with clarity of objectives material, time available, tasks and to collect some qualitative information. (more page of the lecture slides)

Data validation Once the experiment has been completed, we need to do a consistency check on the collected data Were treatments correctly applied? Did subjects understand the provided forms? Did subjects correctly fill the forms? Remove subjects that Did not participate to the experiment Exhibited a weird behavior (e.g. did not pay attention to the task) Try to have a quick look at data as soon as possible At least using descriptive statistics

Replication Replication is essential in experimentation You should document your experiments so that others can Repeat the experiment with different subjects Replicate your statistical analysis Look at the non-replicable case of the cold fusion! (more page of the lecture slides)