Abstract
R provides easy access to virtually any of the traditional hypothesis tests for means, ranks, and proportions one might need. In Chapter 10 you learn how to do hypothesis tests for one sample, for two samples, and for three or more samples. We will include both parametric tests and nonparametric tests, illustrating each with appropriate data. The statistics functions in base R are usually adequate, but it is often helpful to use additional packages for their enhanced features.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
These data are loosely based on the Gallup poll results reported at http://www.gallup.com/poll/116500/presidential-approval-ratings-george-bush.aspx .
- 2.
See Rusbult, C. E., and Farrell, D. (1983). A longitudinal test of the investment model. The impact on job satisfaction, job commitment, and turnover of variations in reward, costs, alternatives, and investments. Journal of Applied Psychology, 68, 429–438.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2014 Larry A. Pace
About this chapter
Cite this chapter
Pace, L.A. (2014). Hypothesis Tests for Means, Ranks, or Proportions. In: R Recipes. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0130-5_10
Download citation
DOI: https://doi.org/10.1007/978-1-4842-0130-5_10
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-0131-2
Online ISBN: 978-1-4842-0130-5
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)