name: inverse layout: true class: center, middle, inverse --- # Running a Quantitative Study Lauren Bricker CSE 340 Winter 2020 --- layout:false [//]: # (Outline Slide) .title[Today's goals] .body[ - Discuss steps of running a study - Practice onboarding participants - Practice data analysis - Go over part 4-5 of Menus ] --- # Experiment Design .left-column[
graph TD S(.) --> Hypothesis(Hypothesis) Hypothesis -- "Study Design" --> Method(Method) Method -- "Run Study" --> Data(Data) Data -- "Clean and Prep" --> Analysis(Analysis) Analysis --> Conclusions(Conclusions) classDef finish outline-style:double,fill:#d1e0e0,stroke:#333,stroke-width:2px,font-size:.7em,height:2.5em; classDef normal fill:#e6f3ff,stroke:#333,stroke-width:2px,font-size:.7em,height:2.5em; classDef start fill:#d1e0e0,stroke:#333,stroke-width:4px,font-size:.7em,height:2.5em; classDef invisible fill:#FFFFFF,stroke:#FFFFFF,color:#FFFFFF linkStyle 0 stroke-width:3px; linkStyle 1 stroke-width:3px; linkStyle 2 stroke-width:3px; linkStyle 3 stroke-width:3px; linkStyle 4 stroke-width:3px; class S invisible class Hypothesis,Conclusions start class Method,Data,Analysis normal
] .right-column[ What is the Hypothesis for the Menus assignment? ] --- # Method .left-column[
graph TD S(.) --> Hypothesis(Hypothesis:
Decreased seek
time and errors) Hypothesis -- "Study Design" --> Method(Method) Method -- "Run Study" --> Data(Data) Data -- "Clean and Prep" --> Analysis(Analysis) Analysis --> Conclusions(Conclusions) classDef finish outline-style:double,fill:#d1e0e0,stroke:#333,stroke-width:2px,font-size:.7em,height:2.5em; classDef normal fill:#e6f3ff,stroke:#333,stroke-width:2px,font-size:.7em,height:2.5em; classDef start fill:#d1e0e0,stroke:#333,stroke-width:4px,font-size:.7em,height:5em; classDef startsmall fill:#d1e0e0,stroke:#333,stroke-width:4px,font-size:.7em,height:2.5em; classDef invisible fill:#FFFFFF,stroke:#FFFFFF,color:#FFFFFF linkStyle 0 stroke-width:3px; linkStyle 1 stroke-width:3px; linkStyle 2 stroke-width:3px; linkStyle 3 stroke-width:3px; linkStyle 4 stroke-width:3px; class S invisible class Hypothesis start class Conclusions startsmall class Method,Data,Analysis normal
] .right-column[ - 3 tasks x 3 menu types = 9 *conditions* - Each condition will have a total of totalTrials = `ITEM_MAX` * `NUM_REPEATS` - In each *condition* we test `ITEM_MAX` different menu items - For each menu item, we repeat `NUM_REPEATS` times | | Normal | Pie | Custom | |--|--|--|--| | **Linear** | totalTrials | totalTrials | totalTrials | | **Relational** | totalTrials | totalTrials | totalTrials | | **Unclassified** | totalTrials | totalTrials | totalTrials | ] --- .left-column[ ## Other Method considerations ] .right-column[ For Menus Part 4-5, an experimental *session* consists of 3 tasks x 3 menu types x `ITEM_MAX` items x `NUM_REPEATS` repetitions = 108 *trials* You have to run five participants through a complete session = 108 * 5 or 540 data points. -- Participants do *all* trials (some designs participants only do some conditions) - In some experiments participants do only some conditions, called *between subjects design* - Our study is a *within subjects design* Order of presentation of conditions and items is randomized (why?) ] ??? Between subjects design: Person A compared to person B doing different tasks --- .left-column[ ## Document all of this in your [report](/courses/cse340/20wi/assignments/menu-report) ] .right-column[ Introduce study purpose `Write two sentences describing the purpose of the experiment. This can be the same text you use in your consent form` Introduce study method - tasks `Describe the 9 conditions of the study. Explain how many items were selected per menu, and how many times each item was repeated. Describe how many trials each participant completed. This should be at most one paragraph` ] --- # Study Ethics .left-column[
graph TD S(.) --> Hypothesis(Hypothesis:
Decreased seek
time and errors) Hypothesis -- "Study Design" --> Method(3 menus x
3 task conditions ) Method -- "Run Study" --> Data(Data) Data -- "Clean and Prep" --> Analysis(Analysis) Analysis --> Conclusions(Conclusions) classDef finish outline-style:double,fill:#d1e0e0,stroke:#333,stroke-width:2px,font-size:.7em,height:2.5em; classDef normal fill:#e6f3ff,stroke:#333,stroke-width:2px,font-size:.7em,height:2.5em; classDef normalbig fill:#e6f3ff,stroke:#333,stroke-width:2px,font-size:.7em,height:4em; classDef start fill:#d1e0e0,stroke:#333,stroke-width:4px,font-size:.7em,height:5em; classDef startsmall fill:#d1e0e0,stroke:#333,stroke-width:4px,font-size:.7em,height:2.5em; classDef invisible fill:#FFFFFF,stroke:#FFFFFF,color:#FFFFFF linkStyle 0 stroke-width:3px; linkStyle 1 stroke-width:3px; linkStyle 2 stroke-width:3px; linkStyle 3 stroke-width:3px; linkStyle 4 stroke-width:3px; class S invisible class Hypothesis start class Conclusions startsmall class Method normalbig class Data,Analysis normal
] .right-column[ Ethical Principles for running participants. Driven by [Criminal/Racist/Harmful studies](https://www.nytimes.com/2017/05/22/science/social-science-research-institutional-review-boards-common-rule.html) - Nazi war crimes - Tuskegee Syphilis study - Epilepsy studies of institutionalized children - [16,000 people involuntarily included in radiation studies](https://www.nytimes.com/1995/08/20/us/count-of-subjects-in-radiation-experiments-is-raised-to-16000.html?module=inline) - [Milgram's study of electric shocking](https://www.simplypsychology.org/milgram.html) - [Stanford prison experiment](https://www.simplypsychology.org/zimbardo.html) ] ??? IRB = Institutional Review Board Protocol (and get it approved.) --- # Study Ethics .left-column[
graph TD S(.) --> Hypothesis(Hypothesis:
Decreased seek
time and errors) Hypothesis -- "Study Design" --> Method(3 menus x
3 task conditions ) Method -- "Run Study" --> Data(Data) Data -- "Clean and Prep" --> Analysis(Analysis) Analysis --> Conclusions(Conclusions) classDef finish outline-style:double,fill:#d1e0e0,stroke:#333,stroke-width:2px,font-size:.7em,height:2.5em; classDef normal fill:#e6f3ff,stroke:#333,stroke-width:2px,font-size:.7em,height:2.5em; classDef normalbig fill:#e6f3ff,stroke:#333,stroke-width:2px,font-size:.7em,height:4em; classDef start fill:#d1e0e0,stroke:#333,stroke-width:4px,font-size:.7em,height:5em; classDef startsmall fill:#d1e0e0,stroke:#333,stroke-width:4px,font-size:.7em,height:2.5em; classDef invisible fill:#FFFFFF,stroke:#FFFFFF,color:#FFFFFF linkStyle 0 stroke-width:3px; linkStyle 1 stroke-width:3px; linkStyle 2 stroke-width:3px; linkStyle 3 stroke-width:3px; linkStyle 4 stroke-width:3px; class S invisible class Hypothesis start class Conclusions startsmall class Method normalbig class Data,Analysis normal
] .right-column[ Basic ethics ([Belmont Report](https://www.hhs.gov/ohrp/regulations-and-policy/belmont-report/read-the-belmont-report/index.html)) - Beneficence --> - Value of research higher than risks - Do no harm - Respect for Persons --> - Fully informed of intent and purpose - Informed consent - May opt out at any time, for any reason - Justice - Equitable, representative selection of participants ] --- .left-column[ ## Consent ] .right-column[ Write your [consent](/courses/cse340/20wi/assignments/consent) form - Purpose of study (Beneficience) - Requirements for participation (Respect for Persons) - Study procedures (Respect for Persons) - Voluntariness (Respect for Persons) - Benefits to Society (Beneficience) - Contact (of IRB typically; Me in this case) ] ??? - Beneficence --> - Value of research higher than risks - Do no harm - Respect for Persons --> - Fully informed of intent and purpose - Informed consent - May opt out at any time, for any reason - Justice - equitable, representative selection of participants --- .left-column[ ## Document what all of this in your [report](/courses/cse340/20wi/assignments/menu-report) ] .right-column[ Method - Participants `Describe your participants (without identifying them). How were they recruited? How many were there? Were they consented? You can also add some optional information such as: What was there average age? What genders were present? How experienced were they with android?` ] --- # Data Collection .left-column[
graph TD S(.) --> Hypothesis(Hypothesis:
Decreased seek
time and errors) Hypothesis -- "Study Design" --> Method(3 menus x
3 task conditions ) Method -- "Run Study" --> Data(Data) Data -- "Clean and Prep" --> Analysis(Analysis) Analysis --> Conclusions(Conclusions) classDef finish outline-style:double,fill:#d1e0e0,stroke:#333,stroke-width:2px,font-size:.7em,height:2.5em; classDef normal fill:#e6f3ff,stroke:#333,stroke-width:2px,font-size:.7em,height:2.5em; classDef normalbig fill:#e6f3ff,stroke:#333,stroke-width:2px,font-size:.7em,height:4em; classDef start fill:#d1e0e0,stroke:#333,stroke-width:4px,font-size:.7em,height:5em; classDef startsmall fill:#d1e0e0,stroke:#333,stroke-width:4px,font-size:.7em,height:2.5em; classDef invisible fill:#FFFFFF,stroke:#FFFFFF,color:#FFFFFF linkStyle 0 stroke-width:3px; linkStyle 1 stroke-width:3px; linkStyle 2 stroke-width:3px; linkStyle 3 stroke-width:3px; linkStyle 4 stroke-width:3px; class S invisible class Hypothesis start class Conclusions startsmall class Method normalbig class Data,Analysis normal
] .right-column[ 1. **Clear your data** file before you start the **first participant only** 2. Have participant read and sign the consent form 3. Emphasize key points verbally 4. Be Consistent in how you present the study 5. Download result - you can use a tool window called `Device File Manager`. ] ??? Make sure they know it is a **voluntary** study --- layout: true class: center, middle --- # Collecting data file (Demo) --- layout: false .left-column[ ## Document what all of this in your [report](/courses/cse340/20wi/assignments/menu-report) ] .right-column[ Method - Setting `What device was used? Was it an emulator? Where did the experiment take place?` Method - Data Collected `What information was collected (time, errors, etc)` ] --- # Data Collection .left-column[  ] .right-column[ Select the 'raw' sheet of your spreadsheet then load your file into the spreadsheet  ] --- # Data Collection .left-column[  ] .right-column[ Now click on `Example Chart`. Here you can - Analyze and chart data: Simple Statistics - Min, Max, Mean (Sum/#), Median (Middle #), Mode (Most Common #) Demo Do this for speed *and* error. ] --- .left-column[ ## Document what all of this in your [report](/courses/cse340/20wi/assignments/menu-report) ] .right-column[ Speed Results `Describe your thoughts about overall speed in different conditions. Use at least one chart to illustrate what you say. Here is an example chart generated using our data, when you paste your data into the spreadsheet you’ll see that it updates to reflect your data` Error Results `Describe what happened in terms of errors -- provide at least one chart showing what you learned about errors in different conditions` ] --- # Can we determine *causality*? Implies *dependence* between speed/error, task, and menu type Assumes you have measured the right variables! --- # Dependence/independence Events that are independent - Flipping heads and then tails - Day of week and whether a patient had a heart attack (probably?) Events that are dependent - Vice presidential candidate and presidential nominee - Diagnostic test being positive and whether patient has a disease --- # Correlation  --- # Correlation != Causation  --- # Correlation != Causation  --- # Charting helps you check your assumptions  --- # But having the right chart matters  --- # Normal Vs Pie |Normal | Pie| |--|--| ||| --- # Comparing two groups to see if they are different  --- # Comparing two groups 