Question

In: Statistics and Probability

~~~~~~~~~~~~TO BE COMPLETED USING RSTUDIO~~~~~~~~~~~~~~ ~~~~~~~~~~~~(Please display all RCode used)~~~~~~~~~~~~~~ Independence Are all employees equally prone...

~~~~~~~~~~~~TO BE COMPLETED USING RSTUDIO~~~~~~~~~~~~~~

~~~~~~~~~~~~(Please display all RCode used)~~~~~~~~~~~~~~

Independence

Are all employees equally prone to having accidents? To investigate this hypothesis, a researcher looked at a light manufacturing plant and classified the accidents by type and by age of the employee. The observed results of the study are found below:

Age Under 25 25 or over Total
Sprain 1111 6161 7272
Burn 1818 1414 3232
Cut 1010 1212 2222
Total 3939 8787 126126


Determine whether age is independent of accident type using ?=0.04α=0.04. Follow the steps outlined in the assignment instructions.

  1. (a) Write the null and alternative hypotheses for this test.

  2. (b) Use the matrix instruction to create and display a table of values, with correct labels on rows and

    columns.

  3. (c) Obtain the test statistic and the P-value of the test using the chisq.test instruction.

  4. (d) Display the expected values. Are assumptions for the test satisfied?

  5. (e) Is age independent of accident type? Explain.

Solutions

Expert Solution


Related Solutions

~~~~~~~~~~~~TO BE COMPLETED USING RSTUDIO~~~~~~~~~~~~~~ ~~~~~~~~~~~~(Please display all RCode used)~~~~~~~~~~~~~~ Regression Is there a relationship between...
~~~~~~~~~~~~TO BE COMPLETED USING RSTUDIO~~~~~~~~~~~~~~ ~~~~~~~~~~~~(Please display all RCode used)~~~~~~~~~~~~~~ Regression Is there a relationship between the number of stories a building has and its height? Some statisticians compiled data on a set of n = 60 buildings reported in the World Almanac. You will use the data set to decide whether height (in feet) can be predicted from the number of stories. data from buildings.txt. (Note that this is a text file, so use the appropriate instruction. If you...
~~~~~~~~~~~~TO BE COMPLETED USING RSTUDIO~~~~~~~~~~~~~~ ~~~~~~~~~~~~(Please display all RCode used)~~~~~~~~~~~~~~ Regression Is there a relationship between...
~~~~~~~~~~~~TO BE COMPLETED USING RSTUDIO~~~~~~~~~~~~~~ ~~~~~~~~~~~~(Please display all RCode used)~~~~~~~~~~~~~~ Regression Is there a relationship between the number of stories a building has and its height? Some statisticians compiled data on a set of n = 60 buildings reported in the World Almanac. You will use the data set to decide whether height (in feet) can be predicted from the number of stories. data from buildings.txt. (Note that this is a text file, so use the appropriate instruction. If you...
~~~~~~~~~~~~TO BE COMPLETED USING RSTUDIO~~~~~~~~~~~~~~ ~~~~~~~~~~~~(PLEASE display all RCode used)~~~~~~~~~~~~~~ Goodness of Fit Microhabitat factors associated...
~~~~~~~~~~~~TO BE COMPLETED USING RSTUDIO~~~~~~~~~~~~~~ ~~~~~~~~~~~~(PLEASE display all RCode used)~~~~~~~~~~~~~~ Goodness of Fit Microhabitat factors associated with forage and bed sites of barking deer in Hainan Island, China, were examined. The sample of 477 examined sites where the deer forage were categorized by habitat as follows: Habitat Woods Cultivated grassplots Deciduous forests Other Deer forage sites 15 16 50 386 In this region, woods make up 4.8% of the land, cultivated grassplots make up 14.7%, and deciduous forests make up...
~~~~~~~~~~~~TO BE COMPLETED USING RSTUDIO~~~~~~~~~~~~~~ ~~~~~~~~~~~~(PLEASE display all RCode used)~~~~~~~~~~~~~~ Goodness of Fit Microhabitat factors associated...
~~~~~~~~~~~~TO BE COMPLETED USING RSTUDIO~~~~~~~~~~~~~~ ~~~~~~~~~~~~(PLEASE display all RCode used)~~~~~~~~~~~~~~ Goodness of Fit Microhabitat factors associated with forage and bed sites of barking deer in Hainan Island, China, were examined. The sample of 477 examined sites where the deer forage were categorized by habitat as follows: Habitat Woods Cultivated grassplots Deciduous forests Other Deer forage sites 15 16 50 386 In this region, woods make up 4.8% of the land, cultivated grassplots make up 14.7%, and deciduous forests make up...
The following are to be completed using MIPS Assembly code. A.   Using syscall #4, display a...
The following are to be completed using MIPS Assembly code. A.   Using syscall #4, display a prompt for the user to enter a number. Then using syscall #5, get a decimal number from the user and save it to data memory (not into a register). After you have stored the number, display it back to the user as a 32-bit binary value. B.   Prompt the user to enter a decimal number and save it to data memory. Using addition and/or...
Please explain how to solve using RStudio, if possible. In a experiment on relaxation techniques, subject's...
Please explain how to solve using RStudio, if possible. In a experiment on relaxation techniques, subject's brain signals were measured before and after the relaxation exercises with the following results: Person 1 2 3 4 5 Before 41.4 41.5 37.3 41.5 41.5 After 37.3 42.5 35.0 36.4 37.0 Is there sufficient evidence to suggest that the relaxation exercise slowed the brain waves? Assume the population is normally distributed. Select the test statistic, p­-value, Decision to Reject (RH0) or Failure to...
Please answer this using Rstudio For the oyster data, calculate regression fits (simple regression) for the...
Please answer this using Rstudio For the oyster data, calculate regression fits (simple regression) for the 2D and 3D data a.1) Give null and alternative hypotheses a.2) Fit the regression model a.3) Summarize the fit and evaluation of the regression model (is the linear relationship significant). a.4 )Calculate residuals and make a qqplot. Is the normal assumption reasonable? Actual   2D   3D 13.04   47.907   5.136699 11.71   41.458   4.795151 17.42   60.891   6.453115 7.23   29.949   2.895239 10.03   41.616   3.672746 15.59   48.070   5.728880 9.94  ...
1. Write the statement that will display all of the information in the PetOwner table using...
1. Write the statement that will display all of the information in the PetOwner table using the asterisk (*) notation. 2. Write the statement that will display all of the information in the PetOwner table without using the asterisk (*) notation. 3. Write the statement that will display the first and last names of the owners in that order. 4. Write the statement to display the breed, type and DOB of all pets having a type of Cat. 5. Write...
Please show the Rstudio code used in markdown. thank you! 3. Hypothesis Testing on Two Proportions...
Please show the Rstudio code used in markdown. thank you! 3. Hypothesis Testing on Two Proportions The Organization for Economic Cooperation and Development (OECD) summarizes data on labor-force participation rates in a publication called OECD in Figures. Independent simple random samples were taken of 300 U.S. women and 250 Canadian women. Of the U.S. women, 215 were found to be in the labor force; of the Canadian women, 186 were found to be in the labor force. a) Compute the...
Please display the mathCAD calculations using MATHCAD. Solve the following using the MATHCAD application: (a) Find...
Please display the mathCAD calculations using MATHCAD. Solve the following using the MATHCAD application: (a) Find NC, NV and ni for intrinsic Cubic GaN at (i) 400 K, (ii) 200 K, and (iii) 50 K. (b) Find NC, NV and ni for intrinsic for 3C SiC at (i) 400 K, (ii) 200 K, and (iii) 50 K.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT