You are conducting a project for RDA examining whether stress levels change depending on what participants listen to while studying material. You randomly assign half your participants to listen to white noise while studying material for a test, while the other half listen to nature sounds while studying the material for a test. After minutes of study, you have each participant complete a item stress inventory where scores range from to with higher scores meaning higher stress. Specifically, you want to test the hypothesis that the mean stress scores will differ between the two listening groups. The scores for each participant in each group are listed below.
A Use RStudio to calculate the mean for each group. Report these means.
B Use RStudio to calculate the standard deviation for each group. Report these SDs
C Use RStudio to calculate the appropriate ttest. Assume that you are testing the hypothesis that is specifically described above.
D Report the tvalue obtained. Was it statistically significant? Report the p value obtained to provide support for your answer.
E Now assume you had predicted that the white noise group would have a larger mean stress score than the nature sounds group. Use RStudio to calculate the appropriate ttest under these conditions.
F Report the tvalue obtained. Was it statistically significant? Provide the p value obtained to provide support for your answer.
Read more here: Source link