Question

IN R CODE, consider the following data in the table:

Consider the following data: Site Il 85 45 Site III 100 75 Site 93 120 65 105 115 82 Site IV 96 58 95 90 80 65 28 40 75 13 73

These figures provide the depths (in centimeters) at which
important archaeological finds were made at four sites in New Mexico
(see Woosley and Mcintyre, 1996). Store these data in your R
workspace, with one vector containing depth and the other vector
containing the site of each observation.


a. Produce side-by-side boxplots of the depths split by group, and
use additional points to mark the locations of the sample means.


b. Assuming independence, execute diagnostic checks for normality
and equality of variances.


c. Perform and conclude a one-way ANOVA test for evidence of a
difference between the means.


In Section 14.4, you looked at the data set providing measurements
on petal and sepal sizes for three species of iris flowers. This is available
in R as iris.


d. Based on diagnostic checks for normality and equality of variances,
decide which of the four outcome measurements (sepal
length/width and petal length/width) would be suitable for
ANOVA (using the species as the group variable).


e. Carry out one-way ANOVA for any suitable measurement
variables.

Please provide all relevant work: commands, the output and any interpretations/conclusions that are necessary.  

0 0
Add a comment Improve this question Transcribed image text
Answer #1

solu @ a=c(93, 120, 65, 105, 115, 82, 99,87,100 190.78, 95, 97 88,10) b = c(85, 45, 80,28,75,70,65,55,50,40) C = c(100, 751656) Dec (abicid) RITA - qq hory (DJ qq line (DrCol=2) Normal 0 -Q plot to r ead. best THE 2 Tour ou Quantiles VOC oor os ag on- Part lefts k- savared = 1.7355, df =3, P-value = 0.6291 from the output, it can be seen that the p-value of 0.629) Ps not> dira s dould) - 320 SN R [1] 150 s Zlacbia for alormality we use shopino test. >Shapiro test Cd & sepalo lenghth) o pro sha4.5 5.0 5.5 6.0 6.5 7.0 7.5 8.0 тттттттт setosa ----- ------ D ----- -----O D F---------O 2.0 2.5 3.0 3.5 4.0 setosa - ------

e) Here only sepal-width follows alormality and cavality of variance Hence we use sepalo widre. for Anova test. > Anova = aov**** Am happy to help you.Thank you. Please LIKE.

Add a comment
Know the answer?
Add Answer to:
IN R CODE, consider the following data in the table: These figures provide the depths (in...
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
  • The famous data set iris which gives the measurements in centimeters of the variables sepal length...

    The famous data set iris which gives the measurements in centimeters of the variables sepal length and width and petal length and width, respectively, for 50 flowers from each of 3 species of iris is available in R. Type iris directly to see what it looks like. (a) Selecting the observations (rows) whose Species are versicolor. (b) Selecting the observations whose Speices are either versicolor or virginica. (c) Selecting the observations whose Sepal.Width are greater than 2.9 but less than...

  • summatize the following info and break them into differeng key points. write them in yojr own...

    summatize the following info and break them into differeng key points. write them in yojr own words   apartus 6.1 Introduction—The design of a successful hot box appa- ratus is influenced by many factors. Before beginning the design of an apparatus meeting this standard, the designer shall review the discussion on the limitations and accuracy, Section 13, discussions of the energy flows in a hot box, Annex A2, the metering box wall loss flow, Annex A3, and flanking loss, Annex...

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
ADVERTISEMENT