SlideShare a Scribd company logo
1 of 33
Understanding Standards
Event
Higher Statistics Award
Hypothesis Testing
David Young
Department of Mathematics & Statistics
University of Strathclyde
NHS, Greater Glasgow and Clyde
Overview
Welcome to the University of Strathclyde
 introduction to SQA level 6 Statistics Award
(SQA Home > National Qualifications > Subjects > Statistics Award
(SCQF level 6)
 how statistics can answer important questions
 practical sessions using Minitab and/or R
What is statistics …?
 statistics is the science of collecting, analysing,
presenting and interpreting data
 it enables the objective evaluation of research
questions of interest
 it provides the means to weigh up how much
evidence the collected data provide for and against
the research hypothesis of interest
 statistics are available on almost every aspect of
daily life
2014 – the year of the selfie
 millions are shared each and every day across all the
major social media platforms
 according to data from Samsung,
selfies make up almost one-third of all
photos taken by people aged 18-24
 Facebook, WhatsApp, Twitter,
Instagram and Snapchat bearing the brunt of that load
 Link – http://www.adweek.com/digital/selfie-generation/
 Twitter’s most retweeted post of all time …
 Twitter’s most retweeted post of all time
 …
Use this slide for large images,
graphics or tables.
Addressing important questions
 Can you get diabetes from eating too much sugar?
 What are the side effects of too much vitamin D?
 Is smartphone addiction a real phenomenon?
 Does eating turkey at Christmas make you tired?
 Does vitamin C make you look younger?
 Is paracetamol better than codeine for treatment of
pain?
 ‘Two heads are better than one’.
 Statistics can be used to answer such
questions
Not always a clear answer …
 turkey makes you tired because it’s loaded with
tryptophan
 tryptophan is a pre-cursor to serotonin which is a
mood modulator, inducing relaxation and supporting
sleep
 tryptophan alone does not make you tired
 combining tryptophan with carbohydrates does
 it is not the turkey that’s causing Christmas
sleepiness, it’s the turkey plus the cranberries, rolls,
and pie
 turkey actually has less tryptophan than
chicken
Drug development
 pharmaceutical companies have to
gather data on drug performance
 a drug cannot be used commercially until the
company have produced evidence of efficacy and
safety
 statistical tests (known as hypothesis test) can be
used to gather this evidence
Omeprazole
 Omeprazole (Prilosec, Zegerid) belongs to a
group of drugs called proton pump inhibitors
 it decreases the amount of acid produced in the
stomach
 Omeprazole is used to treat symptoms of
gastroesophageal reflux disease (GERD) and other
conditions caused by excess stomach acid
 common side effects may include: stomach pain, gas,
nausea, vomiting, diarrhoea or headache
 https://www.drugs.com/omeprazole.html
Statistics and Probability
 statistical analysis considers the probability of an
event being due to chance
 can never be 100% certain for example that one
treatment is better than another
 can say mathematically how sure we are that a result
is true
Probability
 hypothesis: all dogs can bark
 how would you prove this?
 data has to be gathered to give evidence for or
against the hypothesis
 a hypothesis test has to be performed
Pain assessment score
Hypothesis Testing
Hypothesis Testing
Hypothesis Testing
Hypothesis Testing
Hypothesis Testing
Hypothesis Testing
Hypothesis Testing
Hypothesis Testing
Hypothesis Testing
Hypothesis Testing
Hypothesis Testing
Hypothesis Testing
Interpretation
 If the difference was not due to chance why did it
happen?
Interpretation
 If the difference was not due to chance why did it
happen?
 When is this claim valid?
Interpretation
 If the difference was not due to chance why did it
happen?
 When is this claim valid?
 What are the consequences of getting it wrong?
Additional Points
 errors in hypothesis testing – p<0.01!
 null and alternative hypotheses
 cranberry juice – randomisation
http://www.ncbi.nlm.nih.gov/pubmed/22961092
Additional Points
 double blind studies
 http://www.theguardian.com/society/2005/jan/17/health
.medicineandhealth
 placebo trials
 comparison of baseline characteristics
 intention-to-treat and per-protocol
– weight loss example
 tests for correlation, regression and
normality testing
Two heads are better than one …?
 study design?
 what were the rules for doing the quiz?
 randomisation?
 double blind?
 how many participated – why is this important?
 who marked?
 are you satisfied that the groups were comparable?
WWW.sqa.org.uk│0303 333 0330

More Related Content

Similar to HStatsAwardHypothesisTesting.ppt

COVID and Causal Inference -- NAS CATS 6/2020
COVID and Causal Inference -- NAS CATS 6/2020COVID and Causal Inference -- NAS CATS 6/2020
COVID and Causal Inference -- NAS CATS 6/2020Ellie Murray
 
Staff Meeting Breakout of HIV Prevention Topics
Staff Meeting Breakout of HIV Prevention TopicsStaff Meeting Breakout of HIV Prevention Topics
Staff Meeting Breakout of HIV Prevention TopicsSearch For A Cure
 
Ppr r101-session-3-smart
Ppr r101-session-3-smartPpr r101-session-3-smart
Ppr r101-session-3-smartSharmiBhat
 
Expanded PICO V1
Expanded PICO V1Expanded PICO V1
Expanded PICO V1Imad Hassan
 
1ROOT CAUSE ANALYSIS .docx
1ROOT CAUSE ANALYSIS                            .docx1ROOT CAUSE ANALYSIS                            .docx
1ROOT CAUSE ANALYSIS .docxdrennanmicah
 
Studying a study 5ta edición
Studying a study 5ta ediciónStudying a study 5ta edición
Studying a study 5ta ediciónGẽrman Diãz
 
Decision Support for STD Screening via Tablet
Decision Support for STD Screening via TabletDecision Support for STD Screening via Tablet
Decision Support for STD Screening via TabletYTH
 
Critical Appriaisal Skills Basic 1 | May 4th 2011
Critical Appriaisal Skills Basic 1 | May 4th 2011Critical Appriaisal Skills Basic 1 | May 4th 2011
Critical Appriaisal Skills Basic 1 | May 4th 2011NES
 
Sample Size Estimation and Statistical Test Selection
Sample Size Estimation  and Statistical Test SelectionSample Size Estimation  and Statistical Test Selection
Sample Size Estimation and Statistical Test SelectionVaggelis Vergoulas
 
HCS131 v7Effective Consumer RelationsHCS131 v7Page 2 of 2.docx
HCS131 v7Effective Consumer RelationsHCS131 v7Page 2 of 2.docxHCS131 v7Effective Consumer RelationsHCS131 v7Page 2 of 2.docx
HCS131 v7Effective Consumer RelationsHCS131 v7Page 2 of 2.docxshericehewat
 
Surviving statistics lecture 1
Surviving statistics lecture 1Surviving statistics lecture 1
Surviving statistics lecture 1MikeBlyth
 
HLT 362V Inspiring Innovation/tutorialrank.com
 HLT 362V Inspiring Innovation/tutorialrank.com  HLT 362V Inspiring Innovation/tutorialrank.com
HLT 362V Inspiring Innovation/tutorialrank.com jonhson133
 
Alzheimer
AlzheimerAlzheimer
AlzheimerHarold
 
COVID19 Updates Related to Children: 3 Hot Topics
COVID19 Updates Related to Children:  3 Hot TopicsCOVID19 Updates Related to Children:  3 Hot Topics
COVID19 Updates Related to Children: 3 Hot TopicsKatherine Noble
 

Similar to HStatsAwardHypothesisTesting.ppt (20)

COVID and Causal Inference -- NAS CATS 6/2020
COVID and Causal Inference -- NAS CATS 6/2020COVID and Causal Inference -- NAS CATS 6/2020
COVID and Causal Inference -- NAS CATS 6/2020
 
Staff Meeting Breakout of HIV Prevention Topics
Staff Meeting Breakout of HIV Prevention TopicsStaff Meeting Breakout of HIV Prevention Topics
Staff Meeting Breakout of HIV Prevention Topics
 
1.1 statistical and critical thinking
1.1 statistical and critical thinking1.1 statistical and critical thinking
1.1 statistical and critical thinking
 
Sample size calculation
Sample size calculationSample size calculation
Sample size calculation
 
Ppr r101-session-3-smart
Ppr r101-session-3-smartPpr r101-session-3-smart
Ppr r101-session-3-smart
 
Expanded PICO V1
Expanded PICO V1Expanded PICO V1
Expanded PICO V1
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
1ROOT CAUSE ANALYSIS .docx
1ROOT CAUSE ANALYSIS                            .docx1ROOT CAUSE ANALYSIS                            .docx
1ROOT CAUSE ANALYSIS .docx
 
Studying a study 5ta edición
Studying a study 5ta ediciónStudying a study 5ta edición
Studying a study 5ta edición
 
Decision Support for STD Screening via Tablet
Decision Support for STD Screening via TabletDecision Support for STD Screening via Tablet
Decision Support for STD Screening via Tablet
 
Critical Appriaisal Skills Basic 1 | May 4th 2011
Critical Appriaisal Skills Basic 1 | May 4th 2011Critical Appriaisal Skills Basic 1 | May 4th 2011
Critical Appriaisal Skills Basic 1 | May 4th 2011
 
Sample Size Estimation and Statistical Test Selection
Sample Size Estimation  and Statistical Test SelectionSample Size Estimation  and Statistical Test Selection
Sample Size Estimation and Statistical Test Selection
 
HCS131 v7Effective Consumer RelationsHCS131 v7Page 2 of 2.docx
HCS131 v7Effective Consumer RelationsHCS131 v7Page 2 of 2.docxHCS131 v7Effective Consumer RelationsHCS131 v7Page 2 of 2.docx
HCS131 v7Effective Consumer RelationsHCS131 v7Page 2 of 2.docx
 
Myers7e enhanced 01
Myers7e enhanced 01Myers7e enhanced 01
Myers7e enhanced 01
 
Ch01
Ch01Ch01
Ch01
 
Surviving statistics lecture 1
Surviving statistics lecture 1Surviving statistics lecture 1
Surviving statistics lecture 1
 
HLT 362V Inspiring Innovation/tutorialrank.com
 HLT 362V Inspiring Innovation/tutorialrank.com  HLT 362V Inspiring Innovation/tutorialrank.com
HLT 362V Inspiring Innovation/tutorialrank.com
 
Green
GreenGreen
Green
 
Alzheimer
AlzheimerAlzheimer
Alzheimer
 
COVID19 Updates Related to Children: 3 Hot Topics
COVID19 Updates Related to Children:  3 Hot TopicsCOVID19 Updates Related to Children:  3 Hot Topics
COVID19 Updates Related to Children: 3 Hot Topics
 

Recently uploaded

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 

Recently uploaded (20)

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 

HStatsAwardHypothesisTesting.ppt

  • 1.
  • 3. Hypothesis Testing David Young Department of Mathematics & Statistics University of Strathclyde NHS, Greater Glasgow and Clyde
  • 4. Overview Welcome to the University of Strathclyde  introduction to SQA level 6 Statistics Award (SQA Home > National Qualifications > Subjects > Statistics Award (SCQF level 6)  how statistics can answer important questions  practical sessions using Minitab and/or R
  • 5. What is statistics …?  statistics is the science of collecting, analysing, presenting and interpreting data  it enables the objective evaluation of research questions of interest  it provides the means to weigh up how much evidence the collected data provide for and against the research hypothesis of interest  statistics are available on almost every aspect of daily life
  • 6. 2014 – the year of the selfie  millions are shared each and every day across all the major social media platforms  according to data from Samsung, selfies make up almost one-third of all photos taken by people aged 18-24  Facebook, WhatsApp, Twitter, Instagram and Snapchat bearing the brunt of that load  Link – http://www.adweek.com/digital/selfie-generation/  Twitter’s most retweeted post of all time …  Twitter’s most retweeted post of all time  …
  • 7. Use this slide for large images, graphics or tables.
  • 8. Addressing important questions  Can you get diabetes from eating too much sugar?  What are the side effects of too much vitamin D?  Is smartphone addiction a real phenomenon?  Does eating turkey at Christmas make you tired?  Does vitamin C make you look younger?  Is paracetamol better than codeine for treatment of pain?  ‘Two heads are better than one’.  Statistics can be used to answer such questions
  • 9. Not always a clear answer …  turkey makes you tired because it’s loaded with tryptophan  tryptophan is a pre-cursor to serotonin which is a mood modulator, inducing relaxation and supporting sleep  tryptophan alone does not make you tired  combining tryptophan with carbohydrates does  it is not the turkey that’s causing Christmas sleepiness, it’s the turkey plus the cranberries, rolls, and pie  turkey actually has less tryptophan than chicken
  • 10. Drug development  pharmaceutical companies have to gather data on drug performance  a drug cannot be used commercially until the company have produced evidence of efficacy and safety  statistical tests (known as hypothesis test) can be used to gather this evidence
  • 11. Omeprazole  Omeprazole (Prilosec, Zegerid) belongs to a group of drugs called proton pump inhibitors  it decreases the amount of acid produced in the stomach  Omeprazole is used to treat symptoms of gastroesophageal reflux disease (GERD) and other conditions caused by excess stomach acid  common side effects may include: stomach pain, gas, nausea, vomiting, diarrhoea or headache  https://www.drugs.com/omeprazole.html
  • 12. Statistics and Probability  statistical analysis considers the probability of an event being due to chance  can never be 100% certain for example that one treatment is better than another  can say mathematically how sure we are that a result is true
  • 13. Probability  hypothesis: all dogs can bark  how would you prove this?  data has to be gathered to give evidence for or against the hypothesis  a hypothesis test has to be performed
  • 27. Interpretation  If the difference was not due to chance why did it happen?
  • 28. Interpretation  If the difference was not due to chance why did it happen?  When is this claim valid?
  • 29. Interpretation  If the difference was not due to chance why did it happen?  When is this claim valid?  What are the consequences of getting it wrong?
  • 30. Additional Points  errors in hypothesis testing – p<0.01!  null and alternative hypotheses  cranberry juice – randomisation http://www.ncbi.nlm.nih.gov/pubmed/22961092
  • 31. Additional Points  double blind studies  http://www.theguardian.com/society/2005/jan/17/health .medicineandhealth  placebo trials  comparison of baseline characteristics  intention-to-treat and per-protocol – weight loss example  tests for correlation, regression and normality testing
  • 32. Two heads are better than one …?  study design?  what were the rules for doing the quiz?  randomisation?  double blind?  how many participated – why is this important?  who marked?  are you satisfied that the groups were comparable?