Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please do this in R-Studio 2. Female Culex pipiens mosquitoes lay their eggs as rafts that float on the water surface. Steve is interested in

image text in transcribed
please do this in R-Studio
2. Female Culex pipiens mosquitoes lay their eggs as rafts that float on the water surface. Steve is interested in determining if the presence of a predator in the water that feeds on mosquito larvae will affect the number of eggs the females lay in the container. He sets up 10 containers outside along a tree line and places a predatory aquatic insect in 5 of the containers. After a week, Steve examines the containers and counts the eggs he finds. He also asks his graduate student, Katie, to count the eggs to double check his data. The counts are in the table below Number of Eggs laid by Culex pipiens mosquitoes Predator Present Predator Absent Container 1 2 3 4 5 6 7 8 9 10 Steve's Counts 543 228 367 614 423 542 896 354 427 672 Katie's 543 220 367 608 423 550 896 382 425 672 Counts a. Create 2 vectors, one with Steve's counts and one with Katie's counts for the containers (in order of the containers). b. Use logical operations to determine the following: i. Using Steve's counts, which containers had more than 500 but less than 700 eggs? ii. How many containers did Steve count the same number of eggs that Katie counted? iii. Which containers did Steve and Katie not get the same number of eggs? iv. Assuming Steve's numbers are right, did Katie overcount or undercount more often? v. Now let's assume that the higher count is the correct count. Using either the vector for Steve or the one for Katie as a starting point, create a new vector with the correct counts (but don't change the original Steve or Katie vectors). Bonus points if you can do it so the arguments in this new vector are in the same order as the containers vi. With the vector you created in d, what is the average (mean) number of eggs for the Predator Present containers? What is the average number of eggs for the Predator Absent containers? (Hint: you will have to create two vectors, one for the Predator Present containers and one of the Predator Absent containers first from the vector you created in d.)

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

College Physics

Authors: Jerry D. Wilson, Anthony J. Buffa, Bo Lou

7th edition

9780321571113, 321601831, 978-0321601834

More Books

Students also viewed these Accounting questions

Question

What are the degrees of freedom associated with ????e.

Answered: 1 week ago

Question

What is your current position?

Answered: 1 week ago