Skip to main content

Hypothesis Testing & ANOVA

  • Chapter
  • First Online:
Market Research

Part of the book series: Springer Texts in Business and Economics ((STBE))

Abstract

We first describe the essentials of hypothesis testing and how testing helps make critical business decisions of statistical and practical significance. Without using difficult mathematical formulas, we discuss the steps involved in hypothesis testing, the types of errors that may occur, and provide strategies on how to best deal with these errors. We also discuss common types of test statistics and explain how to determine which type you should use in which specific situation. We explain that the test selection depends on the testing situation, the nature of the samples, the choice of test, and the region of rejection. Drawing on a case study, we show how to link hypothesis testing logic to empirics in Stata. The case study touches upon different test situations and helps you interpret the tables and graphics in a quick and meaningful way.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 159.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    In experimental studies, if respondents were paired with others (as in a matched case control sample), each person would be sampled once, but it still would be a paired sample.

  2. 2.

    Stata does not directly support Welch’s correction for an ANOVA, but a user-written package called wtest is readily available and can be installed (see Chap. 5 on how to install user-written packages in Stata). This allows you to perform a test similar to the standard ANOVA test with Welch’s correction. For more information see Stata’s help file: http://www.ats.ucla.edu/stat/stata/ado/analysis/wtest.hlp

  3. 3.

    The fundamental difference between the z- and t-distributions is that the t-distribution is dependent on sample size n (which the z-distribution is not). The distributions become more similar with larger values of n.

  4. 4.

    To obtain the critical value, write display invt(9,1–0.05/2) in the command window.

  5. 5.

    Unfortunately, there is some confusion about the difference between the α and p-value. See Hubbard and Bayarri (2003) for a discussion.

  6. 6.

    Note that this is convention and most textbooks discuss hypothesis testing in this way. Originally, two testing procedures were developed, one by Neyman and Pearson and another by Fisher (for more details, see Lehmann 1993). Agresti and Finlay (2014) explain the differences between the convention and the two original procedures.

  7. 7.

    Note that this doesn’t apply, for instance, to exact tests for probabilities.

  8. 8.

    We don’t have to conduct manual calculations and tables when working with Stata. However, we can easily compute the p-value ourselves by using the TDIST function in Microsoft Excel. The function has the general form “TDIST(t, df, tails)”, where t describes the test value, df the degrees of freedom, and tails specifies whether it’s a one-tailed test (tails = 1) or two-tailed test (tails = 2). Just open a new spreadsheet for our example and type in “=TDIST(2.274,9,1)”. Likewise, there are several webpages with Java-based modules (e.g., http://graphpad.com/quickcalcs/pvalue1.cfm) that calculate p-values and test statistic values.

  9. 9.

    The number of pairwise comparisons is calculated as follows: k·(k − 1)/2, with k the number of groups to compare.

  10. 10.

    Mitchell (2015) provides a detailed introduction to other ANOVA types, such as the analysis of covariance (ANCOVA).

  11. 11.

    In fact, these two assumptions are interrelated, since unequal group sample sizes result in a greater probability that we will violate the homogeneity assumption.

  12. 12.

    SS is an abbreviation of “sum of squares,” because the variation is calculated using the squared differences between different types of values.

  13. 13.

    Note that the group-specific sample size in this example is too small to draw conclusions and is only used to show the calculation of the statistics.

  14. 14.

    The Stata help contrast function provides an overview and references.

References

  • Agresti, A., & Finlay, B. (2014). Statistical methods for the social sciences (4th ed.). London: Pearson.

    Google Scholar 

  • Bartus, T. (2005). Estimation of marginal effects using marge off. The Stata Journal, 5(3), 309–329.

    Google Scholar 

  • Boneau, C. A. (1960). The effects of violations of assumptions underlying the t test. Psychological Bulletin, 57(1), 49–64.

    Article  Google Scholar 

  • Brown, M. B., & Forsythe, A. B. (1974). Robust tests for equality of variances. Journal of the American Statistical Association, 69(346), 364–367.

    Article  Google Scholar 

  • Cohen, J. (1992). A power primer. Psychological Bulletin, 112(1), 155–159.

    Article  Google Scholar 

  • Everitt, B. S., & Skrondal, A. (2010). The Cambridge dictionary of statistics (4th ed.). Cambridge: Cambridge University Press.

    Google Scholar 

  • Field, A. (2013). Discovering statistics using SPSS (4th ed.). London: Sage.

    Google Scholar 

  • Greene, W. H. (1997). Econometric analysis (3rd ed.). Upper Saddle River: Prentice Hall.

    Google Scholar 

  • Hubbard, R., & Bayarri, M. J. (2003). Confusion over measure of evidence (p’s) versus errors (α’s) in classical statistical testing. The American Statistician, 57(3), 171–178.

    Article  Google Scholar 

  • Kimmel, H. D. (1957). Three criteria for the use of one-tailed tests. Psychological Bulletin, 54(4), 351–353.

    Article  Google Scholar 

  • Lehmann, E. L. (1993). The Fischer, Neyman-Pearson theories of testing hypotheses: One theory or two? Journal of the American Statistical Association, 88(424), 1242–1249.

    Article  Google Scholar 

  • Levene, H. (1960). Robust tests for equality of variances. In I. Olkin (Ed.), Contributions to probability and statistics (pp. 278–292). Palo Alto: Stanford University Press.

    Google Scholar 

  • Liao, T. F. (2002). Statistical group comparison. New York: Wiley-InterScience.

    Book  Google Scholar 

  • Lichters, M., Brunnlieb. C., Nave, G., Sarstedt, M., & Vogt, B. (2016). The influence of serotonin defficiency on choice deferral and the compromise effect. Journal of Marketing Research, 53(2), 183–198.

    Google Scholar 

  • Lilliefors, H. W. (1967). On the Kolmogorov–Smirnov test for normality with mean and variance unknown. Journal of the American Statistical Association, 62(318), 399–402.

    Article  Google Scholar 

  • Mann, H. B., & Whitney, D. R. (1947). On a test of whether one of two random variables is stochastically larger than the other. The Annals of Mathematical Statistics, 18(1), 50–60.

    Article  Google Scholar 

  • Mitchell, M. N. (2015). Stata for the behavioral sciences. College Station: Stata Press.

    Google Scholar 

  • Nuzzo, R. (2014). Scientific method: Statistical errors. Nature, 506(7487), 150–152.

    Article  Google Scholar 

  • Ruxton, G. D., & Neuhaeuser, M. (2010). When should we use one-tailed hypothesis testing? Methods in Ecology and Evolution, 1(2), 114–117.

    Article  Google Scholar 

  • Schuyler, W. H. (2011). Readings statistics and research (6th ed.). London: Pearson.

    Google Scholar 

  • Shapiro, S. S., & Wilk, M. B. (1965). An analysis of variance test for normality (complete samples). Biometrika, 52(3/4), 591–611.

    Article  Google Scholar 

  • Van Belle, G. (2008). Statistical rules of thumb (2nd ed.). Hoboken: Wiley.

    Google Scholar 

  • Wasserstein, R. L., & Lazar, N. A. (2016). The ASA’s statement on p-values: Context, process, and purpose. The American Statistician, 70(2), 129–133.

    Article  Google Scholar 

  • Welch, B. L. (1951). On the comparison of several mean values: An alternative approach. Biometrika, 38(3/4), 330–336.

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer Nature Singapore Pte Ltd.

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Mooi, E., Sarstedt, M., Mooi-Reci, I. (2018). Hypothesis Testing & ANOVA. In: Market Research. Springer Texts in Business and Economics. Springer, Singapore. https://doi.org/10.1007/978-981-10-5218-7_6

Download citation

Publish with us

Policies and ethics