Friedman test is used to assess whether there are any statistically significant differences between the distributions of three or more paired groups. It's recommended when the normality assumptions of the one-way repeated measures ANOVA test is not met or when the dependent variable is measured on an ordinal scale. Using R for data analysis, we'll use the self esteem score dataset measured over three time points. The data is available in the datarium package. At 0.05 level of significance, test whether the self esteem score was statistically significantly different at the different time points during the diet. R code and its output is given below.

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Question
Friedman test is used to assess whether there are any statistically significant differences between the distributions of three or
more paired groups. It's recommended when the normality assumptions of the one-way repeated measures ANOVA test is
not met or when the dependent variable is measured on an ordinal scale. Using R for data analysis, we ll use the self esteem
score dataset measured over three time points. The data is available in the datarium package. At 0.05 level of significance,
test whether the self esteem score was statistically significantly different at the different time points during the diet. R code
and its output is given below.
R code and its output
data ("selfesteen", package = "datarium")
head (selfesteem, 3)
# + A tibble: 3 x 4
id
<int> <dbl> <dbl> <dbl>
t1
t2
t3
1 4.01
2 2.56
3 3.24
5.18
7.11
6.31
9.78
6.91
4.44
selfesteem <- selfesteem >
gather (key = "time", value = "score", t1, t2, t3) $>8
convert_as_factor (id, time)
head (selfesteem, 3)
+# + A tibble: 3 x 3
id
time
<fet> <fct> <dbl>
score
** 11
ti
4.01
* 2 2
4 33
t1
tl
2.56
3.24
selfesteem >
group_by (time) %>*
get_summary_atats(score, type = "common")
# # A tibble: 3 x 11
time
variable
min
max median
igr mean
sd
ci
n
se
<fct> <chr>
<dbl> <dbl> <dbl>
<dbl> <dbl> <dbl> <dbl> <dbl> <dbl>
# 1 t1
# 2 t2
+# 3 t3
10
10
2.05
3.91
4.00
3.21 0.571 3.14 0.552 0.174 0.395
4.60 0.89
3core
score
6.91
4.93 0.863 0.273 0.617
Score
10 6.31
9.78
7.46 1.74
7.64 1.14
0.361 0.817
res.fried <- selfesteem >% friedman_test (score - time lid)
res.fried
+# + A tibble: 1 x 6
p method
<dbl> <chr>
2 0.000112 Friedman test
n statistic
df
-y.
4* <chr> <int>
# 1 score
<dbl> <dbl>
10
18.2
Which of the following is the correct of the result of the data analysis using R?
I. The self esteem score was not statistically significantly different at the different time points during the diet.
II. The self esteem score was statistically significantly different at the same time points during the diet.
III. The self esteem score was statistically significantly different at the different time points during the diet.
a I only
b. II only
c. Both I and II
d. III only
Transcribed Image Text:Friedman test is used to assess whether there are any statistically significant differences between the distributions of three or more paired groups. It's recommended when the normality assumptions of the one-way repeated measures ANOVA test is not met or when the dependent variable is measured on an ordinal scale. Using R for data analysis, we ll use the self esteem score dataset measured over three time points. The data is available in the datarium package. At 0.05 level of significance, test whether the self esteem score was statistically significantly different at the different time points during the diet. R code and its output is given below. R code and its output data ("selfesteen", package = "datarium") head (selfesteem, 3) # + A tibble: 3 x 4 id <int> <dbl> <dbl> <dbl> t1 t2 t3 1 4.01 2 2.56 3 3.24 5.18 7.11 6.31 9.78 6.91 4.44 selfesteem <- selfesteem > gather (key = "time", value = "score", t1, t2, t3) $>8 convert_as_factor (id, time) head (selfesteem, 3) +# + A tibble: 3 x 3 id time <fet> <fct> <dbl> score ** 11 ti 4.01 * 2 2 4 33 t1 tl 2.56 3.24 selfesteem > group_by (time) %>* get_summary_atats(score, type = "common") # # A tibble: 3 x 11 time variable min max median igr mean sd ci n se <fct> <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> # 1 t1 # 2 t2 +# 3 t3 10 10 2.05 3.91 4.00 3.21 0.571 3.14 0.552 0.174 0.395 4.60 0.89 3core score 6.91 4.93 0.863 0.273 0.617 Score 10 6.31 9.78 7.46 1.74 7.64 1.14 0.361 0.817 res.fried <- selfesteem >% friedman_test (score - time lid) res.fried +# + A tibble: 1 x 6 p method <dbl> <chr> 2 0.000112 Friedman test n statistic df -y. 4* <chr> <int> # 1 score <dbl> <dbl> 10 18.2 Which of the following is the correct of the result of the data analysis using R? I. The self esteem score was not statistically significantly different at the different time points during the diet. II. The self esteem score was statistically significantly different at the same time points during the diet. III. The self esteem score was statistically significantly different at the different time points during the diet. a I only b. II only c. Both I and II d. III only
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman