MSc: Empirical Methods

From IU
Jump to navigation Jump to search

Empirical Methods

  • Course name: Empirical Methods
  • Code discipline:
  • Subject area:

Short Description

This course covers the following concepts: Goal-Question-Metric approach; Experimental design; Basics of statistics.

Prerequisites

Prerequisite subjects

Prerequisite topics

Course Topics

Course Sections and Topics
Section Topics within the section
Concept of measuring
  1. Measurement: concept, definition and fundamentals of measurement
  2. Goal-Question-Metric approach
  3. Representational theory of measurement
  4. Measurement scales and functions that can be applied to scales
  5. Experimental designs
Fundamentals of statistics
  1. Basic concepts of probability theory
  2. Random variable and random process
  3. Linear regression
  4. Correlation and convolution
  5. Moments and moment generating functions
  6. Law of Large Numbers
  7. Central Limit Theorem
  8. Hypothesis testing

Intended Learning Outcomes (ILOs)

What is the main purpose of this course?

The main purpose of this course is to present the fundamentals of empirical methods and fundamental statistics to the future software engineers and data scientists, on one side providing the scientific fundamentals of the disciplines, and on the other anchoring the theoretical concepts on practices coming from the world of software development and engineering. As a side product, the course also refreshes the basics of statistics, providing the basis for more advanced statistical courses in the following semester(s) of study.

ILOs defined at three levels

Level 1: What concepts should a student know/remember/explain?

By the end of the course, the students should be able to ...

  • Remember the fundamentals of statistics and probability theory
  • Remember the basic models for experimentation and quasi-experimentation
  • Remember the specifics and purpose of different measurement scales
  • Distinguish between random variable and random process
  • Explain the difference between the correlation and causation

Level 2: What basic practical skills should a student be able to perform?

By the end of the course, the students should be able to ...

  • the value of experimentation for software engineers and data scientists
  • the basic concepts of an hypothesis
  • the concept of correlation
  • the fundamental laws in statistics
  • the concept of Goal-Question-Metric approach

Level 3: What complex comprehensive skills should a student be able to apply in real-life scenarios?

By the end of the course, the students should be able to ...

  • Apply Goal-Question-Metric approach in practice
  • Apply the fundamental principles of experimental design
  • Apply reduction to quasi-experimentation experimental design
  • Apply statistics and probability theory in practice
  • Apply hypothesis testing technique in software analysis

Grading

Course grading range

Grade Range Description of performance
A. Excellent 85-100 -
B. Good 65-84 -
C. Satisfactory 51-64 -
D. Poor 0-50 -

Course activities and grading breakdown

Activity Type Percentage of the overall course grade
Quiz during each lecture (weekly evaluations) 11.5
Labs classes (weekly evaluations) 11.5
Midterm 17
Final exam 60

Recommendations for students on how to succeed in the course

Resources, literature and reference materials

Open access resources

  • Donald T. Campbell and Julian C. Stanley. Experimental and Quasi-Experimental Designs for Research. Rand McNally College Publishing, 1963
  • Larry Wasserman. All of Statistics: A Concise Course in Statistical Inference. Springer Texts in Statistics. Springer, New York, 2004. ISBN 978-1-4419-2322-6. doi: 10.1007/978-0-387-21736-9
  • Oliver Laitenberger and Dieter Rombach. Lecture Notes on Empirical Software Engineering. chapter (Quasi) Experimental Studies in Industrial Settings, pages 167–227. World Scientific Publishing Co., Inc., River Edge, NJ, USA, 2003. ISBN 981-02-4914-4
  • Rini van Solingen and Egon Berghout. The Goal/Question/Metric Method: a practical guide for quality improvement of software development. The McGraw-Hill Companies, Cambridge, England, 1999. ISBN 077-709553-7.
  • Andrea Janes and Giancarlo Succi. Lean Software Development in Action. Springer, Heidelberg, Germany, 2014. ISBN 978-3-662-44178-7. doi: 10.1007/978-3-642-00503-9

Closed access resources

Software and tools used within the course

Teaching Methodology: Methods, techniques, & activities

Activities and Teaching Methods

Activities within each section
Learning Activities Section 1 Section 2
Midterm evaluation 1 1
Testing (written or computer based) 1 1
Discussions 1 1

Formative Assessment and Course Activities

Ongoing performance assessment

Section 1

Activity Type Content Is Graded?
Question What are the phases of GQM? How are they connected to each other? What are steps of GQM method? 1
Question What does SWOT mean? 1
Question What is the measurement? 1
Question How measurement can help us to understand, control and improve development process?? 1
Question What does Representation Condition mean? 1
Question What is the Measurement Scale? 1
Question What are characteristics of a good measurement? What is the difference between validity and reliability? 1
Question Which benefits the GQM provides to you as a Software Engineer / Data Scientist? 0
Question Imagine your goal is to ”increase availability of some software system”. Provide Questions and Metrics for this goal. 0
Question What is measurement Reliability and measurement Validity? What are the differences between the two? Provide an example of reliable, but invalid measurement and an example of valid, but unreliable measurement 0
Question Which Measurement Scales do you know? What are the differences between them? Provide examples for each of them. 0
Question Provide an example of Representation Condition 0
Question Create metrics that measures your study progress, outline the properties of such metrics in terms of subjective vs. objective, direct vs. indirect, etc; detail how you will collect your metrics, concretely and check your metric on reliability & validity 0

Section 2

Activity Type Content Is Graded?
Question Describe the three approaches to probability. 1
Question Write the fundamental theorem of algebra. 1
Question Write the general structure of the OLS equation for one variable. 1
Question Write the general structure of the OLS equation for the case of multiple independent variables. 1
Question What is the connection between the correlation coefficient and the coefficient of determination? What does each of them show? 1
Question State and prove the Law of Large Numbers 1
Question State and prove the Central Limit Theorem 1
Question Explain what are H0 and H1 in hypothesis testing 1
Question Explain the role of the Bonferroni inequality in hypothesis testing 1
Question Define and provide examples of sample space, events and probability measure 0
Question Write the formula for the coefficients of the simple linear regression. Explain the mathematical procedure you do to derive them and derive them 0
Question Fully deduce the value of the coefficient in OLS equation for multiple independent variables 0
Question Calculate the correlation between two functions and explain its meaning 0
Question Calculate the Pearson coefficient for the given functions 0
Question Write and prove Markov’s inequality. Write and prove Chebyshev’s inequality. How these theorems related to the LLN? 0
Question Deduce the MGF for normal distribution 0
Question Provide a concrete example of a test, detailing both H0 and H1 0
Question State and prove the Bonferroni inequality 0

Final assessment

Section 1

Section 2

  1. State the Fenton Measurement theory and explain what is Representation condition?
  2. Define the steps needed to elaborate a GQM
  3. Describe the Taylor
  4. Describe the fundamental theorem of Algebra
  5. Based on the concept the Taylor theorem and the fundamental theorem of Algebra, explain whether the number of datapoints should be equal, smaller or larger than the number of independent variables (features) and why
  6. Explain how the GQM can be used to define appropriate number of variables
  7. For the given function compute its mean, mode, median, standard deviation
  8. Define the OLS linear regression in the case of one and multiple variables and deduce their parameters
  9. For the given two functions compute their Covariance, Pearson’s correlation coefficient and describe results
  10. State and prove weak and strong formulation of LLN
  11. State Lindeberg–Lévy formulation of CLT and prove it
  12. Compute LOC, MCC, FI, FO for given code. Describe how to apply MCC metrics and meaning of FI-FO output
  13. For the given module compute the CK metrics for its classes

The retake exam

Section 1

Section 2