Statistics and Probability with Applications for Engineers and Scientists Using MINITAB, R and JMP. Bhisham C. Gupta

Чтение книги онлайн.

Читать онлайн книгу Statistics and Probability with Applications for Engineers and Scientists Using MINITAB, R and JMP - Bhisham C. Gupta страница 54

Statistics and Probability with Applications for Engineers and Scientists Using MINITAB, R and JMP - Bhisham C. Gupta

Скачать книгу

2.9.1 appears in the Session window.

      3 For calculating the correlation coefficient, select from the Menu bar Stat Basic Statistics Correlation. Then, enter the variables C1 and C2 in the dialog box.

       USING R

      We can use a built in ‘plot()’ function in R to generate scatter plots. Extra arguments such as ‘pch’ and ‘cex’ can be used to specify the plotting symbol and size of the symbol, respectively. Finally, the function ‘abline()’ can be used to embed the trend line to the scatter plot as follows. The function ‘cor()’ can be used to calculate the Pearson correlation coefficient. The whole task can be completed by running the following R code in the R Console window.

      x = c(195,180,220,160,200,220,200,183,139,155) y = c(130,128,138,122,140,148,142,127,116,123) #To plot the data in a scatter plot plot(x, y, pch = 20, cex = 2, main = ‘Scatterplot for Cholesterol Level and Systolic Blood Pressure Data’, xlab = ‘Cholesterol Level’, ylab = ‘Systolic Blood Pressure’) #To add a trend line abline(lm(y images x), col = ‘red’) #To calculate the Pearson correlation coefficient cor(x, y) images 0.9242063

      The resulting R scatter plot for the data in Table 2.9.1 looks exactly the same as in the MINTAB printout in Figure 2.9.1.

      PRACTICE PROBLEMS FOR SECTION 2.9

      1 The following data give the heights (cm) and weights (lb) of 10 male undergraduate students:Heights170167172171165170168172175172Weights182172179172174179188168185169Draw a scatter plot for these data. By observing this scatter plot, do you expect the correlation between heights and weights to be positive or negative?Determine the correlation coefficient between the heights and weights.

      2 The following data give the final exam scores in biology and chemistry of eight science majors:Biology scores8588789289837995Chemistry scores9084869594898487Draw a scatter plot for these data. By observing this scatter plot, do you expect the correlation between biology and chemistry scores to be approximately 1, 1, or 0?Determine the correlation coefficient between the biology and chemistry scores.

      3 The following data show the experience (in years) and yearly salaries (in thousands of dollars) of 10 engineers:Experience101281561114161512Salaries98959711088102120128105104Construct a scatter plot for these data. By observing this scatter plot, do you expect the correlation between experience and salaries to be positive or negative?Determine the correlation coefficient between the experience and salaries. Is the value of correlation coefficient consistent with what you concluded in part (a)?

      4 The following scores give two managers' assessments of ten applicants for the position of a senior engineer:Manager 17897989796Manager 28699879878Construct a scatter plot for these data. By observing this scatter plot, do you expect the correlation between assessments of managers 1 and 2 to be positive or negative?Determine the correlation coefficient between the assessment managers 1 and 2. Is the value of correlation coefficient consistent with what you concluded in part (a)?

      People were shocked because they thought St. Luke's should be in the 80th or 90th percentiles, explains Kent Jackson, director of children's specialty services, and the leader of the hospital's patient and family experience team. “What became more significant was that in the second quarter of 2004, the hospital dropped to the 49th percentile [for inpatient satisfaction]. So, about the time that people were shocked, it was about to get worse,” Jackson recalls.

      2.10.1 About St. Luke's Hospital

       Demonstrating better quality

       Becoming the workshop of choice for physicians

       Partnering with associates

       Strengthening the core (making sure the hospital is financially sound)

       Establishing the hospital as a regional workshop of choice to better serve organizations and promote health care in the region

      Construct the relevant graphs summarizing the data in this case study and interpret them. Then, prepare the progress report that you would like to present to the Board of Directors of the hospital.

Month/Year Inpatient tests reported within
23 minutes of receipt (%)
June 2007 63
July 2007 84
August 2007 71
September 2007 77
October 2007 84
November 2007 93
December 2007 94
Year Physician satisfaction score (percentile score)
2004

Скачать книгу