Experimentation in Computer Science (Part 1). Outline  Empirical Strategies  Measurement  Experiment Process.

Slides:



Advertisements
Similar presentations
Postgraduate Course 7. Evidence-based management: Research designs.
Advertisements

Research methods – Deductive / quantitative
Alvin Kwan Division of Information & Technology Studies
Analytical methods for IS professionals ISYS3015 What is qualitative research?
Causal-Comparative Research
Empirically Assessing End User Software Engineering Techniques Gregg Rothermel Department of Computer Science and Engineering University of Nebraska --
Experimental Methods What is an experiment? Manipulation of one or more variables by the experimenter to determine the effect of this manipulation on another.
Agenda for January 25 th Administrative Items/Announcements Attendance Handouts: course enrollment, RPP instructions Course packs available for sale in.
Chapter 1 Conducting & Reading Research Baumgartner et al Chapter 1 Nature and Purpose of Research.
RESEARCH METHODS Lecture 19
Personality, 9e Jerry M. Burger
Sabine Mendes Lima Moura Issues in Research Methodology PUC – November 2014.
Quantitative and Qualitative Approaches
6-1 Chapter Six DESIGN STRATEGIES. 6-2 What is Research Design? A plan for selecting the sources and types of information used to answer research questions.
Validity Lecture Overview Overview of the concept Different types of validity Threats to validity and strategies for handling them Examples of validity.
Quantitative and Qualitative Approaches Dr. William M. Bauer
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.
Chapter 5 Research Methods in the Study of Abnormal Behavior Ch 5.
McGraw-Hill © 2006 The McGraw-Hill Companies, Inc. All rights reserved. The Nature of Research Chapter One.
Scientific Methodology © Keith Klestinski, Scientific Methodology Observation or Thought Ask a Question –based on research or personal observation.
Chapter 1: Introduction to Statistics
Sociological Research Methods and Techniques
Marketing Research: Overview
RESEARCH IN MATH EDUCATION-3
Evaluating a Research Report
MODULE 3 INVESTIGATING HUMAN AND SOCIL DEVELOPMENT IN THE CARIBBEAN.
The Scientific Method in Psychology.  Descriptive Studies: naturalistic observations; case studies. Individuals observed in their environment.  Correlational.
Copyright ©2008 by Pearson Education, Inc. Pearson Prentice Hall Upper Saddle River, NJ Foundations of Nursing Research, 5e By Rose Marie Nieswiadomy.
The Research Enterprise in Psychology
Wade/Tavris, (c) 2006, Prentice Hall How Psychologists Do Research Chapter 2.
Quantitative and Qualitative Approaches
Notes on Research Design You have decided –What the problem is –What the study goals are –Why it is important for you to do the study Now you will construct.
1 Copyright © 2011 by Saunders, an imprint of Elsevier Inc. Chapter 8 Clarifying Quantitative Research Designs.
Designing an Experiment Lesson 1.3 Chapter 1: Using Scientific Inquiry Interactive Science Grade 8, Pearson Education Inc., Upper Saddle River, New Jersey.
Copyright  2003 by Dr. Gallimore, Wright State University Department of Biomedical, Industrial Engineering & Human Factors Engineering Human Factors Research.
1 Experimentation in Computer Science – Part 3. 2 Experimentation in Software Engineering --- Outline  Empirical Strategies  Measurement  Experiment.
Review of Research Methods. Overview of the Research Process I. Develop a research question II. Develop a hypothesis III. Choose a research design IV.
Teaching about Software Testing that is NOT for Defect Detection W. Morven Gentleman Dalhousie University
Nursing research Is a systematic inquiry into a subject that uses various approach quantitative and qualitative methods) to answer questions and solve.
The Practical Aspects of Doing Research An Giang University June, 2004 Dennis Berg, Ph.D.
Question paper 1997.
CHAPTER 2 Research Methods in Industrial/Organizational Psychology
Week 2 The lecture for this week is designed to provide students with a general overview of 1) quantitative/qualitative research strategies and 2) 21st.
Experimentation in Computer Science (Part 2). Experimentation in Software Engineering --- Outline  Empirical Strategies  Measurement  Experiment Process.
WERST – Methodology Group
Research for Nurses: Methods and Interpretation Chapter 1 What is research? What is nursing research? What are the goals of Nursing research?
What is Science? SECTION 1.1. What Is Science and Is Not  Scientific ideas are open to testing, discussion, and revision  Science is an organize way.
Paper III Qualitative research methodology.  Qualitative research is designed to reveal a specific target audience’s range of behavior and the perceptions.
Research Methods.  Whole theories are never tested directly – rather, specific hypotheses derived from a theory’s propositions are tested through research.
1.3: Scientific Thinking & Processes Key concept: Science is a way of thinking, questioning, and gathering evidence.
Scientific Method Review. Scientific Method Ask a Question: –state the purpose of what you are trying to figure out Form a Hypothesis: –a tentative explanation.
+ EXPERIMENTAL INVESTIGATIONS An experimental investigation is one in which a control is identified. The variables are measured in an effort to gather.
WHAT IS RESEARCH? According to Redman and Morry,
A. Strategies The general approach taken into an enquiry.
How Psychologists Do Research Chapter 2. How Psychologists Do Research What makes psychological research scientific? Research Methods Descriptive studies.
Formulating the Research Design Faisal Abbas, PhD Lecture 8 th.
What is Research Design? RD is the general plan of how you will answer your research question(s) The plan should state clearly the following issues: The.
Unit 7 Research Designs. What is a Research Design?? Researcher’s strategy: Describes how the researcher(s) will answer their questions/test hypotheses.
Emilia Mendes1 Professora Visitante CAPES/ Associate Professor Univ. Auckland, NZ. Introdução a Métricas, Qualidade e Medição de Software.
Research Philosophies, Approaches and Strategies Levent Altinay.
Research Methods & Design Outline
1 KULIAH 2B Survey Design PM Abdul Majid Ismail Ir.M Nawawiy Ir.Dwira.
Introduction to Quantitative Research
CHAPTER 2 Research Methods in Industrial/Organizational Psychology
THE SCIENTIFIC METHOD Science is a method to understand the constantly changing environment.
© 2012 The McGraw-Hill Companies, Inc.
Software Engineering An Introduction Experimentation in Jianyun Zhou
Experimental Software Engineering (ESE)
BBA V SEMESTER (BBA 502) DR. TABASSUM ALI
Debate issues Sabine Mendes Lima Moura Issues in Research Methodology
Presentation transcript:

Experimentation in Computer Science (Part 1)

Outline  Empirical Strategies  Measurement  Experiment Process

Outline  Empirical Strategies  Measurement  Experiment Process

Empirical Strategies: Research Paradigms  Qualitative -- study objects in their natural setting, interpret phenomena based on people’s explanations, discover causes noticed by subjects  Quantitative -- compare 2 or more groups or treatments, identify or quantify cause-effect relationships  Qualitative and quantitative are complementary  Quantitative research considers measures to assess effects of treatment, whereas qualitative research considers beliefs/understanding to explain why treatments differ.

Empirical Strategies: Types of Investigations  Survey – often retrospective, through interviews or questionnaires  Case Study - observational, often in-situ for an ongoing project  Experiment - controlled study, laboratory, manipulation of variables  Quasi-Experiment – experiment, but lacking randomization Experiments are quantitative; surveys and case studies can be quantitative or qualitative

Empirical Strategies: Surveys  Purpose:  descriptive (assert characteristics)  explanatory (assess why)  exploratory (pre-study)  Process  select variables  select sample  collect data  analyze and generalize Example: survey 10% of web application users in a community on their opinions of a new web technology, to infer overall opinion across all developers in the community, and understand why they use or do not use this technology.

Empirical Strategies: Surveys  Data collection methods:  Questionnaires oCheaper distribution and execution  Interviews oHigher response rate oRemoves possible ambiguity Resource: E. Babbie, Survey Research Methods, Wadsworth, 1990

Empirical Strategies: Case Studies  Study a phenomenon in a specific time/space  Applicable to dynamic or larger studies:  Long term evaluations  Industrial evaluations  Can be used to compare approaches (e.g. on a project and sister project); not an experiment because not randomly selected  Easier to plan than controlled experiments

