Question

In: Statistics and Probability

SUBMIT ASSOCIATED R SCRIPT WITH THIS ASSIGNMENT 1. There have been several reports that house plants...

SUBMIT ASSOCIATED R SCRIPT WITH THIS ASSIGNMENT

1. There have been several reports that house plants grow at different rates if they are exposed to music. To test this idea, you obtained 30 plants, and randomly chose 10 of plants each for exposure to rock music, exposure to classical music, and a control (no music). Several plants died over the course of the experiment. Below are heights of each plant after the 10 weeks (in cm). Run an Fmax test, Bartlett's test, and a Levene’s test on the data and fill in the cells below.

control rock music classical

9.6

9 6.9
7.2 7.8 9.7
8.9 8.1 6.1
12.6 5.6 8.8
6.1 6.4 10.6
6.9 8.2 7.9
13.8 7.8 10.4
12.9 9.9 11
7.3 7.4
13.1

a.What are your null and alterative hypotheses for each test?

Fmax:

H0

HA:

Bartlett's:

H0:

HA:

Levene's

H0:

HA:

b. Fmax

i. What are your critical and calculated values?

critical:

calculated:

ii. What is your conclusion? Do you need to transform your data? If you needed to transform your data, what tranformation did you use? What is your new calculated value?

2. You run the experiment again and this time, no plants die.

control rock music classical
8.9 8.8 6.4
6.9 6.9 10.1
9.2 7.9 5.9
12.4 6.3 9.2
7.1 6.2 11
5.9 8.3 8.1
14.2 8.4 9.9
13.1 11.6 11.2
6.8 10.1 6.4
12.8 9.8 8.3

a. Bartlett's test

i. what is your p-value

ii. what is your conclusion? Do you need to transform your data?

iii. If you needed to transform your data, what transformation did you use? What's your new p-value?

b. Levene's test

i. what's your p-value before transformation?

ii. what's your p-value after transformation (if you needed it)? If the data don't need a transformation explain why.

Solutions

Expert Solution


> library(PMCMRplus)
>
> control=c(9.6,7.2,8.9,12.6,6.1,6.9,13.8,12.9,7.3,13.1)
> rock_music=c(9,7.8,8.1,5.6,6.4,8.2,7.8,9.9)
> classical=c(6.9,9.7,6.1,8.8,10.6,7.9,10.4,11,7.4)
>
> Y=c(9.6,7.2,8.9,12.6,6.1,6.9,13.8,12.9,7.3,13.1,
+ 9,7.8,8.1,5.6,6.4,8.2,7.8,9.9,
+ 6.9,9.7,6.1,8.8,10.6,7.9,10.4,11,7.4)
>
> Rate=c(rep("control",10), rep("rock_music",8), rep("classical",9))
> data=data.frame(Y, Rate)
> hartleyTest(Y ~ Rate, data=data)

Hartley's maximum F-ratio test of homogeneity of variances

data: Y by Rate
F Max = 4.8481, df = 7, k = 3, p-value = 0.1258

Warning message:
In hartleyTest.default(c(9.6, 7.2, 8.9, 12.6, 6.1, 6.9, 13.8, 12.9, :
Maximum F-ratio test is imprecise for unbalanced designs.
>
>
> par(mfrow=c(2,2))
> qqnorm(control)
> qqline(control)
> qqnorm(rock_music)
> qqline(rock_music)
> qqnorm(classical)
> qqline(classical)
>
> X=sqrt(control)
> Y=log(rock_music)
> Z=log(classical)
>
>
>
> par(mfrow=c(2,2))
> qqnorm(X)
> qqline(X)
> qqnorm(Y)
> qqline(Y)
> qqnorm(classical)
> qqline(classical)


Related Solutions

There have been several problems associated with management compensation at publicly traded companies being uncorrelated with...
There have been several problems associated with management compensation at publicly traded companies being uncorrelated with management performance. Which of the following proposals on compensation offers the most promise in dealing with this problem? a. Put a cap on management compensation at all companies; annual compensation for a manager cannot exceed $ 5 million. b. Require that all top management compensation contracts be put to shareholder vote (rather than be approved by the board of directors) c. Ban all “equity”...
Instructions: 1. Solve the following problems in a MATLAB script. You will be allowed to submit...
Instructions: 1. Solve the following problems in a MATLAB script. You will be allowed to submit only one script, please work all the problems in the same script (Hint: careful with variables names) 2. Show your work and make comments in the same script (Use %). Please write your name in the first line of the scrip with % 3. It is OK to work with other students, but what you submit should be your own work – not something...
Instructions: 1. Solve the following problems in a MATLAB script. You will be allowed to submit...
Instructions: 1. Solve the following problems in a MATLAB script. You will be allowed to submit only one script, please work all the problems in the same script (Hint: careful with variables names) 2. Show your work and make comments in the same script (Use %). Please write your name in the first line of the scrip with % 3. It is OK to work with other students, but what you submit should be your own work – not something...
I have to submit a question and a solution to a problem for an assignment. Please...
I have to submit a question and a solution to a problem for an assignment. Please help! Select a single concept or topic covered in this course (e.g. regression, t-testing, ANOVA, correlation, etc) and create a supplemental material explaining it and its use. Aspects of your explanation may include: - When to use this statistical test. - How this statistical test functions - How this statistical test is computed - What are the assumptions of this statistical test? - Worked...
Please - Please have an original assignment not copied because I have to submit to a...
Please - Please have an original assignment not copied because I have to submit to a citing program. The purpose of this assignment is to review the current state of development for your state's health information exchange (HIE) and current participation rate. Compare your state (New Jersey) to three states with similar demographics. Write a 1,000-1,250 word summary related to the ability of your state's HIE to share data and improve the following: Coordination of care Public health initiatives Evidence-based...
As seen in the PBS Nature documentary ‘What Plants Talk About’, wild tobacco plants have several...
As seen in the PBS Nature documentary ‘What Plants Talk About’, wild tobacco plants have several different mechanisms to defend themselves from herbivore attacks. The following are some of the mechanisms except: Group of answer choices production of trichomes or “evil lollipops” that attracts herbivores, make the herbivores “smell” after eating trichomes and they become a target for predation plants switch pollinators by blooming at dawn production of nicotine which poisons any organism with muscles tobacco plant identifies the herbivore...
Assignment #2: Individual Macronutrient Requirements and Diet Report Required to Submit: Previous assignment #1 and …....
Assignment #2: Individual Macronutrient Requirements and Diet Report Required to Submit: Previous assignment #1 and …. Your Individual Macronutrient Requirements for: Total kcals, Protein, Fat, Carbohydrate & Fiber Completed Diet Report Complete the Report Questions Completing the Diet Report Once you have recorded your 3-day diet, . You can also access the website in the Diet Project Resources module in Canvas. Instructions on how to generate the Cronometer nutrition analysis report can be found in the Diet Project Resources module....
1. Given the following information, you have been requested byyour supervisor to submit the cost...
1. Given the following information, you have been requested by your supervisor to submit the cost of ending inventory under LIFO periodic. At year-end 850 units remained in inventory. January 1 inventory: 2,500 at $2.95 April 9: 4,000 at $4.00June 15: 1,000 at $6.50August 10: 500 at $7.00December 9: 200 at $8.50 2. Given the following information, you have been requested by your supervisor to submit the cost of ending inventory under Weighted-Average periodic. At year-end 850 units remained in...
I have an assignment that must be done on R/R studio R/RStudio - Chapter 4- Correlation...
I have an assignment that must be done on R/R studio R/RStudio - Chapter 4- Correlation and Regression Step 1 – Download and Install the R/RStudio software on your computer. The link and instructions to do that are on Blackboard under Course Information. Step 2 – Access the Data Sets in MyLab through StatCrunch. In chapter 4, a data set called “Used BMW prices 2017” is what we’ll use. Step 3 – When you open the data set in StatCrunch,...
Discuss the adaptations that have enabled flowering plants to overcome the following problems associated with life...
Discuss the adaptations that have enabled flowering plants to overcome the following problems associated with life on land. a. The absence of an aquatic environment for reproduction b. The absence of an aquatic environment to support the plant body c. Dehydration of the plant
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT