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
Quality ExpertBusiness
(5/5)

913 Answers

Hire Me
expert
Gary BartonAccounting
(5/5)

917 Answers

Hire Me
expert
Faith WangScience
(5/5)

548 Answers

Hire Me
expert
Jason RoyComputer science
(5/5)

897 Answers

Hire Me
Others
(5/5)

You have data on the body lengths and the tail lengths of 25 endangered monkeys

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Datasets:  

You will use 2datasets for this exam, provided with this email and posted in the Bb portal, under the “Take Home” tab

You can also use your class notes and other materials (pdfs, panopto videos, textbook)

Turning in Exam: Due Date / Time:  May 6th at noon

When you are done, save the file and rename by adding your name to the title: “TakeHomeFinal_Sp21_YOUR NAME” 

Upload the file in the class Bb site, under the “Take Home” Tab

NOTE:  Make sure you add your name to the file name, and use the correct email title.

Assignments that are incorrectly named will be fined 1 point.

Late Work: 

Late submissions will be penalized 2 points per day (or fraction) starting on May 6th, at noon.

DISCLAIMER:   

This exam recreates homework questions using tests you have seen and have practiced in class.  There are no tricks – the computer will run these tests and you will get results.  

Complete this assignment working ALONE, but use your class notes and reference materials provided by the instructor.   

1) Long-tailed Monkeys: (3.50 points) 

You have data on the body lengths and the tail lengths of 25 endangered monkeys (use  Dataset2) and want to determine whether these two variables vary together (e.g., larger monkeys have longer tails and smaller monkeys have shorter tails).    

A) Use the Statistical Decision Tree (in lecture 29) to decide what test you will use to analyze these data: 

- Are there any categorical predictor variables?  If the answer is YES, what are they? (+0.25):

- Are there any continuous predictor variables?  If the answer is YES, what are they? (+0.25):

- Are the data paired or unpaired ?– Explain your reasoning (+0.125): 

- What test will you use? – Explain your reasoning (+0.125):   

B) What is the null / alternate hypothesis for this statistical test? (+0.125):

C) Paste a scatter-plot of these data (+0.25).  Describe the pattern you observe? (+0.125):

D) Perform two tests (one assuming normal distributions and one not assuming normal distributions) of these data and compare your results: Hint – use the nonparametric version that is identical to the parametric version, but uses ranks rather than the raw data.

- Parametric test name :  __________ (+0.125)   - Degrees of freedom (+0.125):____

- Non-parametric test name :  __________(+0.125)   - Degrees of freedom (+0.125):____

E) Copy and paste the results of parametric test (+0.125):

F) Copy and paste the results of non-parametric test (+0.125):

G) What are the results of these tests?  Did the results agree? (+0.125)

H) Based on the similarity / lack of similarity of these two test results, would you guess that these distributions are normally distributed (Why / why not)? (+0.125)

I) You want to determine if the lengths of the tails and the bodies of these monkeys are the same, but are unsure about what statistical test to use.  Which type of test should you use to account for the fact that larger monkeys have longer tails (+0.125) – Hint: are these data independent?

J) Perform two tests (one assuming normal distributions and one not assuming normal distributions) of these data and compare your results:

- Parametric test name :  __________(+0.125)  - Degrees of freedom (+0.125):____

- Non-parametric test name :  __________(+0.125) - Degrees of freedom (+0.125):____

K) Copy and paste the results of parametric test (+0.125):

L) Copy and paste the results of non-parametric test (+0.125):

M) What was the outcome of these tests?  Did the results agree? (+0.125):  

2) Monkey Model (3.5 points):

Customs agents obtained two monkey tails from a wildlife trader and want to use your data to figure out the body length of the animals these tails were taken from.  The tails are 11.0 cm and 12.0 cm long.  

A) Use the Statistical Decision Tree (in lecture 29) to decide what test you will use to analyze these data: 

- Are there any categorical predictor variables?  If the answer is YES, what are they? (+0.25):

- Are there any continuous predictor variables?  If the answer is YES, what are they? (+0.25):

- Are the data paired or unpaired ?– Explain your reasoning (+0.125): 

- What test will you use? – Explain your reasoning (+0.125):  

- Why would you not use a correlation?   – Explain your reasoning (+0.125):  

B) Explain how this method works (+0.125) and what are the assumptions (+0.125):

C) What are the null / alternate hypotheses of this test? (+0.125):

D) Perform this test and past the results (+0.125):

E) What are the degrees of freedom of this test? (+0.125): 

F) What is the result of this test (significant / not significant) (+0.125) – Explain)?

G) Extract the residuals from this test and determine if they are, in fact, normally distributed. 

Paste a scatterplot of the residuals (+0.125):

Paste the results of the SW test of normality of the residuals (+0.125):

Based on this result, are you able to run this regression with these data? (Hint: is the key assumption met) Explain why / why not (+0.125):

H) Create a plot showing the linear regression line and the data (+0.25):

I) How much variance in tail length does the body length model account for (from 0% to 100%)? (+0.125):

J) Report and interpret the estimates of the intercept (+/- 2 SE) and slope (+/- 2 SE) from the linear model. Hint: use the rule of thumb (mean +/- 2 SE) to approximate their 95% Confidence limits) and determine if they are, in fact, significant (+0.125 for each cell):

Parameter

Parameter (mean +/- 2 SE)

Significant?

(using rule of thumb)

Intercept

 

 

 

 

 

Slope

 

 

 

 

 

K) Using these estimates, calculate the body length of a monkey that had a 11.0 cm long tail (+0.125). Please show your work (calculations) for full credit. 

L) Does this value make sense? Explain why / why not (+0.125).

M) Using these estimates, calculate the body length of a monkey that had a 1.0 m long tail (+0.125). Please show your work (calculations) for full credit.   

N)  Does this value make sense? Explain why / why not (+0.125).

O) If you had monkey body lengths, what equation would you use to estimate their tail lengths?  Use these same data to generate the equation (+0.125): 

P) Paste a plot of this new linear regression line showing the point data (+0.25): 

3) Pig Weights (4.5 Points):

You want to determine the effect of four different diets (feed types) on pig weights, but are unsure if you have normally-distributed data, so you will perform two tests: one parametric and one non-parametric using the following data: 20 pigs: 5 pigs assigned to four different diet treatments (see below).  Enter data into Excel and import the file into R (+0.5 POINTS FOR SETTING UP DATA)

Feed 1

Feed2

Feed3

Feed4

60.8

68.7

102.6

87.9

57

67.7

102.1

84.2

65

74.0

100.2

83.1

58.6

66.3

96.5

85.7

61.7

69.8

97.2

90.3

A)  Use descriptive statistics to summarize these four samples.   Report the means / medians / SDs / ranges of the data below (+0.125 for each samples * 4 samples).  What is the grand mean? (+0.125):

B) Paste a graph illustrating the means and S.D.s of the four groups in the dataset (+0.250).  

C) Based on this graph, do these four groups look different? (Why / Why not) (+0.125).

D) Before you do the parametric test, determine if the variances of the samples are equal:

Are the variances of the groups equal?  Why / why not? – Paste and explain the test results (+0.125)

E) Use the Statistical Decision Tree (in lecture 29) to decide what test you will use to analyze these data: 

- Are there any categorical predictor variables?  If the answer is YES, what are they? (+0.25):

- Are there any continuous predictor variables?  If the answer is YES, what are they? (+0.25):

(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