Resource: R. K. Yin, Case Study Research Design and Methods, Sage Publications, 1994 Empirical Strategies: Case Studies  Harder to control, hence less useful for asserting causality Example: observe the application of a web application development method within an industrial context, using two different development methodologies, over a long portion of the lifecycles of two development projects

Empirical Strategies: Experiments  Most controlled form of study  Manipulate independent variables  View affects on dependent variables  Controlled environment  Reproducible  Randomization over subjects and objects  Often involve a baseline (control group) Resource: Wohlin et al., Experimentation in Software Engineering, Kluwer, 2 nd Ed.

Empirical Strategies: Experiments  Uses:  Confirm / reject theories  Confirm conventional wisdom, test pre-conceptions  Explore relationships and interactions  Evaluate accuracy of models  Validate measures Example: randomly assign a set of web app testers from company C to two groups: one using testing technique A and one using testing technique B, and ask them to apply these techniques to a randomly selected set of C’s web apps containing seeded faults, and measure fault-detection effectiveness

Empirical Strategies: Quasi-Experiments  The same as an experiment, except with a lack of randomization over subjects or objects  Drawback: reduced generality Example: a large set of test suites created by a specific technique, and a set of equivalently sized randomly generated test suites, are applied to a single large web app that your research group has developed.

Empirical Strategies: Comparison

Empirical Strategies: Factors in Selecting a Strategy  Type of research question  Level of control required  Time and space of target of study  Resources available All types of studies are valuable.

Experimentation in Software Engineering --- Outline  Empirical Strategies  Measurement  Experiment Process

Measurement: Terminology  Measurement: a mapping from the empirical world to the formal, relational world  Measure: a number or symbol assigned to an entity (object in the world) by this mapping to characterize and manipulate an attribute  Valid measure: a measure that captures necessary properties of the attribute, and properly characterizes it mathematically.

Measurement: Failing to Capture Properties  Goal: measure programmer productivity  Usual: code size or coding effort oSize = LOC oEffort = person_months  Problems with LOC oLOC only reflects part of the output oWe want to measure production (output) as delivered benefit  Problems with effort oEquivalence among employers or even developers oFull / part time

 An objective measure involves no subjective judgment about the measurement value  A subjective measure does involve subjective judgment, depends on both the object and the viewpoint from which the measurement is taken Examples:  Objective: lines of code, delivery date  Subjective: personnel skill, usability Measurement: Objective vs Subjective

 A direct measure of an attribute does not involve measurement of other attributes  An indirect (derived) measure does involve measurement of other attributes.  Often, only indirect measures are available. Examples:  Direct: number of defects  Indirect: programmer productivity = LOC/effort Measurement: Direct vs Indirect

Experimentation in Software Engineering --- Outline  Empirical Strategies  Measurement  Experiment Process

Experiment Process: Motivation  Properly designed experiments provide:  Control of subjects, objects, and instrumentation, allowing us to draw more general conclusions or conclusions about causality  Ability to use statistical analyses (hypothesis testing)  Support for replication  Achieving proper design requires us to define a process for experimentation

Experiment Process: Overview Cause construct Effect construct TreatmentOutcome Theory (hypothesis) Observation cause-effect construct treatment-outcome construct Independent variableDependent variable Experiment objective Experiment operation

Experiment Process: Variables, Factors  Variable: Entity that can change and take on different values  Independent variable(s): variables that are manipulated and controlled – also known as factors  Dependent variable(s): variables we want to see the effects of changes in independent variables on  Factor: variables other than those chosen as independent and dependent; these must be carefully controlled for S.E. Process Dependent variables Independent variables (Factors)

Experiment Process: Treatments  Treatment: one value of an independent variable (the variable manipulated) S.E. Process Dependent variables Independent variables Exp. Design Experiment Independent variables at fixed levels Treatment

Experiment Process: Objects and Subjects  Treatments are assigned to subjects / objects  Subjects: people to whom treatments are applied, or more often, who apply treatments  Objects: artifacts that treatments are applied to, or that are manipulated by people  Tests (or trials): a combination of treatments with subjects and/or objects