SlideShare a Scribd company logo
1 of 21
Download to read offline
Effective User Survey Design and
Data Analysis
Hanan Hibshi and Travis Breaux
Monday, September 12, 2016
Full Day Tutorial
23rd IEEE International Requirements Engineering Conference
2
Ā©2016 H Hibshi
Tutorial Outline
ā€¢ Effective User Survey Design
ā€¢ Session 1: Introduction to experimental research and user surveys
ā€¢ Session 2: Building user surveys
ā€¢ Analyzing and Reporting User Survey Data
ā€¢ Session 3: Quantitative analysis of survey data
ā€¢ Session 4: Qualitative analysis of survey data
3
Ā©2016 H Hibshi
QUANTITATIVE ANALYSIS OF SURVEY
DATA
Session 3:
4
Ā©2016 H Hibshi
Topics of Third Session
ā€¢ Statistical significance
ā€¢ Data preparation
ā€¢ Statistical tests
ā€¢ Role of assumptions in statistical tests
ā€¢ Effect of study design on data analysis
ā€¢ Effect of conditions (levels of a variable)
ā€¢ Threats to validity
ā€¢ Power analysis
ā€¢ Reporting results and descriptive statistics
5
Ā©2016 H Hibshi
Identifying the Variables and Metrics
ā€¢ We need to think of independent/dependent variables
ā€¢ Independent variable: that is being changed or controlled
ā€¢ Dependent variable: that is being tested
ā€¢ Control variable: holding a dependent variable constant (e.g. age)
Is developersā€™ productivity affected by type of programming language?
ā€¢ How to measure productivity:
ā€¢ Time!
ā€¢ Number of lines
ā€¢ Number of hours
ā€¢ Number of tasks, submissions, commits, results etc.
6
Ā©2016 H Hibshi
Without Statistical Significance
ā€¢ Mary scored 90% on PL assessment test, John
scored 75%,
ā€¢ Mary is a better programmer then John
ā€¢ The average score of three male students on PL test:
70%, the average of three female students is 90%
ā€¢ Females are better programmers then males
ā€¢ Arguments:
ā€¢ Size of compared groups is very small
ā€¢ The individuals in the groups are not representative of all
males and females
ā€¢ I can go and find another 6 students and prove the opposite!
7
Ā©2016 H Hibshi
Statistical Significance
ā€¢ We cant collect data from every male and
female
ā€¢ The full population follow a normal
distribution
ā€¢ We can select a small sample that
represent the population
ā€¢ Significance tests can indicate if results
from our sample can generalize
- Lazar, J., Feng, J.H. and Hochheiser, H., 2010. Research methods in human-computer interaction. John Wiley &
Sons.
8
Ā©2016 H Hibshi
How Significance Testing Work
ā€¢ Null hypothesis: š‘ÆšŸŽ (No difference between groups)
ā€¢ Alternative hypothesis: š‘ÆšŸ (Group A is better then B
ā€¢ The significance tests tell us to reject or accept š»0
ā€¢ Example:
ā€¢ š‘ÆšŸŽ There is no difference between the transaction time of an ATM with
touch screens and ATM with buttons
ā€¢ š‘ÆšŸ ATM with touch screen has a shorter transaction time than an ATM with
buttons
ā€¢ Significance testing is subject to Type I and Type II
errors
- Lazar, J., Feng, J.H. and Hochheiser, H., 2010. Research methods in human-computer interaction. John Wiley &
Sons.
9
Ā©2016 H Hibshi
Type I and Type II Errors
ā€¢ Type I (false +ve) is
worse than Type II
(false ā€“ve)
ā€¢ Ī±: Type 1 error rate
or significance level
ā€¢ Ī²: Type 2 error rate.
(1- Ī²) is the power of
the test
Power: The probability of successfully rejecting a null hypothesis when
its false and should be rejected [1]
[1] Cohen, J., 1988. Statistical power analysis for the behavioral sciences, 2nd
Edition.
[2] Rosenthal, R. and Rosnow, R.L., 1991. Essentials of behavioral research: Methods and data analysis. McGraw-Hill
Humanities Social.
š»& is
True
š»& is
False
Accept š»&
Accurate
(1 āˆ’ š›¼)
Type II Error
š›½
Reject š»&
Type I Error
š›¼
Accurate
(1 āˆ’ š›½)
Decision
Reality
10
Ā©2016 H Hibshi
P-value and Degrees of Freedom
ā€¢ P-value
ā€¢ The probability of obtaining a result equal to or "more extreme"
than what was actually observed, when the null hypothesis is true
ā€¢ We want this to be as small as possible
ā€¢ p< Ī±
ā€¢ If the P is higher it does not imply that the null hypothesis is true! It
means we CANNOT REJECT the null hypothesis given the level Ī±
ā€¢ Refers to one null hypotheses
ā€¢ Degrees of Freedom
ā€¢ The degree of freedom is the number of values in a calculation that
we can vary
ā€¢ (20 + 10 + x + y)/4 = 25
11
Ā©2016 H Hibshi
Data Preparation
ā€¢ Data need to be organized, cleaned-up, and coded
Pno Age Gender Degree
P0001 31 Male College
P0002 20 Female Graduate
P0003 27 Female High School
Pno Age Gender Degree
P0001 31 1 2
P0002 20 0 3
P0003 27 0 1
12
Ā©2016 H Hibshi
Likert-scale Coding Example
ā€¢ Very unlikely = 1
ā€¢ Unlikely = 2
ā€¢ Natural = 3
ā€¢ Likely = 4
ā€¢ Very likely =5
Pno Q1 Q2 Q3
P0001 3 1 1
P0002 2 1 0
P0003 5 3 1
13
Ā©2016 H Hibshi
Types of Variables
ā€¢ Categorical, discrete
ā€¢ Ordinal
ā€¢ Nominal
ā€¢ Continuous
14
Ā©2016 H Hibshi
Experiment Design: Structure
No. of
Independent Var.
>1
Yes No
Basic Design
A/B Testing
Factorial Design
Determine no. of
conditions
Determine no. of
conditions
Between-Subjects effect
Within- Subjects Effect
Mixed Effects
- Lazar, J., Feng, J.H. and Hochheiser, H., 2010. Research methods in human-computer interaction. John Wiley &
Sons.
15
Ā©2016 H Hibshi
Common Statistical Tests for Experiments
ā€¢ Parametric tests
ā€¢ T-test
ā€¢ ANOVA (Analysis of Variance)
ā€¢ Linear regression
ā€¢ Non-parametric tests
ā€¢ Chi-square: significance of Frequency (contingency tables)
ā€¢ Fisherā€™s
ā€¢ Wilcoxon signed ranks test
ā€¢ Man-Whitney U test
16
Ā©2016 H Hibshi
T-Test
ā€¢ One IV, two groups/conditions
ā€¢ Independent sample T-test
ā€¢ Between Subjects design
ā€¢ Assumption: observations are independent
ā€¢ Paired Sample T-Test
ā€¢ Within-Subjects design
ā€¢ Example:
ā€¢ There was a significant difference in the scores for [C1] (M=4.2,
SD=1.3) and no [C2] (M=2.2, SD=0.84) conditions; t (8)=2.89, p =
0.020
17
Ā©2016 H Hibshi
T-Test Assumptions
ā€¢ DV scores are normally distributed
ā€¢ Violated: use non-parametric test
ā€¢ Homogeneity of variance
ā€¢ Violated: use transformation (e.g. logs)
ā€¢ Independent errors
18
Ā©2016 H Hibshi
ANOVA
ā€¢ Analyses of Variance
ā€¢ F statistic
ā€¢ Between subjects
ā€¢ One Way ANOVA: One IV, 3 or more groups
ā€¢ Factorial ANOVA: 2 or more IV, 2 or more groups
ā€¢ Within subjects
ā€¢ Repeated Measures
ā€¢ Mixed design
ā€¢ Split-plot ANOVA
19
Ā©2016 H Hibshi
Linear Regression
ā€¢ You can have a number of IV
ā€¢ Purposes:
ā€¢ Model construction
ā€¢ Find the mathematical relationship (find the equation)
ā€¢ Predication
ā€¢ Predict the DV based on known factors
ā€¢ Enter variables one at a time vs. all together
ā€¢ Multi-level regression
ā€¢ Good for mixed methods
ā€¢ Can analyze hierarchal data
20
Ā©2016 H Hibshi
Power
ā€¢ Ī²: Type 2 error rate, (1- Ī²) is the power of the test
ā€¢ š‘ƒš‘œš‘¤š‘’š‘Ÿ = š‘ƒ(š‘Ÿš‘’š‘—š‘’š‘š‘” š»0|š»1 š‘–š‘  š‘”š‘Ÿš‘¢š‘’)
ā€¢ Power analysis: calculate the minimum sample size required so
that one can be reasonably likely to detect an effect of a given
size
ā€¢ Specify your effect size
ā€¢ Your Ī±, Ī²
ā€¢ G power is a popular tool
ā€¢ Priori or post-hoc
21
Ā©2016 H Hibshi
Threats to Validity
ā€¢ External validity
ā€¢ The degree to which results can be generalized
ā€¢ Example threat: convenience sampling
ā€¢ Internal validity
ā€¢ the extent to which a causal conclusion based on a study is
warranted, which is determined by the degree to which a study
minimizes systematic error or 'biasā€˜
ā€¢ Example Threats: learning effect, fatigue, confounding variablesā€¦
ā€¢ Randomization, reduction of fatigue, attention checks
ā€¢ Construct validity
ā€¢ Are we measuring what is claimed to be measured
ā€¢ Example threats: Errors in measuring instrument, lower control over
measurement

More Related Content

Similar to SurveyDesignTutorial_Session3.pdf

Hypothesis_Testing.ppt
Hypothesis_Testing.pptHypothesis_Testing.ppt
Hypothesis_Testing.pptssuserac2a40
Ā 
Presentation David Kenny.pdf
Presentation David Kenny.pdfPresentation David Kenny.pdf
Presentation David Kenny.pdfJoshuaLau29
Ā 
Testing of Hypothesis using Z dist..pptx
Testing of Hypothesis  using Z dist..pptxTesting of Hypothesis  using Z dist..pptx
Testing of Hypothesis using Z dist..pptxUVAS
Ā 
Hypothesis....Phd in Management, HR, HRM, HRD, Management
Hypothesis....Phd in Management, HR, HRM, HRD, ManagementHypothesis....Phd in Management, HR, HRM, HRD, Management
Hypothesis....Phd in Management, HR, HRM, HRD, Managementdr m m bagali, phd in hr
Ā 
ABTest-20231020.pptx
ABTest-20231020.pptxABTest-20231020.pptx
ABTest-20231020.pptxMichael Ming Lei
Ā 
Statistical-Tests-and-Hypothesis-Testing.pptx
Statistical-Tests-and-Hypothesis-Testing.pptxStatistical-Tests-and-Hypothesis-Testing.pptx
Statistical-Tests-and-Hypothesis-Testing.pptxCHRISTINE MAY CERDA
Ā 
Project ECHO QI: Communicating and Advocating Using Data June 29, 2016
Project ECHO QI: Communicating and Advocating Using Data June 29, 2016Project ECHO QI: Communicating and Advocating Using Data June 29, 2016
Project ECHO QI: Communicating and Advocating Using Data June 29, 2016CHC Connecticut
Ā 
11720171Chapter 9 Testing the Difference Betwee.docx
11720171Chapter 9 Testing the Difference Betwee.docx11720171Chapter 9 Testing the Difference Betwee.docx
11720171Chapter 9 Testing the Difference Betwee.docxrobert345678
Ā 
Business Research Methods Unit V
Business Research Methods Unit VBusiness Research Methods Unit V
Business Research Methods Unit VKartikeya Singh
Ā 
2 statistics, measurement, graphical techniques
2 statistics, measurement, graphical techniques2 statistics, measurement, graphical techniques
2 statistics, measurement, graphical techniquesPenny Jiang
Ā 
Research method ch09 statistical methods 3 estimation np
Research method ch09 statistical methods 3 estimation npResearch method ch09 statistical methods 3 estimation np
Research method ch09 statistical methods 3 estimation npnaranbatn
Ā 
7- Quantitative Research- Part 3.pdf
7- Quantitative Research- Part 3.pdf7- Quantitative Research- Part 3.pdf
7- Quantitative Research- Part 3.pdfezaldeen2013
Ā 
Non-parametric.pptx qualitative and quantity data
Non-parametric.pptx  qualitative  and quantity  dataNon-parametric.pptx  qualitative  and quantity  data
Non-parametric.pptx qualitative and quantity dataNuhaminTesfaye
Ā 
Bmgt 311 chapter_13
Bmgt 311 chapter_13Bmgt 311 chapter_13
Bmgt 311 chapter_13Chris Lovett
Ā 
Hypothesis testing interview
Hypothesis testing interviewHypothesis testing interview
Hypothesis testing interviewRicky Corp III
Ā 

Similar to SurveyDesignTutorial_Session3.pdf (20)

Hypothesis_Testing.ppt
Hypothesis_Testing.pptHypothesis_Testing.ppt
Hypothesis_Testing.ppt
Ā 
Presentation David Kenny.pdf
Presentation David Kenny.pdfPresentation David Kenny.pdf
Presentation David Kenny.pdf
Ā 
Testing of Hypothesis using Z dist..pptx
Testing of Hypothesis  using Z dist..pptxTesting of Hypothesis  using Z dist..pptx
Testing of Hypothesis using Z dist..pptx
Ā 
Hypothesis....Phd in Management, HR, HRM, HRD, Management
Hypothesis....Phd in Management, HR, HRM, HRD, ManagementHypothesis....Phd in Management, HR, HRM, HRD, Management
Hypothesis....Phd in Management, HR, HRM, HRD, Management
Ā 
T test
T test T test
T test
Ā 
Hm306 week 5
Hm306 week 5Hm306 week 5
Hm306 week 5
Ā 
Hm306 week 5
Hm306 week 5Hm306 week 5
Hm306 week 5
Ā 
ABTest-20231020.pptx
ABTest-20231020.pptxABTest-20231020.pptx
ABTest-20231020.pptx
Ā 
Statistical-Tests-and-Hypothesis-Testing.pptx
Statistical-Tests-and-Hypothesis-Testing.pptxStatistical-Tests-and-Hypothesis-Testing.pptx
Statistical-Tests-and-Hypothesis-Testing.pptx
Ā 
Hypothesis
HypothesisHypothesis
Hypothesis
Ā 
Project ECHO QI: Communicating and Advocating Using Data June 29, 2016
Project ECHO QI: Communicating and Advocating Using Data June 29, 2016Project ECHO QI: Communicating and Advocating Using Data June 29, 2016
Project ECHO QI: Communicating and Advocating Using Data June 29, 2016
Ā 
11720171Chapter 9 Testing the Difference Betwee.docx
11720171Chapter 9 Testing the Difference Betwee.docx11720171Chapter 9 Testing the Difference Betwee.docx
11720171Chapter 9 Testing the Difference Betwee.docx
Ā 
Business Research Methods Unit V
Business Research Methods Unit VBusiness Research Methods Unit V
Business Research Methods Unit V
Ā 
2 statistics, measurement, graphical techniques
2 statistics, measurement, graphical techniques2 statistics, measurement, graphical techniques
2 statistics, measurement, graphical techniques
Ā 
Research method ch09 statistical methods 3 estimation np
Research method ch09 statistical methods 3 estimation npResearch method ch09 statistical methods 3 estimation np
Research method ch09 statistical methods 3 estimation np
Ā 
7- Quantitative Research- Part 3.pdf
7- Quantitative Research- Part 3.pdf7- Quantitative Research- Part 3.pdf
7- Quantitative Research- Part 3.pdf
Ā 
Non-parametric.pptx qualitative and quantity data
Non-parametric.pptx  qualitative  and quantity  dataNon-parametric.pptx  qualitative  and quantity  data
Non-parametric.pptx qualitative and quantity data
Ā 
Bmgt 311 chapter_13
Bmgt 311 chapter_13Bmgt 311 chapter_13
Bmgt 311 chapter_13
Ā 
Hypothesis testing interview
Hypothesis testing interviewHypothesis testing interview
Hypothesis testing interview
Ā 
BBA 020
BBA 020BBA 020
BBA 020
Ā 

Recently uploaded

ĐeĢ‚Ģ€ tieng anh thpt 2024 danh cho cac ban hoc sinh
ĐeĢ‚Ģ€ tieng anh thpt 2024 danh cho cac ban hoc sinhĐeĢ‚Ģ€ tieng anh thpt 2024 danh cho cac ban hoc sinh
ĐeĢ‚Ģ€ tieng anh thpt 2024 danh cho cac ban hoc sinhleson0603
Ā 
An Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppAn Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppCeline George
Ā 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...Gary Wood
Ā 
Đį»€ THAM KHįŗ¢O Kƌ THI TUYį»‚N SINH VƀO Lį»šP 10 MƔN TIįŗ¾NG ANH FORM 50 CƂU TRįŗ®C NGHI...
Đį»€ THAM KHįŗ¢O Kƌ THI TUYį»‚N SINH VƀO Lį»šP 10 MƔN TIįŗ¾NG ANH FORM 50 CƂU TRįŗ®C NGHI...Đį»€ THAM KHįŗ¢O Kƌ THI TUYį»‚N SINH VƀO Lį»šP 10 MƔN TIįŗ¾NG ANH FORM 50 CƂU TRįŗ®C NGHI...
Đį»€ THAM KHįŗ¢O Kƌ THI TUYį»‚N SINH VƀO Lį»šP 10 MƔN TIįŗ¾NG ANH FORM 50 CƂU TRįŗ®C NGHI...Nguyen Thanh Tu Collection
Ā 
Tį»”NG Hį»¢P HĘ N 100 Đį»€ THI THį»¬ Tį»T NGHIį»†P THPT TOƁN 2024 - Tį»Ŗ CƁC TRĘÆį»œNG, TRĘÆį»œNG...
Tį»”NG Hį»¢P HĘ N 100 Đį»€ THI THį»¬ Tį»T NGHIį»†P THPT TOƁN 2024 - Tį»Ŗ CƁC TRĘÆį»œNG, TRĘÆį»œNG...Tį»”NG Hį»¢P HĘ N 100 Đį»€ THI THį»¬ Tį»T NGHIį»†P THPT TOƁN 2024 - Tį»Ŗ CƁC TRĘÆį»œNG, TRĘÆį»œNG...
Tį»”NG Hį»¢P HĘ N 100 Đį»€ THI THį»¬ Tį»T NGHIį»†P THPT TOƁN 2024 - Tį»Ŗ CƁC TRĘÆį»œNG, TRĘÆį»œNG...Nguyen Thanh Tu Collection
Ā 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfPondicherry University
Ā 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjMohammed Sikander
Ā 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code ExamplesPeter Brusilovsky
Ā 
MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptxPoojaSen20
Ā 
male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................MirzaAbrarBaig5
Ā 
Personalisation of Education by AI and Big Data - Lourdes GuĆ rdia
Personalisation of Education by AI and Big Data - Lourdes GuĆ rdiaPersonalisation of Education by AI and Big Data - Lourdes GuĆ rdia
Personalisation of Education by AI and Big Data - Lourdes GuĆ rdiaEADTU
Ā 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSAnaAcapella
Ā 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi RajagopalEADTU
Ā 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxneillewis46
Ā 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppCeline George
Ā 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital ManagementMBA Assignment Experts
Ā 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismDabee Kamal
Ā 

Recently uploaded (20)

Supporting Newcomer Multilingual Learners
Supporting Newcomer  Multilingual LearnersSupporting Newcomer  Multilingual Learners
Supporting Newcomer Multilingual Learners
Ā 
ĐeĢ‚Ģ€ tieng anh thpt 2024 danh cho cac ban hoc sinh
ĐeĢ‚Ģ€ tieng anh thpt 2024 danh cho cac ban hoc sinhĐeĢ‚Ģ€ tieng anh thpt 2024 danh cho cac ban hoc sinh
ĐeĢ‚Ģ€ tieng anh thpt 2024 danh cho cac ban hoc sinh
Ā 
An Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppAn Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge App
Ā 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
Ā 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
Ā 
Đį»€ THAM KHįŗ¢O Kƌ THI TUYį»‚N SINH VƀO Lį»šP 10 MƔN TIįŗ¾NG ANH FORM 50 CƂU TRįŗ®C NGHI...
Đį»€ THAM KHįŗ¢O Kƌ THI TUYį»‚N SINH VƀO Lį»šP 10 MƔN TIįŗ¾NG ANH FORM 50 CƂU TRįŗ®C NGHI...Đį»€ THAM KHįŗ¢O Kƌ THI TUYį»‚N SINH VƀO Lį»šP 10 MƔN TIįŗ¾NG ANH FORM 50 CƂU TRįŗ®C NGHI...
Đį»€ THAM KHįŗ¢O Kƌ THI TUYį»‚N SINH VƀO Lį»šP 10 MƔN TIįŗ¾NG ANH FORM 50 CƂU TRįŗ®C NGHI...
Ā 
Tį»”NG Hį»¢P HĘ N 100 Đį»€ THI THį»¬ Tį»T NGHIį»†P THPT TOƁN 2024 - Tį»Ŗ CƁC TRĘÆį»œNG, TRĘÆį»œNG...
Tį»”NG Hį»¢P HĘ N 100 Đį»€ THI THį»¬ Tį»T NGHIį»†P THPT TOƁN 2024 - Tį»Ŗ CƁC TRĘÆį»œNG, TRĘÆį»œNG...Tį»”NG Hį»¢P HĘ N 100 Đį»€ THI THį»¬ Tį»T NGHIį»†P THPT TOƁN 2024 - Tį»Ŗ CƁC TRĘÆį»œNG, TRĘÆį»œNG...
Tį»”NG Hį»¢P HĘ N 100 Đį»€ THI THį»¬ Tį»T NGHIį»†P THPT TOƁN 2024 - Tį»Ŗ CƁC TRĘÆį»œNG, TRĘÆį»œNG...
Ā 
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdfFICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
FICTIONAL SALESMAN/SALESMAN SNSW 2024.pdf
Ā 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Ā 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
Ā 
MOOD STABLIZERS DRUGS.pptx
MOOD     STABLIZERS           DRUGS.pptxMOOD     STABLIZERS           DRUGS.pptx
MOOD STABLIZERS DRUGS.pptx
Ā 
male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................
Ā 
Personalisation of Education by AI and Big Data - Lourdes GuĆ rdia
Personalisation of Education by AI and Big Data - Lourdes GuĆ rdiaPersonalisation of Education by AI and Big Data - Lourdes GuĆ rdia
Personalisation of Education by AI and Big Data - Lourdes GuĆ rdia
Ā 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Ā 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
Ā 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
Ā 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio App
Ā 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
Ā 
An overview of the various scriptures in Hinduism
An overview of the various scriptures in HinduismAn overview of the various scriptures in Hinduism
An overview of the various scriptures in Hinduism
Ā 
Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"
Ā 

SurveyDesignTutorial_Session3.pdf

  • 1. Effective User Survey Design and Data Analysis Hanan Hibshi and Travis Breaux Monday, September 12, 2016 Full Day Tutorial 23rd IEEE International Requirements Engineering Conference
  • 2. 2 Ā©2016 H Hibshi Tutorial Outline ā€¢ Effective User Survey Design ā€¢ Session 1: Introduction to experimental research and user surveys ā€¢ Session 2: Building user surveys ā€¢ Analyzing and Reporting User Survey Data ā€¢ Session 3: Quantitative analysis of survey data ā€¢ Session 4: Qualitative analysis of survey data
  • 3. 3 Ā©2016 H Hibshi QUANTITATIVE ANALYSIS OF SURVEY DATA Session 3:
  • 4. 4 Ā©2016 H Hibshi Topics of Third Session ā€¢ Statistical significance ā€¢ Data preparation ā€¢ Statistical tests ā€¢ Role of assumptions in statistical tests ā€¢ Effect of study design on data analysis ā€¢ Effect of conditions (levels of a variable) ā€¢ Threats to validity ā€¢ Power analysis ā€¢ Reporting results and descriptive statistics
  • 5. 5 Ā©2016 H Hibshi Identifying the Variables and Metrics ā€¢ We need to think of independent/dependent variables ā€¢ Independent variable: that is being changed or controlled ā€¢ Dependent variable: that is being tested ā€¢ Control variable: holding a dependent variable constant (e.g. age) Is developersā€™ productivity affected by type of programming language? ā€¢ How to measure productivity: ā€¢ Time! ā€¢ Number of lines ā€¢ Number of hours ā€¢ Number of tasks, submissions, commits, results etc.
  • 6. 6 Ā©2016 H Hibshi Without Statistical Significance ā€¢ Mary scored 90% on PL assessment test, John scored 75%, ā€¢ Mary is a better programmer then John ā€¢ The average score of three male students on PL test: 70%, the average of three female students is 90% ā€¢ Females are better programmers then males ā€¢ Arguments: ā€¢ Size of compared groups is very small ā€¢ The individuals in the groups are not representative of all males and females ā€¢ I can go and find another 6 students and prove the opposite!
  • 7. 7 Ā©2016 H Hibshi Statistical Significance ā€¢ We cant collect data from every male and female ā€¢ The full population follow a normal distribution ā€¢ We can select a small sample that represent the population ā€¢ Significance tests can indicate if results from our sample can generalize - Lazar, J., Feng, J.H. and Hochheiser, H., 2010. Research methods in human-computer interaction. John Wiley & Sons.
  • 8. 8 Ā©2016 H Hibshi How Significance Testing Work ā€¢ Null hypothesis: š‘ÆšŸŽ (No difference between groups) ā€¢ Alternative hypothesis: š‘ÆšŸ (Group A is better then B ā€¢ The significance tests tell us to reject or accept š»0 ā€¢ Example: ā€¢ š‘ÆšŸŽ There is no difference between the transaction time of an ATM with touch screens and ATM with buttons ā€¢ š‘ÆšŸ ATM with touch screen has a shorter transaction time than an ATM with buttons ā€¢ Significance testing is subject to Type I and Type II errors - Lazar, J., Feng, J.H. and Hochheiser, H., 2010. Research methods in human-computer interaction. John Wiley & Sons.
  • 9. 9 Ā©2016 H Hibshi Type I and Type II Errors ā€¢ Type I (false +ve) is worse than Type II (false ā€“ve) ā€¢ Ī±: Type 1 error rate or significance level ā€¢ Ī²: Type 2 error rate. (1- Ī²) is the power of the test Power: The probability of successfully rejecting a null hypothesis when its false and should be rejected [1] [1] Cohen, J., 1988. Statistical power analysis for the behavioral sciences, 2nd Edition. [2] Rosenthal, R. and Rosnow, R.L., 1991. Essentials of behavioral research: Methods and data analysis. McGraw-Hill Humanities Social. š»& is True š»& is False Accept š»& Accurate (1 āˆ’ š›¼) Type II Error š›½ Reject š»& Type I Error š›¼ Accurate (1 āˆ’ š›½) Decision Reality
  • 10. 10 Ā©2016 H Hibshi P-value and Degrees of Freedom ā€¢ P-value ā€¢ The probability of obtaining a result equal to or "more extreme" than what was actually observed, when the null hypothesis is true ā€¢ We want this to be as small as possible ā€¢ p< Ī± ā€¢ If the P is higher it does not imply that the null hypothesis is true! It means we CANNOT REJECT the null hypothesis given the level Ī± ā€¢ Refers to one null hypotheses ā€¢ Degrees of Freedom ā€¢ The degree of freedom is the number of values in a calculation that we can vary ā€¢ (20 + 10 + x + y)/4 = 25
  • 11. 11 Ā©2016 H Hibshi Data Preparation ā€¢ Data need to be organized, cleaned-up, and coded Pno Age Gender Degree P0001 31 Male College P0002 20 Female Graduate P0003 27 Female High School Pno Age Gender Degree P0001 31 1 2 P0002 20 0 3 P0003 27 0 1
  • 12. 12 Ā©2016 H Hibshi Likert-scale Coding Example ā€¢ Very unlikely = 1 ā€¢ Unlikely = 2 ā€¢ Natural = 3 ā€¢ Likely = 4 ā€¢ Very likely =5 Pno Q1 Q2 Q3 P0001 3 1 1 P0002 2 1 0 P0003 5 3 1
  • 13. 13 Ā©2016 H Hibshi Types of Variables ā€¢ Categorical, discrete ā€¢ Ordinal ā€¢ Nominal ā€¢ Continuous
  • 14. 14 Ā©2016 H Hibshi Experiment Design: Structure No. of Independent Var. >1 Yes No Basic Design A/B Testing Factorial Design Determine no. of conditions Determine no. of conditions Between-Subjects effect Within- Subjects Effect Mixed Effects - Lazar, J., Feng, J.H. and Hochheiser, H., 2010. Research methods in human-computer interaction. John Wiley & Sons.
  • 15. 15 Ā©2016 H Hibshi Common Statistical Tests for Experiments ā€¢ Parametric tests ā€¢ T-test ā€¢ ANOVA (Analysis of Variance) ā€¢ Linear regression ā€¢ Non-parametric tests ā€¢ Chi-square: significance of Frequency (contingency tables) ā€¢ Fisherā€™s ā€¢ Wilcoxon signed ranks test ā€¢ Man-Whitney U test
  • 16. 16 Ā©2016 H Hibshi T-Test ā€¢ One IV, two groups/conditions ā€¢ Independent sample T-test ā€¢ Between Subjects design ā€¢ Assumption: observations are independent ā€¢ Paired Sample T-Test ā€¢ Within-Subjects design ā€¢ Example: ā€¢ There was a significant difference in the scores for [C1] (M=4.2, SD=1.3) and no [C2] (M=2.2, SD=0.84) conditions; t (8)=2.89, p = 0.020
  • 17. 17 Ā©2016 H Hibshi T-Test Assumptions ā€¢ DV scores are normally distributed ā€¢ Violated: use non-parametric test ā€¢ Homogeneity of variance ā€¢ Violated: use transformation (e.g. logs) ā€¢ Independent errors
  • 18. 18 Ā©2016 H Hibshi ANOVA ā€¢ Analyses of Variance ā€¢ F statistic ā€¢ Between subjects ā€¢ One Way ANOVA: One IV, 3 or more groups ā€¢ Factorial ANOVA: 2 or more IV, 2 or more groups ā€¢ Within subjects ā€¢ Repeated Measures ā€¢ Mixed design ā€¢ Split-plot ANOVA
  • 19. 19 Ā©2016 H Hibshi Linear Regression ā€¢ You can have a number of IV ā€¢ Purposes: ā€¢ Model construction ā€¢ Find the mathematical relationship (find the equation) ā€¢ Predication ā€¢ Predict the DV based on known factors ā€¢ Enter variables one at a time vs. all together ā€¢ Multi-level regression ā€¢ Good for mixed methods ā€¢ Can analyze hierarchal data
  • 20. 20 Ā©2016 H Hibshi Power ā€¢ Ī²: Type 2 error rate, (1- Ī²) is the power of the test ā€¢ š‘ƒš‘œš‘¤š‘’š‘Ÿ = š‘ƒ(š‘Ÿš‘’š‘—š‘’š‘š‘” š»0|š»1 š‘–š‘  š‘”š‘Ÿš‘¢š‘’) ā€¢ Power analysis: calculate the minimum sample size required so that one can be reasonably likely to detect an effect of a given size ā€¢ Specify your effect size ā€¢ Your Ī±, Ī² ā€¢ G power is a popular tool ā€¢ Priori or post-hoc
  • 21. 21 Ā©2016 H Hibshi Threats to Validity ā€¢ External validity ā€¢ The degree to which results can be generalized ā€¢ Example threat: convenience sampling ā€¢ Internal validity ā€¢ the extent to which a causal conclusion based on a study is warranted, which is determined by the degree to which a study minimizes systematic error or 'biasā€˜ ā€¢ Example Threats: learning effect, fatigue, confounding variablesā€¦ ā€¢ Randomization, reduction of fatigue, attention checks ā€¢ Construct validity ā€¢ Are we measuring what is claimed to be measured ā€¢ Example threats: Errors in measuring instrument, lower control over measurement