Chapter 4 Multiple choice questions

Quiz Content

not completed
. Create a data object containing the following numbers:
-9, 32, 1, -7, 25, 12, 4, 16
Use the t.test function to run a one sample t-test comparing the mean of these numbers to 0. What is the t-value?

not completed
. We can raise numbers to a power using the ^ symbol. So 2^2 means 2 squared, which returns the answer 4. You can also raise data objects to a power in the same way.
Using the values from question 1, conduct paired and unpaired t-tests to compare them with their squared values. Which answer best describes the outcome?

not completed
. Create a second data object as follows:
b <- c(13, -31, -1, -4, -26, 11, 0, 4)
What is the correlation between these numbers and the values from the question 1?

not completed
. Now use the cor.test function to assess whether the correlation is significant. What is the p-value?

not completed
. Download the data file for the multiple-choice questions for Chapter 4, and open it in R. Use the lm function to run a linear regression on the data in the regdata object, using the formula: DV ~ IV
What is the Adjusted R2 value for the regression?

not completed
. Run a one way independent ANOVA on the data stored in AOVdata. The dependent variable is called RT, and the independent variable is called attentioncondition. What is the value of the F-ratio?

not completed
. Rerun the analysis from Question 6 as a linear regression model using the lm function. What is the p-value for the slope linking levels 1 and 2 of the independent variable?

not completed
. Calculate a paired samples t-test using the data stored in paireddata. What is the p-value for the difference in stickiness between conditions 1 and 2?

not completed
. Use the formula in Table 4.1 to calculate a one-way repeated measures ANOVA using the data in rmdata. What is the F-ratio for the effect of condition on the dependent variable cellsize, and is this significant at p<0.05?

not completed
. Run a 2x2 factorial independent ANOVA on the data stored in factdata, to see how the independent variables IV1 and IV2 influence the dependent variable DV. Which summary best describes the results?

Back to top