BOXING2.txt is Below 2. (Exercise 3.28, using R) (2 pt) Massage therapy for boxe
ID: 2932245 • Letter: B
Question
BOXING2.txt is Below
2. (Exercise 3.28, using R) (2 pt) Massage therapy for boxers. The British Journal of Sports Medicine (April 2000) published a study of the effect of massage on boxing performance. Two variables measured on the boxers were blood lactate concentration (mM) and the boxer's perceived recovery (28-point scale). Based on information provided in the article, the data in the table were obtained for 16 five-round boxing performances, where a massage was given to the boxer between rounds. Download "BOXING2.txt" from the Blackboard and conduct a test to determine whether blood lactate level (y) is linearly related to perceived recovery (z ). Use a = 0.10. o Print your R code and results. (0.5 pt): Write the hypotheses. (0.5 pt) o Find t-value and p-value. (0.5 pt): Make conclusion. (0.5 pt)Explanation / Answer
The complete R snippet is as follows
# read the data into R dataframe
data.df<- read.csv("C:\Users\586645\Downloads\Chegg\data.csv",header=TRUE)
str(data.df)
## the correlation test is
cor.test(data.df$LACTATE,data.df$RECOVERY)
The results are
cor.test(data.df$LACTATE,data.df$RECOVERY)
Pearson's product-moment correlation
data: data.df$LACTATE and data.df$RECOVERY
t = 2.5969, df = 14, p-value = 0.0211 , as the p value is less than 0.05 , hence we reject the null hypothesis in favor of alternate hypothesis and conclude that the correlation between the 2 variables is signficant
alternative hypothesis: true correlation is not equal to 0
95 percent confidence interval:
0.1038218 0.8310094
sample estimates:
cor
0.5701827
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.