Question 1
x <- c(3, 4, 8, 4, 2, 1, 0, 6)
y <- c(1, 2, 4, 2, 2, 0, 1, 4)
- Calculate:
- z-scores for all values in the variables
- correlation coefficient for X and Y
Question 2
- Would there be a possibility to use the correlation coefficient to identify collocations? Compare with the Chi2 test.
- How could we maybe do that?
Question 3
• Translate the following equation to R: