SlideShare a Scribd company logo
1 of 12
New Hypothesis Testing Method Guy Lion November 2009
Challenges ,[object Object],[object Object],[object Object],[object Object]
An inadequate solution: Paired testing  So what can we do? ,[object Object],[object Object],[object Object],[object Object]
Combining Regression and Effect Size ,[object Object],[object Object],[object Object],[object Object]
Structure of the Regression ,[object Object],[object Object],[object Object],[object Object],If needed, we could add a macroeconomic variable to capture change in the business environment.
Developing the Regression and  interpreting the Effect Size ,[object Object],[object Object],[object Object]
Building the model I am measuring a variable Y that trended upward from 80 in January 2007 to 95 in August 2009.  The most recent three months, to the right of the red dotted line, consist of the “treatment” period.  The latter had an effect.  And, its “Effect Size” is growing as the store is performing above trend.
Quantifying the Effect Size The Effect Size of the treatment for the first month (June 2009) is equal to the regressed coefficient 0.74, as the treatment bumped the Y value by that much.  Using the standard error of the coefficient, the output builds a 95% confidence interval (0.42 to 1.05).   The p value of this coefficient is 0%, so we are nearly 100% confident that this coefficient is different from zero.
Advantages of this method ,[object Object],[object Object],[object Object],[object Object]
Technical Appendix
Autocorrelation of residuals Time series often break a linear regression assumption that residuals are independent when they are not.  Large positive errors follow large positive ones.  And, large negative errors follow large negative ones.  Autocorrelation of residuals does not affect the regression coefficients.  But, it affects the standard error and confidence intervals around such coefficients. To fix this problem use the lagged (t-1) residual of the original regression as an extra variable in a second regression.  This example does not exhibit autocorrelation of residuals since the Durbin Watson score is close to 2.0.  The seasonality variable and the focus on dummy variables reduce the risk of running into this problem.
Heteroskedasticity Linear regression assumes the variance of the errors remains constant (homoskedasticity).  Time series often exhibit a change in the variance of errors (heteroskedasticity).  Just like autocorrelation of residuals, heteroskedasticity does not affect the regression coefficients.  But, it affects the standard error and confidence intervals around the coefficients.  To fix this issue, transform the Y variable into a % change or log. This example does not demonstrate heteroskedasticity.  The trend variable and the focus on dummy variables reduce the risk of running into this situation.  Also, the Y variable being leveled (it increases by only 20% from beginning to end of series) is unlikely to be heteroskedastic.

More Related Content

What's hot

Converting Measurement Systems From Attribute
Converting Measurement Systems From AttributeConverting Measurement Systems From Attribute
Converting Measurement Systems From Attribute
jdavidgreen007
 
Module5.slp
Module5.slpModule5.slp
Module5.slp
Gimylin
 
Business Quantitative Lecture 3
Business Quantitative Lecture 3Business Quantitative Lecture 3
Business Quantitative Lecture 3
saark
 

What's hot (20)

Converting Measurement Systems From Attribute
Converting Measurement Systems From AttributeConverting Measurement Systems From Attribute
Converting Measurement Systems From Attribute
 
Module5.slp
Module5.slpModule5.slp
Module5.slp
 
Error analysis
Error analysisError analysis
Error analysis
 
Pareto Analysis
Pareto AnalysisPareto Analysis
Pareto Analysis
 
Understanding specification
Understanding specification Understanding specification
Understanding specification
 
What is Multiple Linear Regression and How Can it be Helpful for Business Ana...
What is Multiple Linear Regression and How Can it be Helpful for Business Ana...What is Multiple Linear Regression and How Can it be Helpful for Business Ana...
What is Multiple Linear Regression and How Can it be Helpful for Business Ana...
 
Pareto analysis
Pareto analysisPareto analysis
Pareto analysis
 
Statistical model infographic.compressed (2)
Statistical model infographic.compressed (2)Statistical model infographic.compressed (2)
Statistical model infographic.compressed (2)
 
Kofi nyanteng cleaning and screning data using spss
Kofi nyanteng   cleaning and screning data using spssKofi nyanteng   cleaning and screning data using spss
Kofi nyanteng cleaning and screning data using spss
 
ABCi Skills for Improvement- Pareto Chart
ABCi Skills for Improvement- Pareto ChartABCi Skills for Improvement- Pareto Chart
ABCi Skills for Improvement- Pareto Chart
 
Pareto Principle Explained
Pareto Principle ExplainedPareto Principle Explained
Pareto Principle Explained
 
Analysis using SPSS - H.H.The Rajha's College
Analysis using SPSS  - H.H.The Rajha's CollegeAnalysis using SPSS  - H.H.The Rajha's College
Analysis using SPSS - H.H.The Rajha's College
 
