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.
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
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
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme