logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Mason RamirezSociology
(5/5)

990 Answers

Hire Me
expert
Dai AndrewsGeneral article writing
(5/5)

690 Answers

Hire Me
expert
Janet FearnleyPsychology
(4/5)

827 Answers

Hire Me
expert
Barbara ElseeNursing
(5/5)

617 Answers

Hire Me
R Programming
(5/5)

Create a new variable: beak length/body length. Give it an appropriate name when you create it.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Soapberry Bug Measurement and Descriptive Statistics Part II

 

Recently you collect ca. 20 Jadera haematoloma individuals from one of 15 sites on campus or from Sim Park downtown.  You then took three trait measurements from each individual: beak length, body length, and abdomen width.  That after-class assignment involved importing your excel spreadsheet into R and calculating basic descriptive statistics for various groups (all samples, males only, females only).  You’re now going to expand on this by working with the combined data from ALL lab sessions, which your TA has provided.  

 

This week’s in-lab activity and after-class assignment are to complete the tasks below.  Answer each question in an .R script with comments and also save any relevant figures as separate .pdf documents. Your TAs can help you with this.  For all figures, be sure to include appropriate, informative labels on all axes.  Note that #s 7 and 8 below are written responses- you can simply add these to your R script as comments right?  

 

You will likely find these exercises time consuming and difficult at first, and you should take advantage of the time you have in class today to experiment with code and ask questions of your TA.

 

This week’s assignment:

 

1. Import the combined dataset your TA has provided into R.

 

2.  Construct 3 bar charts (geom_bar), one for each of the three trait measurements, showing 95% confidence intervals for males and females.  Remember that the 95% confidence intervals should be shown as error bars.  

 

Hint: use the SummarySE() function to get 95% confidence intervals and geom_errorbar to add your confidence intervals:

http://www.cookbook-r.com/Graphs/Plotting_means_and_error_bars_(ggplot2)/

https://www.rdocumentation.org/packages/Rmisc/versions/1.5/topics/summarySE 

 

3. Create a new variable: beak length/body length.  Give it an appropriate name when you create it.  

 

4. Construct a bar chart for your new beak length/body length variable, showing means with 95% confidence intervals for males and females.

 

5. Create a new dataset of females only.

 

6. Construct a bar chart (for females only) for the new character you created in # 3, with 95% confidence intervals for females at each site.  NOTE that “site 14” is Sim Park, where one lab sampled from the native host the soapberry tree.  Pay particular attention to that site.

 

7.  In a basic sense, the 95% confidence interval for a group’s mean illustrates the range of values that likely contains the true mean of that group.  Therefore, one way of assessing whether the means of two groups are significantly different is to look and see if their 95% confidence intervals overlap.  Do any of your bar charts in #s 2, 4, and 6 suggest that there are significant differences between female/males, or between females at different sites?  If so which ones?

 

8.  Pick any one significant difference you noted in question #9 and briefly (100 words or less) describe why this result makes biological sense.  If it doesn’t make biological sense write about that instead!  If no results are significantly different choose one non-significant result and discuss it.

 

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme