Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The data in 2102_Ass1_Q2.csv gives the pulse rates of 56 randomly selected patients at a hospital emergency department on a given day. Save a copy

The data in 2102_Ass1_Q2.csv gives the pulse rates of 56 randomly selected patients at a hospital emergency department on a given day. Save a copy of the file from the web to your own work area on the computer.

                                                                

Use the data to do the following:

  1. Create and include a histogram in the assignment. You should use StatKey to display the information using a suitable bin width.
  2. Using StatKey, find the mean and median for these data.  Comment on your results.
  3. Briefly describe the shape of the histogram.

 

Question 3 Boxplot (3 marks) 

The Excel file 2102_Ass1_Q3.csv gives information of the ages of swimmers available for competitions. Save a copy of the file from the web to your own work area on the computer.

 

Use this dataset to perform the following tasks:

  1. Create a boxplot and include it in the assignment using StatKey for the ages of swimmers. 
  2. Create the five-number summary for the ages of swimmers available for competitions.
  3. Briefly describe the shape of the box plot (please comment on the skewness).

 

Question 4 Scatterplot (3 marks)

 

The Excel file 2102_Ass1_Q4.csv contains the dataset for a list of movies. Save a copy of the file from the web to your own work area on the computer. 

 

Use this dataset to perform the following tasks:

  1. Make a scatterplot of the data and include it in the assignment using StatKey using alcohol as the explanatory variable and tobacco as the response variable.
  2. Is there a positive or negative relationship shown by your scatter plot?
  3. Are there any outliers? If so, indicate the movie associated with each outlier.

 

Question 5 Regression (6 marks) 

The Excel file 2102_Ass1_Q5.csv contains the dataset of children’s birth weight in a country. The research decided to use the number of cigarettes a pregnant woman smoked daily (cigs) to predict a baby’s birth weight in ounces (bwght).

Save a copy of the file from the web to your own work area on the computer. Use the Regression tool in StatKey to perform the following tasks:

 

  1. Are the two variables (cigs and bwght) discrete or continuous? Explain. 
  2. Find the regression model in context using StatKey (please use the contextual meaning of y and x in this case and keep 3 d.p. for your answer) 
  3. Use your regression model to predict the birth weight if the mum smokes 6 cigarettes per day.
  4. Do you have any concerns about using your regression model to predict the value in (iii)? Explain in one or two sentences. 
  5. Interpret the slope of the linear regression model in context.
  6. Is the intercept of the linear regression model meaningful in this example? Explain in one or two sentences.

Step by Step Solution

3.45 Rating (168 Votes )

There are 3 Steps involved in it

Step: 1

Step 1 Working code implemented in Python and appropriate comments provided for better understanding dataanalysispy Source Code import pandas as pd im... 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_2

Step: 3

blur-text-image_3

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

Applied Statistics And Probability For Engineers

Authors: Douglas C. Montgomery, George C. Runger

6th Edition

1118539710, 978-1118539712

More Books

Students also viewed these Accounting questions