Question
please solve with R and provide the codes too
A consulting firm is studying the effects of leadership structure on team performance. Four structures are considered, and se
0 0
Add a comment Improve this question Transcribed image text
Answer #1

The R code is

A=c(36.9 ,35.2, 36.6, 40.8,39.0, 35.6, 40.9)
B=c(36.6, 38.0 ,34.8 ,34.9 ,39.2, 39.4, 42.0 )
C=c(31.8 ,31.5 ,25.7 ,30.5 ,33.3 ,23.5, 29.5)
D=c( 34.0,25.1, 23.9,28.5, 34.2, 29.6 ,33.9)
tr=c("A","B","C","D")
t=rep(tr,each=7)
x=c(A,B,C,D)
d=data.frame(x,t)
aov=aov(x~t,data=d)
summary (aov)

The Output is

>A=c(36.9 ,35.2, 36.6, 40.8,39.0, 35.6, 40.9)
>B=c(36.6, 38.0 ,34.8 ,34.9 ,39.2, 39.4, 42.0 )
>C=c(31.8 ,31.5 ,25.7 ,30.5 ,33.3 ,23.5, 29.5)
>D=c( 34.0,25.1, 23.9,28.5, 34.2, 29.6 ,33.9)
>tr=c("A","B","C","D")
>t=rep(tr,each=7)
>x=c(A,B,C,D)
>d=data.frame(x,t)
>aov=aov(x~t,data=d)
>summary (aov)

Df Sumsq Mean Sq Fvalue P(>F)

t 3 472.3 157.44 14.4 1.42e

Residuals 24 262.4 10.93

- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’ 1

Answers

Here Pvalue=1.42e which is approximately zero

The p-value is = 0

since pvalue = 0 & alpha= 0.05

pvalue=0< alpha=0.05, it is concluded that the null hypothesis is rejected

12)

The Null and alternative hypotheses to be tested:

Ho: μ1 = μ2 = μ3 = μ4 i.e the different leadership structures have the same effect on team performance

Ha: Not all means are equal i.e. the different leadership structures have not same effect on team performance

13)

Here P value is less than level of significance alpha=0.05 then we reject the null hypothesis and conclude that  the different leadership structures have not same effect on team performance

Add a comment
Know the answer?
Add Answer to:
please solve with R and provide the codes too A consulting firm is studying the effects...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT