Question
Hi, I need your help with these questions. Thanks The answers must be solved with the help of R studio. 1) In a completely randomized
Hi, I need your help with these questions.
Thanks
The answers must be solved with the help of R studio.
1) In a completely randomized design, 15 subjects were assigned to each of 6 treatments of a factor. Below is the partially completed ANOVA table
Source df Sum of Squares Mean Square F-ratio
Treatment 736.08
Error
Total 1273.63
a) Complete the ANOVA table
b) Give the null and alternative hypotheses
c) What do you conclude at an alpha of 0.01?
2) A pharmaceutical company has developed a new drug that they believe increases focus and attention. To test this hypothesis, the company obtains 27 volunteers and randomly assigns 9 to each of three groups. The first group receives a placebo. The second group receives 50mg of the drug. The third group receives 100mg of the drug. After taking the treatment, participants conclued a computerized focus task to measure their level of focus and attention. The percentage accuracy for each participant is shown in the table below:
Placebo 50mg 100mg
81 92 86
80 86 93
72 87 97
82 76 81
83 80 94
89 87 89
76 92 98
88 83 90
83 84 91
a)State the null and alternative hypotheses
b)Perform a one-way ANOVA (give the completed table)
c)At , what do you conclude (give the value for )? Interpret your result.
d)If you rejected the null hypothesis, follow up with Tukey's HSD. Interpret your results.
3) John is looking to invest in the Canadian Stock Market. In particular, John wants to maximize his recieved cashflows, so he would like to invest in companies that have a high dividend per share ratio. Load the FinanceCanada dataset. This contains different Canadian companies sorted into seven industry groups (1=real estate, 2=financial, etc), along with a variety of financial metrics. To direct his investing, John would like to test whether certain types of industries have on average a higher dividend per share ratio.
a)Make a boxplot of the dividend per share ratio for each of the seven types of industry. Describe what the plot shows
b)What are the null and alternative hypotheses?
c)Run a one-way-analysis of variance at the 0.05 level. Note - we want to use TypeOfIndustry as a factor, but the values are numeric (1 through 7). Hence, we must use the command as.factor(TypeofIndustry) for R to treat these as grouping variables. Give the ANOVA table and interpret your results. Are the normality and homogeneity of variance assumptions satisfied?
d)If you found any mean differences in part c), follow up with Tukey's HSD test. Interpret your results. How would you advise John to direct his investing?
e)make a barplot of the mean dividend per share ratio for each type of industry. Include axis labels, a title, and 95% error bars.
FinanceCanada dataset, available in this google drive link: https://drive.google.com/file/d/1fV2jsMRyXHVVs-vyvRBX9Yko9zia_7Ia/view?usp=sharing
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started