Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

## Create data (skip if not interested) #### season

## Create data (skip if not interested) ####

season <- factor(rep(c("Spring", "Summer"), each = 6))

density <- factor(rep(c(6, 12, 24), each = 3))

y <- c(1.17, 0.50, 1.67, 1.50, 0.83, 1.00, 0.67, 0.67, 0.75,4.00, 3.83, 3.83, 3.33, 2.58, 2.75, 2.54, 1.83, 1.63)

design <- expand.grid(density = factor(c(6, 12, 24)), season = c("Spring", "Summer"))

snails <- data.frame(design[rep(1:nrow(design), each = 3), ], y = y)

## Have a look at interaction plot ####

with(snails, interaction.plot(x.factor = density, trace.factor = season, response = y))

model <- aov(y ~ season * density, data = snails)

summary(model)

Use the codes above toanswerthe following questions

A. Conduct two way ANOVAwithout interaction with Rsoftware to test the effect of density and season on the response variable y .Take decision regarding the factors at 5% level of significance

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

An Introduction To Categorical Data Analysis

Authors: Alan Agresti

2nd Edition

0470653205, 9780470653203

More Books

Students also viewed these Mathematics questions

Question

What do you think you will bring to the organization?

Answered: 1 week ago

Question

When should you avoid using exhaust brake select all that apply

Answered: 1 week ago