Business Quantitative Lecture 3
Business Quantitative Lecture 3Business Quantitative Lecture 3
Business Quantitative Lecture 3
 
Correlation study-by Dr. Neha Deo
Correlation study-by Dr. Neha DeoCorrelation study-by Dr. Neha Deo
Correlation study-by Dr. Neha Deo
 
P$l statistics
P$l statisticsP$l statistics
P$l statistics
 
Pareto analysis
Pareto analysisPareto analysis
Pareto analysis
 
Pareto analysis method
Pareto analysis methodPareto analysis method
Pareto analysis method
 
Introduction to measurement uncertainty
Introduction to measurement uncertaintyIntroduction to measurement uncertainty
Introduction to measurement uncertainty
 
Accuracy precision and significant figures
Accuracy precision and significant figuresAccuracy precision and significant figures
Accuracy precision and significant figures
 
Econometrics chapter 8
Econometrics chapter 8Econometrics chapter 8
Econometrics chapter 8
 

Similar to New Hypothesis Testing Method

Week 3 Lecture 11 Regression Analysis Regression analy.docx
Week 3 Lecture 11 Regression Analysis Regression analy.docxWeek 3 Lecture 11 Regression Analysis Regression analy.docx
Week 3 Lecture 11 Regression Analysis Regression analy.docx
cockekeshia
 
Article Write-upsTo help you connect what you’re learning in cl.docx
Article Write-upsTo help you connect what you’re learning in cl.docxArticle Write-upsTo help you connect what you’re learning in cl.docx
Article Write-upsTo help you connect what you’re learning in cl.docx
davezstarr61655
 
1Create a correlation table for the variables in our data set. (Us.docx
1Create a correlation table for the variables in our data set. (Us.docx1Create a correlation table for the variables in our data set. (Us.docx
1Create a correlation table for the variables in our data set. (Us.docx
jeanettehully
 
Assignment 2 Tests of SignificanceThroughout this assignment yo.docx
Assignment 2 Tests of SignificanceThroughout this assignment yo.docxAssignment 2 Tests of SignificanceThroughout this assignment yo.docx
Assignment 2 Tests of SignificanceThroughout this assignment yo.docx
rock73
 
Distribution of EstimatesLinear Regression ModelAssume (yt,.docx
Distribution of EstimatesLinear Regression ModelAssume (yt,.docxDistribution of EstimatesLinear Regression ModelAssume (yt,.docx
Distribution of EstimatesLinear Regression ModelAssume (yt,.docx
madlynplamondon
 
Sampling methods theory and practice
Sampling methods theory and practice Sampling methods theory and practice
Sampling methods theory and practice
Ravindra Sharma
 
BUS 308 Week 5 Lecture 3 A Different View Effect Sizes .docx
BUS 308 Week 5 Lecture 3 A Different View Effect Sizes .docxBUS 308 Week 5 Lecture 3 A Different View Effect Sizes .docx
BUS 308 Week 5 Lecture 3 A Different View Effect Sizes .docx
curwenmichaela
 
Running Head Response .docx
Running Head Response                                        .docxRunning Head Response                                        .docx
Running Head Response .docx
toltonkendal
 
BUS308 – Week 5 Lecture 1 A Different View Expected Ou.docx
BUS308 – Week 5 Lecture 1 A Different View Expected Ou.docxBUS308 – Week 5 Lecture 1 A Different View Expected Ou.docx
BUS308 – Week 5 Lecture 1 A Different View Expected Ou.docx
curwenmichaela
 

Similar to New Hypothesis Testing Method (20)

Week 3 Lecture 11 Regression Analysis Regression analy.docx
Week 3 Lecture 11 Regression Analysis Regression analy.docxWeek 3 Lecture 11 Regression Analysis Regression analy.docx
Week 3 Lecture 11 Regression Analysis Regression analy.docx
 
Market Research using SPSS _ Edu4Sure Sept 2023.ppt
Market Research using SPSS _ Edu4Sure Sept 2023.pptMarket Research using SPSS _ Edu4Sure Sept 2023.ppt
Market Research using SPSS _ Edu4Sure Sept 2023.ppt
 
Seawell_Exam
Seawell_ExamSeawell_Exam
Seawell_Exam
 
Article Write-upsTo help you connect what you’re learning in cl.docx
Article Write-upsTo help you connect what you’re learning in cl.docxArticle Write-upsTo help you connect what you’re learning in cl.docx
Article Write-upsTo help you connect what you’re learning in cl.docx
 
Linear regression
Linear regressionLinear regression
Linear regression
 
1Create a correlation table for the variables in our data set. (Us.docx
1Create a correlation table for the variables in our data set. (Us.docx1Create a correlation table for the variables in our data set. (Us.docx
1Create a correlation table for the variables in our data set. (Us.docx
 
Spss software
Spss softwareSpss software
Spss software
 
Assignment 2 Tests of SignificanceThroughout this assignment yo.docx
Assignment 2 Tests of SignificanceThroughout this assignment yo.docxAssignment 2 Tests of SignificanceThroughout this assignment yo.docx
Assignment 2 Tests of SignificanceThroughout this assignment yo.docx
 
Distribution of EstimatesLinear Regression ModelAssume (yt,.docx
Distribution of EstimatesLinear Regression ModelAssume (yt,.docxDistribution of EstimatesLinear Regression ModelAssume (yt,.docx
Distribution of EstimatesLinear Regression ModelAssume (yt,.docx
 
FICO Credit Risk Data
FICO Credit Risk DataFICO Credit Risk Data
FICO Credit Risk Data
 
Sample Size Determination
Sample Size DeterminationSample Size Determination
Sample Size Determination
 
Sampling methods theory and practice
Sampling methods theory and practice Sampling methods theory and practice
Sampling methods theory and practice
 
FICO Credit Risk Data
FICO Credit Risk DataFICO Credit Risk Data
FICO Credit Risk Data
 
BUS 308 Week 5 Lecture 3 A Different View Effect Sizes .docx
BUS 308 Week 5 Lecture 3 A Different View Effect Sizes .docxBUS 308 Week 5 Lecture 3 A Different View Effect Sizes .docx
BUS 308 Week 5 Lecture 3 A Different View Effect Sizes .docx
 
Tempest in teapot
Tempest in teapotTempest in teapot
Tempest in teapot
 
Running Head Response .docx
Running Head Response                                        .docxRunning Head Response                                        .docx
Running Head Response .docx
 
Applications of regression analysis - Measurement of validity of relationship
Applications of regression analysis - Measurement of validity of relationshipApplications of regression analysis - Measurement of validity of relationship
Applications of regression analysis - Measurement of validity of relationship
 
Logistic regression sage
Logistic regression sageLogistic regression sage
Logistic regression sage
 
BUS308 – Week 5 Lecture 1 A Different View Expected Ou.docx
BUS308 – Week 5 Lecture 1 A Different View Expected Ou.docxBUS308 – Week 5 Lecture 1 A Different View Expected Ou.docx
BUS308 – Week 5 Lecture 1 A Different View Expected Ou.docx
 
Multivariate data analysis regression, cluster and factor analysis on spss
Multivariate data analysis   regression, cluster and factor analysis on spssMultivariate data analysis   regression, cluster and factor analysis on spss
Multivariate data analysis regression, cluster and factor analysis on spss
 

More from Gaetan Lion

More from Gaetan Lion (20)

DRU projections testing.pptx
DRU projections testing.pptxDRU projections testing.pptx
DRU projections testing.pptx
 
Climate Change in 24 US Cities
Climate Change in 24 US CitiesClimate Change in 24 US Cities
Climate Change in 24 US Cities
 
Compact Letter Display (CLD). How it works
Compact Letter Display (CLD).  How it worksCompact Letter Display (CLD).  How it works
Compact Letter Display (CLD). How it works
 
CalPERS pensions vs. Social Security
CalPERS pensions vs. Social SecurityCalPERS pensions vs. Social Security
CalPERS pensions vs. Social Security
 
Recessions.pptx
Recessions.pptxRecessions.pptx
Recessions.pptx
 
Inequality in the United States
Inequality in the United StatesInequality in the United States
Inequality in the United States
 
Housing Price Models
Housing Price ModelsHousing Price Models
Housing Price Models
 
Global Aging.pdf
Global Aging.pdfGlobal Aging.pdf
Global Aging.pdf
 
Cryptocurrencies as an asset class
Cryptocurrencies as an asset classCryptocurrencies as an asset class
Cryptocurrencies as an asset class
 
Can you Deep Learn the Stock Market?
Can you Deep Learn the Stock Market?Can you Deep Learn the Stock Market?
Can you Deep Learn the Stock Market?
 
Can Treasury Inflation Protected Securities predict Inflation?
Can Treasury Inflation Protected Securities predict Inflation?Can Treasury Inflation Protected Securities predict Inflation?
Can Treasury Inflation Protected Securities predict Inflation?
 
How overvalued is the Stock Market?
How overvalued is the Stock Market? How overvalued is the Stock Market?
How overvalued is the Stock Market?
 
The relationship between the Stock Market and Interest Rates
The relationship between the Stock Market and Interest RatesThe relationship between the Stock Market and Interest Rates
The relationship between the Stock Market and Interest Rates
 
Life expectancy
Life expectancyLife expectancy
Life expectancy
 
Comparing R vs. Python for data visualization
Comparing R vs. Python for data visualizationComparing R vs. Python for data visualization
Comparing R vs. Python for data visualization
 
Will Stock Markets survive in 200 years?
Will Stock Markets survive in 200 years?Will Stock Markets survive in 200 years?
Will Stock Markets survive in 200 years?
 
Standardization
StandardizationStandardization
Standardization
 
Is Tom Brady the greatest quarterback?
Is Tom Brady the greatest quarterback?Is Tom Brady the greatest quarterback?
Is Tom Brady the greatest quarterback?
 
Regularization why you should avoid them
Regularization why you should avoid themRegularization why you should avoid them
Regularization why you should avoid them
 
Basketball the 3 pt game
Basketball the 3 pt gameBasketball the 3 pt game
Basketball the 3 pt game
 

Recently uploaded

The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
heathfieldcps1
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
CaitlinCummins3
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
Peter Brusilovsky
 

Recently uploaded (20)

Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...Andreas Schleicher presents at the launch of What does child empowerment mean...
Andreas Schleicher presents at the launch of What does child empowerment mean...
 
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
Envelope of Discrepancy in Orthodontics: Enhancing Precision in Treatment
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
 
Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"
Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"
Mattingly "AI and Prompt Design: LLMs with Text Classification and Open Source"
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17
 
Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"
 
IPL Online Quiz by Pragya; Question Set.
IPL Online Quiz by Pragya; Question Set.IPL Online Quiz by Pragya; Question Set.
IPL Online Quiz by Pragya; Question Set.
 
The basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptxThe basics of sentences session 4pptx.pptx
The basics of sentences session 4pptx.pptx
 
UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024UChicago CMSC 23320 - The Best Commit Messages of 2024
UChicago CMSC 23320 - The Best Commit Messages of 2024
 
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
 
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
 
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMDEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
 
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
Exploring Gemini AI and Integration with MuleSoft | MuleSoft Mysore Meetup #45
 
Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
The Liver & Gallbladder (Anatomy & Physiology).pptx
The Liver &  Gallbladder (Anatomy & Physiology).pptxThe Liver &  Gallbladder (Anatomy & Physiology).pptx
The Liver & Gallbladder (Anatomy & Physiology).pptx
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
ANTI PARKISON DRUGS.pptx
ANTI         PARKISON          DRUGS.pptxANTI         PARKISON          DRUGS.pptx
ANTI PARKISON DRUGS.pptx
 
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
 

New Hypothesis Testing Method

  • 1. New Hypothesis Testing Method Guy Lion November 2009
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7. Building the model I am measuring a variable Y that trended upward from 80 in January 2007 to 95 in August 2009. The most recent three months, to the right of the red dotted line, consist of the “treatment” period. The latter had an effect. And, its “Effect Size” is growing as the store is performing above trend.
  • 8. Quantifying the Effect Size The Effect Size of the treatment for the first month (June 2009) is equal to the regressed coefficient 0.74, as the treatment bumped the Y value by that much. Using the standard error of the coefficient, the output builds a 95% confidence interval (0.42 to 1.05). The p value of this coefficient is 0%, so we are nearly 100% confident that this coefficient is different from zero.
  • 9.
  • 11. Autocorrelation of residuals Time series often break a linear regression assumption that residuals are independent when they are not. Large positive errors follow large positive ones. And, large negative errors follow large negative ones. Autocorrelation of residuals does not affect the regression coefficients. But, it affects the standard error and confidence intervals around such coefficients. To fix this problem use the lagged (t-1) residual of the original regression as an extra variable in a second regression. This example does not exhibit autocorrelation of residuals since the Durbin Watson score is close to 2.0. The seasonality variable and the focus on dummy variables reduce the risk of running into this problem.
  • 12. Heteroskedasticity Linear regression assumes the variance of the errors remains constant (homoskedasticity). Time series often exhibit a change in the variance of errors (heteroskedasticity). Just like autocorrelation of residuals, heteroskedasticity does not affect the regression coefficients. But, it affects the standard error and confidence intervals around the coefficients. To fix this issue, transform the Y variable into a % change or log. This example does not demonstrate heteroskedasticity. The trend variable and the focus on dummy variables reduce the risk of running into this situation. Also, the Y variable being leveled (it increases by only 20% from beginning to end of series) is unlikely to be heteroskedastic.