Abstract
This chapter introduces data frames, random sampling, and correlation. Readers learn how to perform permutation tests to assess the significance of derived correlations.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Your results will be different given the sampling.
- 2.
Another way to test the significance of a correlation coefficient is to use the cor.test function. Use ?cor.test to learn about this function and then run it using the method="pearson" argument. To make more sense out of the results, consider consulting http://en.wikipedia.org/wiki/P-value on p-values and http://en.wikipedia.org/wiki/T-test on t-tests.
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2014 Springer International Publishing Switzerland
About this chapter
Cite this chapter
Jockers, M.L. (2014). Correlation. In: Text Analysis with R for Students of Literature. Quantitative Methods in the Humanities and Social Sciences. Springer, Cham. https://doi.org/10.1007/978-3-319-03164-4_5
Download citation
DOI: https://doi.org/10.1007/978-3-319-03164-4_5
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-03163-7
Online ISBN: 978-3-319-03164-4
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)