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

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

expert
Vinay WahwaAccounting
(5/5)

992 Answers

Hire Me
expert
Aaron BiltoftStatistics
(5/5)

522 Answers

Hire Me
expert
Richard RusselllEngineering
(5/5)

603 Answers

Hire Me
expert
Pooja DTechnical writing
(/5)

529 Answers

Hire Me
R Programming
(5/5)

Accounting for the effect of treatment, is there a difference in mean pup weight between the sexes?

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

All scripts must be fully annotated and completely reproducible. Marks for each bit are in brackets, in bold, after each.

Install and load the ‘MEMSS’ package and use the ‘RatPupWeight’ dataframe contained within it. To load it, just type data(RatPupWeight) into R after you have installed and loaded the MEMSS package.

 

 

1. Accounting for the effect of treatment, is there a difference in mean pup weight between the sexes? (10 marks)

 

2. Make an appropriate plot that illustrates the difference in mean pup weight between each of the sexes within each treatment. (10 marks)

 

3. A) Accounting for the fact that multiple pups were measured within each litter, determine if sex and litter size affect pup weight. Conduct all appropriate model and significance checks. (20 marks).

 

B) What percentage of total variance is explained by variation within litters? (10 marks)

 

4. Using a generalized linear model (GLM) with an appropriate link function, determine if sex, treatment and weight and all possible two-way interactions between them affect litter size. Start with a model with main effects and interactions, and then simplify it using backwards model selection. Conduct all appropriate model and significance checks. (20 marks). Bonus marks: is there underdispersion or overdispersion in your final best model, and why? (10 marks)

 

5. Generate a plot with weight on the x-axis and litter size (Lsize) on the y-axis, and then plot the predicted effects (on the original data scale) from the best model from step 4. Note you need to back-transform from the link scale here, i.e. the resulting predicted effects will be curves. Colour code the data points and predicted curves to highlight any statistically significant main effects or interactions involving categorical variables from the final minimum adequate model. (20 marks) You can use ggplot or base R here!

 

 

(5/5)
Attachments:

Expert's Answer

473 Times Downloaded

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